diff mbox series

[3/4] dt-bindings: i2c: aspeed: Document interrupt controller properties

Message ID 20211217165658.2650677-3-thierry.reding@gmail.com
State New
Headers show
Series [v2,1/4] dt-bindings: i2c: tegra: Convert to json-schema | expand

Commit Message

Thierry Reding Dec. 17, 2021, 4:56 p.m. UTC
From: Thierry Reding <treding@nvidia.com>

Document the interrupt-controller and #interrupt-cells properties that
are used by some instances of the aspeed-i2c device tree nodes.

Signed-off-by: Thierry Reding <treding@nvidia.com>
---
 Documentation/devicetree/bindings/i2c/aspeed,i2c.yaml | 6 ++++++
 1 file changed, 6 insertions(+)

Comments

Rob Herring Dec. 17, 2021, 10:35 p.m. UTC | #1
On Fri, Dec 17, 2021 at 05:56:57PM +0100, Thierry Reding wrote:
> From: Thierry Reding <treding@nvidia.com>
> 
> Document the interrupt-controller and #interrupt-cells properties that
> are used by some instances of the aspeed-i2c device tree nodes.

I though you agreed with my patch removing "#interrupt-cells"? I thought 
the interrupt part was split to another node "aspeed,ast2500-i2c-ic".


> Signed-off-by: Thierry Reding <treding@nvidia.com>
> ---
>  Documentation/devicetree/bindings/i2c/aspeed,i2c.yaml | 6 ++++++
>  1 file changed, 6 insertions(+)
> 
> diff --git a/Documentation/devicetree/bindings/i2c/aspeed,i2c.yaml b/Documentation/devicetree/bindings/i2c/aspeed,i2c.yaml
> index f597f73ccd87..2a74551c72c0 100644
> --- a/Documentation/devicetree/bindings/i2c/aspeed,i2c.yaml
> +++ b/Documentation/devicetree/bindings/i2c/aspeed,i2c.yaml
> @@ -28,6 +28,12 @@ properties:
>    interrupts:
>      maxItems: 1
>  
> +  interrupt-controller:
> +    description: marks this device as being an interrupt provider
> +
> +  "#interrupt-cells":
> +    const: 1
> +
>    clocks:
>      maxItems: 1
>      description:
> -- 
> 2.34.1
> 
>
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/i2c/aspeed,i2c.yaml b/Documentation/devicetree/bindings/i2c/aspeed,i2c.yaml
index f597f73ccd87..2a74551c72c0 100644
--- a/Documentation/devicetree/bindings/i2c/aspeed,i2c.yaml
+++ b/Documentation/devicetree/bindings/i2c/aspeed,i2c.yaml
@@ -28,6 +28,12 @@  properties:
   interrupts:
     maxItems: 1
 
+  interrupt-controller:
+    description: marks this device as being an interrupt provider
+
+  "#interrupt-cells":
+    const: 1
+
   clocks:
     maxItems: 1
     description: