Commit e11c480b authored by Ulf Hansson's avatar Ulf Hansson Committed by Sudeep Holla

dt-bindings: firmware: arm,scmi: Extend bindings for protocol@13

The protocol@13 node is describing the performance scaling option for the
ARM SCMI interface, as a clock provider. This is unnecessary limiting, as
performance scaling is in many cases not limited to switching a clock's
frequency.

Therefore, let's extend the binding so the interface can be modelled as a
generic performance domain too. The common way to describe this, is to use
the power-domain DT bindings, so let's use that.

Cc: Rob Herring <robh+dt@kernel.org>
Cc: Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>
Cc: Conor Dooley <conor+dt@kernel.org>
Cc: devicetree@vger.kernel.org
Signed-off-by: default avatarUlf Hansson <ulf.hansson@linaro.org>
Reviewed-by: default avatarRob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20230825112633.236607-10-ulf.hansson@linaro.orgSigned-off-by: default avatarSudeep Holla <sudeep.holla@arm.com>
parent 6e429adc
...@@ -149,9 +149,16 @@ properties: ...@@ -149,9 +149,16 @@ properties:
'#clock-cells': '#clock-cells':
const: 1 const: 1
required: '#power-domain-cells':
const: 1
oneOf:
- required:
- '#clock-cells' - '#clock-cells'
- required:
- '#power-domain-cells'
protocol@14: protocol@14:
$ref: '#/$defs/protocol-node' $ref: '#/$defs/protocol-node'
unevaluatedProperties: false unevaluatedProperties: false
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment