Эх сурвалжийг харах

dt-bindings: pinctrl: Add gpio interrupt bindings for Actions S900 SoC

Add gpio interrupt bindings for Actions Semi S900 SoC.

Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Manivannan Sadhasivam 7 жил өмнө
parent
commit
e3bc2ebd92

+ 10 - 0
Documentation/devicetree/bindings/pinctrl/actions,s900-pinctrl.txt

@@ -19,6 +19,10 @@ Required Properties:
                     defines the interrupt number, the second encodes
                     defines the interrupt number, the second encodes
                     the trigger flags described in
                     the trigger flags described in
                     bindings/interrupt-controller/interrupts.txt
                     bindings/interrupt-controller/interrupts.txt
+- interrupts: The interrupt outputs from the controller. There is one GPIO
+              interrupt per GPIO bank. The number of interrupts listed depends
+              on the number of GPIO banks on the SoC. The interrupts must be
+              ordered by bank, starting with bank 0.
 
 
 Please refer to pinctrl-bindings.txt in this directory for details of the
 Please refer to pinctrl-bindings.txt in this directory for details of the
 common pinctrl bindings used by client devices, including the meaning of the
 common pinctrl bindings used by client devices, including the meaning of the
@@ -180,6 +184,12 @@ Example:
                   #gpio-cells = <2>;
                   #gpio-cells = <2>;
                   interrupt-controller;
                   interrupt-controller;
                   #interrupt-cells = <2>;
                   #interrupt-cells = <2>;
+                  interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>,
+                               <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>,
+                               <GIC_SPI 38 IRQ_TYPE_LEVEL_HIGH>,
+                               <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>,
+                               <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>,
+                               <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>;
 
 
                   uart2-default: uart2-default {
                   uart2-default: uart2-default {
                           pinmux {
                           pinmux {