summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/mfd/max8998.txt
diff options
context:
space:
mode:
authorVladimir Zapolskiy <vz@mleia.com>2018-11-29 01:48:41 +0300
committerLinus Walleij <linus.walleij@linaro.org>2018-12-07 12:52:51 +0300
commit5ddabfe8d3ded5dd5e760bf66ebb4241e5314e8d (patch)
tree039abd51c652734d32888dd8e68c86b96f4106bc /Documentation/devicetree/bindings/mfd/max8998.txt
parent985d8d5c76dcdc8f4c8ceea8fae71e4a45a0a200 (diff)
downloadlinux-5ddabfe8d3ded5dd5e760bf66ebb4241e5314e8d.tar.xz
gpio: lpc18xx: add GPIO pin interrupt controller support
The change adds support of LPC18xx/LPC43xx GPIO pin interrupt controller block within SoC GPIO controller. The new interrupt controller driver allows to configure and capture edge or level interrupts on 8 arbitrary selectedinput GPIO pins, and lift the signals to be reported as NVIC rising edge interrupts. Configuration of a particular GPIO pin to serve as interrupt and its mapping to an interrupt on NVIC is done by SCU pin controller, for more details see description of 'nxp,gpio-pin-interrupt' device tree property of a GPIO pin [1]. From LPC18xx and LPC43xx User Manuals the GPIO controller consists of the following blocks: * GPIO pin interrupt block at 0x40087000, this change adds its support, * GPIO GROUP0 interrupt block at 0x40088000, * GPIO GROUP1 interrupt block at 0x40089000, * GPIO port block at 0x400F4000, it is supported by the original driver. While all 4 sub-controller blocks have their own I/O addresses, moreover all 3 interrupt blocks are APB0 peripherals and high-speed GPIO block is an AHB slave, according to the hardware manual the GPIO controller is seen as a single block, and 4 sub-controllers have the shared reset signal RGU #28 and clock to register interface CLK_CPU_GPIO on CCU1. Likely support of two GPIO group interrupt blocks won't be added in short term, because the mechanism to mask several interrupt sources is not well defined. [1] Documentation/devicetree/bindings/pinctrl/nxp,lpc1850-scu.txt Signed-off-by: Vladimir Zapolskiy <vz@mleia.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'Documentation/devicetree/bindings/mfd/max8998.txt')
0 files changed, 0 insertions, 0 deletions