dt-bindings: i2c: aspeed: Drop stray '#interrupt-cells'
authorRob Herring <robh@kernel.org>
Mon, 6 Dec 2021 17:42:37 +0000 (11:42 -0600)
committerWolfram Sang <wsa@kernel.org>
Thu, 16 Dec 2021 21:26:32 +0000 (22:26 +0100)
'#interrupt-cells' is not documented which causes a warning when
'unevaluatedProperties' is implemented. Unless the I2C controller is
also an interrupt controller, '#interrupt-cells' is not valid. This
doesn't appear to be the case from the driver, so just remove it from
the example.

Signed-off-by: Rob Herring <robh@kernel.org>
Reviewed-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
Documentation/devicetree/bindings/i2c/aspeed,i2c.yaml

index ea643e6..f597f73 100644 (file)
@@ -63,7 +63,6 @@ examples:
     i2c0: i2c-bus@40 {
       #address-cells = <1>;
       #size-cells = <0>;
-      #interrupt-cells = <1>;
       compatible = "aspeed,ast2500-i2c-bus";
       reg = <0x40 0x40>;
       clocks = <&syscon ASPEED_CLK_APB>;