dt-bindings: display: msm/dp: restrict opp-table to objects
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Sun, 20 Aug 2023 08:05:43 +0000 (10:05 +0200)
committerRob Herring <robh@kernel.org>
Mon, 21 Aug 2023 22:09:57 +0000 (17:09 -0500)
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: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20230820080543.25204-1-krzysztof.kozlowski@linaro.org
Signed-off-by: Rob Herring <robh@kernel.org>
Documentation/devicetree/bindings/display/msm/dp-controller.yaml

index 7a7cf3f..a7bbaca 100644 (file)
@@ -79,7 +79,8 @@ properties:
 
   operating-points-v2: true
 
-  opp-table: true
+  opp-table:
+    type: object
 
   power-domains:
     maxItems: 1