From: Krzysztof Kozlowski Date: Tue, 20 Aug 2024 08:44:26 +0000 (+0200) Subject: dt-bindings: i2c: nvidia,tegra20-i2c: define power-domains top-level X-Git-Tag: v6.12-rc1~84^2^2~35 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=3a04293b14a120aa81e678b1b673c178cc5273f2;p=linux-block.git dt-bindings: i2c: nvidia,tegra20-i2c: define power-domains top-level Properties are expected to be defined in top-level "properties:" block and further customized in "if:then:". Only one variant has power domains, so add respective top-level property and disallow it for other devices. Signed-off-by: Krzysztof Kozlowski Acked-by: Conor Dooley Signed-off-by: Andi Shyti --- diff --git a/Documentation/devicetree/bindings/i2c/nvidia,tegra20-i2c.yaml b/Documentation/devicetree/bindings/i2c/nvidia,tegra20-i2c.yaml index eeaa07fe3875..b57ae6963e62 100644 --- a/Documentation/devicetree/bindings/i2c/nvidia,tegra20-i2c.yaml +++ b/Documentation/devicetree/bindings/i2c/nvidia,tegra20-i2c.yaml @@ -103,6 +103,9 @@ properties: items: - const: i2c + power-domains: + maxItems: 1 + dmas: items: - description: DMA channel for the reception FIFO @@ -162,6 +165,9 @@ allOf: power-domains: items: - description: phandle to the VENC power domain + else: + properties: + power-domains: false unevaluatedProperties: false