Commit 13b09d0f authored by Krzysztof Kozlowski's avatar Krzysztof Kozlowski Committed by Andi Shyti

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: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Acked-by: default avatarConor Dooley <conor.dooley@microchip.com>
Signed-off-by: default avatarAndi Shyti <andi.shyti@kernel.org>
parent 3e3c9bea
...@@ -133,18 +133,9 @@ allOf: ...@@ -133,18 +133,9 @@ allOf:
properties: properties:
compatible: compatible:
contains: contains:
const: nvidia,tegra114-i2c enum:
then: - nvidia,tegra114-i2c
properties: - nvidia,tegra210-i2c
clock-names:
items:
- const: div-clk
- if:
properties:
compatible:
contains:
const: nvidia,tegra210-i2c
then: then:
properties: properties:
clock-names: clock-names:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment