summaryrefslogtreecommitdiffstats
path: root/drivers/pinctrl/nomadik/pinctrl-nomadik-db8500.c
diff options
context:
space:
mode:
authorMaxime Ripard <maxime.ripard@free-electrons.com>2015-07-27 14:41:57 +0200
committerLinus Walleij <linus.walleij@linaro.org>2015-07-27 14:56:30 +0200
commitd8323c6b03533ac870fb665277e6dad7ebf7e4d3 (patch)
treedbcc13c86798dd0c310094179f3cc0658fd53f5d /drivers/pinctrl/nomadik/pinctrl-nomadik-db8500.c
parente324957096dbf5bbf1491231c9912c3f5d0bc216 (diff)
downloadop-kernel-dev-d8323c6b03533ac870fb665277e6dad7ebf7e4d3.zip
op-kernel-dev-d8323c6b03533ac870fb665277e6dad7ebf7e4d3.tar.gz
pinctrl: sunxi: Add custom irq_domain_ops
The current interrupt parsing code was working by accident, because the default was actually parsing the first node of interrupts. While that was mostly working (and the flags were actually ignored), this binding has never been documented, and doesn't work with SoCs that have multiple interrupt banks anyway. Add a proper interrupt xlate function, that uses the same description than the GPIOs (<bank> <pin> <flags>), that will make things less confusing. The EINT number will still be used as the hwirq number, but won't be exposed through the DT. Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> Reviewed-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/nomadik/pinctrl-nomadik-db8500.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud