aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoey Gouly <[email protected]>2021-10-26 18:58:12 +0100
committerLinus Walleij <[email protected]>2021-10-27 00:16:36 +0200
commit69533cd3a1a9b155bdb151caf04bc176b5759696 (patch)
tree0125366e50aee67ae482684469c89aae1258139b
parent5853fd57d8933f0b667ed467fe30a086112af6c9 (diff)
dt-bindings: pinctrl: add #interrupt-cells to apple,pinctrl
The GPIO/pinctrl hardware can act as an interrupt-controller, so add the #interrupt-cells property to the binding. Signed-off-by: Joey Gouly <[email protected]> Reviewed-by: Sven Peter <[email protected]> Acked-by: Rob Herring <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Linus Walleij <[email protected]>
-rw-r--r--Documentation/devicetree/bindings/pinctrl/apple,pinctrl.yaml4
1 files changed, 4 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/pinctrl/apple,pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/apple,pinctrl.yaml
index d50571affd1f..0b3eb068fb12 100644
--- a/Documentation/devicetree/bindings/pinctrl/apple,pinctrl.yaml
+++ b/Documentation/devicetree/bindings/pinctrl/apple,pinctrl.yaml
@@ -43,6 +43,9 @@ properties:
interrupt-controller: true
+ '#interrupt-cells':
+ const: 2
+
patternProperties:
'-pins$':
type: object
@@ -88,6 +91,7 @@ examples:
gpio-ranges = <&pinctrl 0 0 212>;
interrupt-controller;
+ #interrupt-cells = <2>;
interrupt-parent = <&aic>;
interrupts = <AIC_IRQ 16 IRQ_TYPE_LEVEL_HIGH>,
<AIC_IRQ 17 IRQ_TYPE_LEVEL_HIGH>,