[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20211206174237.2298580-1-robh@kernel.org>
Date: Mon, 6 Dec 2021 11:42:37 -0600
From: Rob Herring <robh@...nel.org>
To: Brendan Higgins <brendanhiggins@...gle.com>,
Benjamin Herrenschmidt <benh@...nel.crashing.org>,
Joel Stanley <joel@....id.au>,
Andrew Jeffery <andrew@...id.au>,
Rayn Chen <rayn_chen@...eedtech.com>
Cc: devicetree@...r.kernel.org,
Thierry Reding <thierry.reding@...il.com>,
linux-i2c@...r.kernel.org, openbmc@...ts.ozlabs.org,
linux-arm-kernel@...ts.infradead.org,
linux-aspeed@...ts.ozlabs.org, linux-kernel@...r.kernel.org
Subject: [PATCH] dt-bindings: i2c: aspeed: Drop stray '#interrupt-cells'
'#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.
Cc: Brendan Higgins <brendanhiggins@...gle.com>
Cc: Benjamin Herrenschmidt <benh@...nel.crashing.org>
Cc: Joel Stanley <joel@....id.au>
Cc: Andrew Jeffery <andrew@...id.au>
Cc: Rayn Chen <rayn_chen@...eedtech.com>
Cc: linux-i2c@...r.kernel.org
Cc: openbmc@...ts.ozlabs.org
Cc: linux-arm-kernel@...ts.infradead.org
Cc: linux-aspeed@...ts.ozlabs.org
Signed-off-by: Rob Herring <robh@...nel.org>
---
Documentation/devicetree/bindings/i2c/aspeed,i2c.yaml | 1 -
1 file changed, 1 deletion(-)
diff --git a/Documentation/devicetree/bindings/i2c/aspeed,i2c.yaml b/Documentation/devicetree/bindings/i2c/aspeed,i2c.yaml
index ea643e6c3ef5..f597f73ccd87 100644
--- a/Documentation/devicetree/bindings/i2c/aspeed,i2c.yaml
+++ b/Documentation/devicetree/bindings/i2c/aspeed,i2c.yaml
@@ -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>;
--
2.32.0
Powered by blists - more mailing lists