dt-bindings: arm: Add some constraints for PSCI nodes
There's no point allowing anything else but "psci" for the corresponding nodename of the PSCI node, so let's make this an explicit requirement. Moreover, let's also prevent additional properties, which also allows a better verification of the "patternProperties" bindings for subnodes. Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org> Signed-off-by: Rob Herring <robh@kernel.org>
This commit is contained in:
Родитель
1adc86798f
Коммит
b203bb5f62
|
@ -32,6 +32,9 @@ description: |+
|
||||||
http://infocenter.arm.com/help/topic/com.arm.doc.den0022c/DEN0022C_Power_State_Coordination_Interface.pdf
|
http://infocenter.arm.com/help/topic/com.arm.doc.den0022c/DEN0022C_Power_State_Coordination_Interface.pdf
|
||||||
|
|
||||||
properties:
|
properties:
|
||||||
|
$nodename:
|
||||||
|
const: psci
|
||||||
|
|
||||||
compatible:
|
compatible:
|
||||||
oneOf:
|
oneOf:
|
||||||
- description:
|
- description:
|
||||||
|
@ -141,6 +144,8 @@ allOf:
|
||||||
- cpu_off
|
- cpu_off
|
||||||
- cpu_on
|
- cpu_on
|
||||||
|
|
||||||
|
additionalProperties: false
|
||||||
|
|
||||||
examples:
|
examples:
|
||||||
- |+
|
- |+
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче