diff options
| author | Krzysztof Kozlowski <[email protected]> | 2024-08-20 10:44:24 +0200 |
|---|---|---|
| committer | Andi Shyti <[email protected]> | 2024-09-10 00:34:02 +0200 |
| commit | 13b09d0fe7b65d466f5df9689a0b8e3cea7babe6 (patch) | |
| tree | 63eb949576697ba0519b0ae4d05f193496561010 | |
| parent | 3e3c9bea659a48388a7444b6c2c41e967b263a24 (diff) | |
dt-bindings: i2c: nvidia,tegra20-i2c: combine same if:then: clauses
"if:then:" block for Tegra114 and Tegra120 I2C controllers has the same
"then" part (same clocks), so combine them.
Signed-off-by: Krzysztof Kozlowski <[email protected]>
Acked-by: Conor Dooley <[email protected]>
Signed-off-by: Andi Shyti <[email protected]>
| -rw-r--r-- | Documentation/devicetree/bindings/i2c/nvidia,tegra20-i2c.yaml | 15 |
1 files changed, 3 insertions, 12 deletions
diff --git a/Documentation/devicetree/bindings/i2c/nvidia,tegra20-i2c.yaml b/Documentation/devicetree/bindings/i2c/nvidia,tegra20-i2c.yaml index 92fbc1a2671a..5c92ef51287d 100644 --- a/Documentation/devicetree/bindings/i2c/nvidia,tegra20-i2c.yaml +++ b/Documentation/devicetree/bindings/i2c/nvidia,tegra20-i2c.yaml @@ -133,18 +133,9 @@ allOf: properties: compatible: contains: - const: nvidia,tegra114-i2c - then: - properties: - clock-names: - items: - - const: div-clk - - - if: - properties: - compatible: - contains: - const: nvidia,tegra210-i2c + enum: + - nvidia,tegra114-i2c + - nvidia,tegra210-i2c then: properties: clock-names: |