dt-bindings: drop type for operating-points-v2
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Thu, 19 Jan 2023 13:10:33 +0000 (14:10 +0100)
committerRob Herring <robh@kernel.org>
Mon, 23 Jan 2023 23:13:28 +0000 (17:13 -0600)
The type for operating-points-v2 property is coming from dtschema
(/schemas/opp/opp.yaml), so individual bindings can just use simple
"true".

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20230119131033.117324-1-krzysztof.kozlowski@linaro.org
Signed-off-by: Rob Herring <robh@kernel.org>
15 files changed:
Documentation/devicetree/bindings/display/msm/dp-controller.yaml
Documentation/devicetree/bindings/display/tegra/nvidia,tegra20-dc.yaml
Documentation/devicetree/bindings/display/tegra/nvidia,tegra20-dsi.yaml
Documentation/devicetree/bindings/display/tegra/nvidia,tegra20-epp.yaml
Documentation/devicetree/bindings/display/tegra/nvidia,tegra20-gr2d.yaml
Documentation/devicetree/bindings/display/tegra/nvidia,tegra20-gr3d.yaml
Documentation/devicetree/bindings/display/tegra/nvidia,tegra20-hdmi.yaml
Documentation/devicetree/bindings/display/tegra/nvidia,tegra20-host1x.yaml
Documentation/devicetree/bindings/display/tegra/nvidia,tegra20-mpe.yaml
Documentation/devicetree/bindings/display/tegra/nvidia,tegra20-tvo.yaml
Documentation/devicetree/bindings/display/tegra/nvidia,tegra20-vi.yaml
Documentation/devicetree/bindings/fuse/nvidia,tegra20-fuse.yaml
Documentation/devicetree/bindings/mmc/nvidia,tegra20-sdhci.yaml
Documentation/devicetree/bindings/power/power-domain.yaml
Documentation/devicetree/bindings/pwm/nvidia,tegra20-pwm.yaml

index f2515af8256f0f9734a54efc46d9c4c3586a719a..9db39fb1cfd770cda6e3508f7af0ac06a15513f0 100644 (file)
@@ -68,8 +68,7 @@ properties:
     items:
       - const: dp
 
-  operating-points-v2:
-    maxItems: 1
+  operating-points-v2: true
 
   opp-table: true
 
index 6eedee503aa0fb45a8027f7b42fc608203b290a0..69be95afd56277b6f12053143a1a41436186915b 100644 (file)
@@ -59,8 +59,7 @@ properties:
   iommus:
     maxItems: 1
 
-  operating-points-v2:
-    $ref: "/schemas/types.yaml#/definitions/phandle"
+  operating-points-v2: true
 
   power-domains:
     items:
index 75546f250ad7d99d30f72f6cf9050263c80ad309..511cbe74e72925e233d76867a631ac142f547406 100644 (file)
@@ -47,8 +47,7 @@ properties:
     items:
       - const: dsi
 
-  operating-points-v2:
-    $ref: "/schemas/types.yaml#/definitions/phandle"
+  operating-points-v2: true
 
   power-domains:
     maxItems: 1
index 0d55e6206b5e2bdef41a78022445f67ddb379c18..3c095a5491fec83cbcc3217660561699c1722a37 100644 (file)
@@ -46,8 +46,7 @@ properties:
   interconnect-names:
     maxItems: 4
 
-  operating-points-v2:
-    $ref: "/schemas/types.yaml#/definitions/phandle"
+  operating-points-v2: true
 
   power-domains:
     items:
index bf38accd98eb594d8434763d88ee48b732c13e49..1026b0bc3dc8fa3d7e221b4cc359b929e392822f 100644 (file)
@@ -49,8 +49,7 @@ properties:
   interconnect-names:
     maxItems: 4
 
-  operating-points-v2:
-    $ref: "/schemas/types.yaml#/definitions/phandle"
+  operating-points-v2: true
 
   power-domains:
     items:
index 4755a73473c74c18dd8a503b412aa5012e253c04..59a52e732ca3f61a7b1fbf5e9fbe2e1a52a1317b 100644 (file)
@@ -51,8 +51,7 @@ properties:
     minItems: 4
     maxItems: 10
 
