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

dt-bindings: interconnect: 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/20220818061653.9524-1-krzysztof.kozlowski@linaro.org
parent 66320b26
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -47,7 +47,8 @@ properties:
    maxItems: 1

  operating-points-v2: true
  opp-table: true
  opp-table:
    type: object

  fsl,ddrc:
    $ref: "/schemas/types.yaml#/definitions/phandle"
+2 −1
Original line number Diff line number Diff line
@@ -36,7 +36,8 @@ properties:
      - const: intermediate

  operating-points-v2: true
  opp-table: true
  opp-table:
    type: object

  proc-supply:
    description:
+2 −1
Original line number Diff line number Diff line
@@ -35,7 +35,8 @@ properties:
    maxItems: 1

  operating-points-v2: true
  opp-table: true
  opp-table:
    type: object

  reg:
    # BWMON v4 (currently described) and BWMON v5 use one register address