diff options
author | Maxime Ripard <maxime.ripard@free-electrons.com> | 2015-07-27 14:41:57 +0200 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2015-07-27 14:56:30 +0200 |
commit | d8323c6b03533ac870fb665277e6dad7ebf7e4d3 (patch) | |
tree | dbcc13c86798dd0c310094179f3cc0658fd53f5d /drivers/pinctrl/nomadik/pinctrl-nomadik-db8540.c | |
parent | e324957096dbf5bbf1491231c9912c3f5d0bc216 (diff) |
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-db8540.c')
0 files changed, 0 insertions, 0 deletions