dt-bindings: arm/cpus: Add missing properties

The Arm CPU schema is missing a number of properties already in use.
This has gone unnoticed as extra properties have not been restricted.
Add a missing reference to cpu.yaml, and add all the missing properties.

As "clock-latency" and "voltage-tolerance" are related to opp-v1, add
those properties to the opp-v1.yaml schema.

With this, other properties can be prevented from creeping in with
'unevaluatedProperties: false'.

Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Reviewed-by: Sudeep Holla <sudeep.holla@arm.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Link: https://lore.kernel.org/r/20250410-dt-cpu-schema-v2-15-63d7dc9ddd0a@kernel.org
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
This commit is contained in:
Rob Herring (Arm)
2025-04-10 10:47:36 -05:00
parent f879ee2ce0
commit 80728bfa8c
2 changed files with 61 additions and 1 deletions

View File

@@ -299,6 +299,16 @@ properties:
where voltage is in V, frequency is in MHz.
interconnects:
minItems: 1
maxItems: 2
nvmem-cells:
maxItems: 1
nvmem-cell-names:
const: speed_grade
performance-domains:
maxItems: 1
@@ -317,6 +327,31 @@ properties:
corresponding to the index of an SCMI performance domain provider, must be
"perf".
resets:
maxItems: 1
arm-supply:
deprecated: true
description: Use 'cpu-supply' instead
cpu0-supply:
deprecated: true
description: Use 'cpu-supply' instead
mem-supply: true
proc-supply:
deprecated: true
description: Use 'cpu-supply' instead
sram-supply:
deprecated: true
description: Use 'mem-supply' instead
mediatek,cci:
$ref: /schemas/types.yaml#/definitions/phandle
description: Link to Mediatek Cache Coherent Interconnect
qcom,saw:
$ref: /schemas/types.yaml#/definitions/phandle
description:
@@ -327,6 +362,11 @@ properties:
description:
Specifies the ACC node associated with this CPU.
qcom,freq-domain:
description: Specifies the QCom CPUFREQ HW associated with the CPU.
$ref: /schemas/types.yaml#/definitions/phandle-array
maxItems: 1
rockchip,pmu:
$ref: /schemas/types.yaml#/definitions/phandle
description: >
@@ -352,7 +392,11 @@ properties:
formed by encoding the target CPU id into the low bits of the
physical start address it should jump to.
thermal-idle:
type: object
allOf:
- $ref: /schemas/cpu.yaml#
- $ref: /schemas/opp/opp-v1.yaml#
- if:
# If the enable-method property contains one of those values
@@ -417,7 +461,7 @@ required:
dependencies:
rockchip,pmu: [enable-method]
additionalProperties: true
unevaluatedProperties: false
examples:
- |