Commit 3a04293b authored by Krzysztof Kozlowski's avatar Krzysztof Kozlowski Committed by Andi Shyti
Browse files

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: 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 6d88bb79
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -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