pinctrl: lpc18xx: add nxp,gpio-pin-interrupt property
commit81825b111d316ee0297cd4ab86cd59694dc91e70
authorJoachim Eastwood <manabian@gmail.com>
Thu, 25 Feb 2016 21:44:38 +0000 (25 22:44 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 7 Mar 2016 03:44:30 +0000 (7 10:44 +0700)
tree30ddcd7b049a25e13045e2809c1de48a6f5b1951
parentb18537cd8ec2e5280ba19d24ea8812b80e5b3208
pinctrl: lpc18xx: add nxp,gpio-pin-interrupt property

Add support for setting up GPIO pin interrupts in the lpc18xx pinctrl
driver. The LPC18xx SCU contain two registers that sets up the signal
routing to the GPIO pin interrupt (PINT) block. The routing uses the
GPIO namespace and not the pin namespace so a lookup is preformed on
the pin.

Routing configuration is done in the device tree by using the new
nxp,gpio-pin-interrupt property. This property takes single parameter
which sets the PINT hwirq for the GPIO.

Signed-off-by: Joachim Eastwood <manabian@gmail.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/pinctrl-lpc18xx.c