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

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
...@@ -47,7 +47,8 @@ properties: ...@@ -47,7 +47,8 @@ properties:
maxItems: 1 maxItems: 1
operating-points-v2: true operating-points-v2: true
opp-table: true opp-table:
type: object
fsl,ddrc: fsl,ddrc:
$ref: "/schemas/types.yaml#/definitions/phandle" $ref: "/schemas/types.yaml#/definitions/phandle"
......
...@@ -36,7 +36,8 @@ properties: ...@@ -36,7 +36,8 @@ properties:
- const: intermediate - const: intermediate
operating-points-v2: true operating-points-v2: true
opp-table: true opp-table:
type: object
proc-supply: proc-supply:
description: description:
......
...@@ -35,7 +35,8 @@ properties: ...@@ -35,7 +35,8 @@ properties:
maxItems: 1 maxItems: 1
operating-points-v2: true operating-points-v2: true
opp-table: true opp-table:
type: object
reg: reg:
# BWMON v4 (currently described) and BWMON v5 use one register address # BWMON v4 (currently described) and BWMON v5 use one register address
......
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