]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
dt-bindings: interconnect: restrict opp-table to objects
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Thu, 18 Aug 2022 06:16:53 +0000 (09:16 +0300)
committerRob Herring <robh@kernel.org>
Mon, 22 Aug 2022 18:03:54 +0000 (13:03 -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>
Signed-off-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20220818061653.9524-1-krzysztof.kozlowski@linaro.org
Documentation/devicetree/bindings/interconnect/fsl,imx8m-noc.yaml
Documentation/devicetree/bindings/interconnect/mediatek,cci.yaml
Documentation/devicetree/bindings/interconnect/qcom,msm8998-bwmon.yaml

index 09c8948b5e251ee2d1983d378f31e00e77f8d084..7d8d0896e9793a5e8aa64044f963156d6887d75b 100644 (file)
@@ -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"
index 449c7c9882296a7ac3d3e21856029e473ec69b17..58611ba2a0f440b25aa8aa37c36ca339eecbbc85 100644 (file)
@@ -36,7 +36,8 @@ properties:
       - const: intermediate
 
   operating-points-v2: true
-  opp-table: true
+  opp-table:
+    type: object
 
   proc-supply:
     description:
index c2e697f6e6cf8186a7b9cc2e640132182a7a48b0..a4743386c4c1f6e2c022f760617a46dd0df5defc 100644 (file)
@@ -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