]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
dt-bindings: Reference opp-v1 schema in CPU schemas
authorRob Herring (Arm) <robh@kernel.org>
Thu, 10 Apr 2025 15:47:35 +0000 (10:47 -0500)
committerRob Herring (Arm) <robh@kernel.org>
Tue, 22 Apr 2025 14:40:07 +0000 (09:40 -0500)
The opp-v1 binding is only used in MIPS and arm32 CPU nodes, so add a
$ref to it in the CPU schemas and drop the "select".

As opp-v1 has long been deprecated, mark it as such.

Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Reviewed-by: Sudeep Holla <sudeep.holla@arm.com>
Link: https://lore.kernel.org/r/20250410-dt-cpu-schema-v2-14-63d7dc9ddd0a@kernel.org
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
Documentation/devicetree/bindings/arm/cpus.yaml
Documentation/devicetree/bindings/mips/cpus.yaml
Documentation/devicetree/bindings/opp/opp-v1.yaml

index 423f0792b030765474239be3f710cd7784ccf9a1..042fe0cb4a12cc4da6266b0d20e3e1c69afffcd2 100644 (file)
@@ -353,6 +353,7 @@ properties:
       physical start address it should jump to.
 
 allOf:
+  - $ref: /schemas/opp/opp-v1.yaml#
   - if:
       # If the enable-method property contains one of those values
       properties:
index a85137add66894cad5a36d27afaa3e134c7b618d..471373ad0cfb6155ca89d2e8ddbc18e7d5c9cc98 100644 (file)
@@ -50,6 +50,7 @@ properties:
   device_type: true
 
 allOf:
+  - $ref: /schemas/opp/opp-v1.yaml#
   - if:
       properties:
         compatible:
@@ -68,7 +69,7 @@ required:
   - compatible
   - reg
 
-additionalProperties: false
+unevaluatedProperties: false
 
 examples:
   - |
index 07e26c26781535f9212de068b2c7526147b89b14..1b59b103dab62e61f6030c0981ee17bc05d874ed 100644 (file)
@@ -18,7 +18,7 @@ description: |+
 
   This binding only supports voltage-frequency pairs.
 
-select: true
+deprecated: true
 
 properties:
   operating-points: