Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: Reference opp-v1 schema in CPU schemas

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>

+4 -2
+1
Documentation/devicetree/bindings/arm/cpus.yaml
··· 353 353 physical start address it should jump to. 354 354 355 355 allOf: 356 + - $ref: /schemas/opp/opp-v1.yaml# 356 357 - if: 357 358 # If the enable-method property contains one of those values 358 359 properties:
+2 -1
Documentation/devicetree/bindings/mips/cpus.yaml
··· 50 50 device_type: true 51 51 52 52 allOf: 53 + - $ref: /schemas/opp/opp-v1.yaml# 53 54 - if: 54 55 properties: 55 56 compatible: ··· 69 68 - compatible 70 69 - reg 71 70 72 - additionalProperties: false 71 + unevaluatedProperties: false 73 72 74 73 examples: 75 74 - |
+1 -1
Documentation/devicetree/bindings/opp/opp-v1.yaml
··· 18 18 19 19 This binding only supports voltage-frequency pairs. 20 20 21 - select: true 21 + deprecated: true 22 22 23 23 properties: 24 24 operating-points: