diff mbox series

[v3,2/5] dt-bindings: pinctrl: add #interrupt-cells to apple,pinctrl

Message ID 20211016141839.45460-3-joey.gouly@arm.com
State New
Headers show
Series pinctrl/GPIO driver for Apple SoCs | expand

Commit Message

Joey Gouly Oct. 16, 2021, 2:18 p.m. UTC
The GPIO/pinctrl hardware can act as an interrupt-controller, so add
the #interrupt-cells property to the binding.

Signed-off-by: Joey Gouly <joey.gouly@arm.com>
---
 Documentation/devicetree/bindings/pinctrl/apple,pinctrl.yaml | 3 +++
 1 file changed, 3 insertions(+)

Comments

Sven Peter Oct. 17, 2021, 10:20 a.m. UTC | #1
On Sat, Oct 16, 2021, at 16:18, Joey Gouly wrote:
> The GPIO/pinctrl hardware can act as an interrupt-controller, so add
> the #interrupt-cells property to the binding.
>
> Signed-off-by: Joey Gouly <joey.gouly@arm.com>
> ---
>  Documentation/devicetree/bindings/pinctrl/apple,pinctrl.yaml | 3 +++
>  1 file changed, 3 insertions(+)
>
> diff --git 
> a/Documentation/devicetree/bindings/pinctrl/apple,pinctrl.yaml 
> b/Documentation/devicetree/bindings/pinctrl/apple,pinctrl.yaml
> index d50571affd1f..340be4eabf44 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
> +

thanks for adding this! small nit: could you also add it to the example below?

Reviewed-by: Sven Peter <sven@svenpeter.dev>


Thanks,

Sven
Rob Herring Oct. 18, 2021, 7:30 p.m. UTC | #2
On Sat, 16 Oct 2021 15:18:36 +0100, Joey Gouly wrote:
> The GPIO/pinctrl hardware can act as an interrupt-controller, so add
> the #interrupt-cells property to the binding.
> 
> Signed-off-by: Joey Gouly <joey.gouly@arm.com>
> ---
>  Documentation/devicetree/bindings/pinctrl/apple,pinctrl.yaml | 3 +++
>  1 file changed, 3 insertions(+)
> 

Acked-by: Rob Herring <robh@kernel.org>
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/pinctrl/apple,pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/apple,pinctrl.yaml
index d50571affd1f..340be4eabf44 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