-  operating-points-v2:
-    $ref: "/schemas/types.yaml#/definitions/phandle"
+  operating-points-v2: true
 
   power-domains:
     minItems: 1
index 035b9f1f2eb52400fe197625d57439e54d9adcae..f65e59cfffa7233299c985c4120f8006eed55b96 100644 (file)
@@ -50,8 +50,7 @@ properties:
     items:
       - const: hdmi
 
-  operating-points-v2:
-    $ref: "/schemas/types.yaml#/definitions/phandle"
+  operating-points-v2: true
 
   power-domains:
     items:
index 913ca104c871d0325f4dbca740d96756a5503ac9..94c5242c03b288da8aeb37c8c4b1ddf94d814564 100644 (file)
@@ -90,8 +90,7 @@ properties:
     items:
       - const: dma-mem # read
 
-  operating-points-v2:
-    $ref: "/schemas/types.yaml#/definitions/phandle"
+  operating-points-v2: true
 
   power-domains:
     items:
index 5f4f0fb4b69293bbe16bbca6c737fe620226ceb1..2cd3e60cd0a8b062438c8a68ca59af89a82e3589 100644 (file)
@@ -47,8 +47,7 @@ properties:
   interconnect-names:
     maxItems: 6
 
-  operating-points-v2:
-    $ref: "/schemas/types.yaml#/definitions/phandle"
+  operating-points-v2: true
 
   power-domains:
     items:
index 467b015e5700767e95b4d2598abf49eff8da1ebf..6c84d8b7eb7b4205690a7beb6d6dd7c6fa6879a6 100644 (file)
@@ -30,8 +30,7 @@ properties:
     items:
       - description: module clock
 
-  operating-points-v2:
-    $ref: "/schemas/types.yaml#/definitions/phandle"
+  operating-points-v2: true
 
   power-domains:
     items:
index 782a4b10150a6edf946db4c722e962f969818aa0..a42bf33d1e7da1050002ca8727d48426bd628957 100644 (file)
@@ -55,8 +55,7 @@ properties:
     minItems: 4
     maxItems: 5
 
-  operating-points-v2:
-    $ref: "/schemas/types.yaml#/definitions/phandle"
+  operating-points-v2: true
 
   power-domains:
     items:
index 481901269872207ccda4205e8aa4cfb63fd79e54..02f0b04623776d2fa60d71c442722d37be015910 100644 (file)
@@ -44,8 +44,7 @@ properties:
     items:
       - const: fuse
 
-  operating-points-v2:
-    $ref: "/schemas/types.yaml#/definitions/phandle"
+  operating-points-v2: true
 
   power-domains:
     items:
index fe0270207622dc21d36bcdbe70fea1ea60acd52b..fda0b45ee5770ef72234725280e98e650a39fffa 100644 (file)
@@ -82,8 +82,7 @@ properties:
   iommus:
     maxItems: 1
 
-  operating-points-v2:
-    $ref: "/schemas/types.yaml#/definitions/phandle"
+  operating-points-v2: true
 
   power-domains:
     items:
index 889091b9814f0b941f5434a6d479e23bc80201e3..d1235e5620418c5c14ca720e62fd403e1621f245 100644 (file)
@@ -43,9 +43,6 @@ properties:
       domain would be considered as capable of being powered-on or powered-off.
 
   operating-points-v2:
-    $ref: /schemas/types.yaml#/definitions/phandle-array
-    items:
-      maxItems: 1
     description:
       Phandles to the OPP tables of power domains provided by a power domain
       provider. If the provider provides a single power domain only or all
index 739d3155dd3289c947a2766e6f49df8649a04416..41cea4979132f9ed9a983dfd1c6c85727dbfe9a0 100644 (file)
@@ -63,8 +63,7 @@ properties:
   pinctrl-1:
     description: configuration for the sleep state
 
-  operating-points-v2:
-    $ref: /schemas/types.yaml#/definitions/phandle
+  operating-points-v2: true
 
   power-domains:
     items: