Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: pinctrl: pinctrl-microchip-sgpio: Add irq support

This describe the new bindings for the added IRQ support in the
pinctrl-microchip-sgpio driver.

Signed-off-by: Lars Povlsen <lars.povlsen@microchip.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20201209142753.683208-3-lars.povlsen@microchip.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>

authored by

Lars Povlsen and committed by
Linus Walleij
01a9350b be2dc859

+16
+16
Documentation/devicetree/bindings/pinctrl/microchip,sparx5-sgpio.yaml
··· 91 91 controlled indirectly by the "ngpios" property: (ngpios/32). 92 92 const: 3 93 93 94 + interrupts: 95 + description: Specifies the sgpio IRQ (in parent controller) 96 + maxItems: 1 97 + 98 + interrupt-controller: true 99 + 100 + '#interrupt-cells': 101 + description: 102 + Specifies the pin (port and bit) and flags, as defined in 103 + defined in include/dt-bindings/interrupt-controller/irq.h 104 + const: 3 105 + 94 106 ngpios: 95 107 description: The numbers of GPIO's exposed. This must be a 96 108 multiple of 32. ··· 130 118 131 119 examples: 132 120 - | 121 + #include <dt-bindings/interrupt-controller/arm-gic.h> 133 122 sgpio2: gpio@1101059c { 134 123 #address-cells = <1>; 135 124 #size-cells = <0>; ··· 147 134 gpio-controller; 148 135 #gpio-cells = <3>; 149 136 ngpios = <96>; 137 + interrupts = <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>; 138 + interrupt-controller; 139 + #interrupt-cells = <3>; 150 140 }; 151 141 sgpio_out2: gpio@1 { 152 142 compatible = "microchip,sparx5-sgpio-bank";