Commit c8fa60b2 authored by Krzysztof Kozlowski's avatar Krzysztof Kozlowski Committed by Rob Herring
Browse files

dt-bindings: gpu: arm,mali: restrict opp-table to objects



Simple 'opp-table:true' accepts a boolean property as opp-table, so
restrict it to object to properly enforce real OPP table nodes.

Signed-off-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: default avatarRob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20220818061713.9611-1-krzysztof.kozlowski@linaro.org
parent c8973737
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -74,7 +74,8 @@ properties:
      - const: bus

  mali-supply: true
  opp-table: true
  opp-table:
    type: object

  power-domains:
    maxItems: 1
+2 −1
Original line number Diff line number Diff line
@@ -101,7 +101,8 @@ properties:

  mali-supply: true

  opp-table: true
  opp-table:
    type: object

  power-domains:
    maxItems: 1