dt-bindings: arm: Convert PSCI binding to json-schema
Subsystems (4)
Rob Herring
maintainerPATCH 1/1 dt-bindings: arm: Convert PSCI binding to json-schema
Convert the PSCI binding to use DT schema format.
Cc Lorenzo Pieralisi <[email protected]>
Cc Will Deacon <[email protected]>
Signed-off-by Rob Herring <[email protected]>
---
Note that I didn't make cpu_suspend required for arm,psci as some platforms didn't have that and the spec isn't clear if optional or required. One board (artpec6-devboard.dts) also doesn't implement cpu_off.
There's also 1 board (mt8173-evb.dts) that claims 0.1, 0.2, and 1.0 compatibility. I guess that's valid, but not really clear in the binding doc. If we want to just allow any combination of versions, the schema for compatible could be simplified a bit.
Documentation/arm64/booting.txt | 2 +- .../devicetree/bindings/arm/arm-boards | 2 +- .../devicetree/bindings/arm/idle-states.txt | 2 +- .../devicetree/bindings/arm/psci.txt | 111 ------------ .../devicetree/bindings/arm/psci.yaml | 163 ++++++++++++++++++ .../translations/zh_CN/arm64/booting.txt | 2 +- 6 files changed, 167 insertions(+), 115 deletions(-) delete mode 100644 Documentation/devicetree/bindings/arm/psci.txt create mode 100644 Documentation/devicetree/bindings/arm/psci.yaml
Documentation/arm64/booting.txt +1 -1
@@ -257,7 +257,7 @@ following manner: processors") to bring CPUs into the kernel. The device tree should contain a 'psci' node, as described in - Documentation/devicetree/bindings/arm/psci.txt. + Documentation/devicetree/bindings/arm/psci.yaml. - Secondary CPU general-purpose register settings x0 = 0 (reserved for future use)
Documentation/devicetree/bindings/arm/arm-boards +1 -1
@@ -197,7 +197,7 @@ Required nodes: The description for the board must include: - a "psci" node describing the boot method used for the secondary CPUs. A detailed description of the bindings used for "psci" nodes is present - in the psci.txt file. + in the psci.yaml file. - a "cpus" node describing the available cores and their associated "enable-method"s. For more details see cpus.txt file.
Documentation/devicetree/bindings/arm/idle-states.txt +1 -1
@@ -691,7 +691,7 @@ cpus { Documentation/devicetree/bindings/arm/cpus.yaml [2] ARM Linux Kernel documentation - PSCI bindings - Documentation/devicetree/bindings/arm/psci.txt + Documentation/devicetree/bindings/arm/psci.yaml [3] ARM Server Base System Architecture (SBSA) http://infocenter.arm.com/help/index.jsp
Documentation/devicetree/bindings/arm/psci.txt deleted +0 -111
111 lines not on this page · raw message
Documentation/devicetree/bindings/arm/psci.yaml new file +163 -0
163 lines not on this page · raw message
Documentation/translations/zh_CN/arm64/booting.txt +1 -1
@@ -236,7 +236,7 @@ AArch64 内核当前没有提供自解压代码,因此如果使用了压缩内 *译者注: ARM DEN 0022A 已更新到 ARM DEN 0022C。 设备树必须包含一个 ‘psci’ 节点,请参考以下文档: - Documentation/devicetree/bindings/arm/psci.txt + Documentation/devicetree/bindings/arm/psci.yaml - 辅助 CPU 通用寄存器设置
Signature · 1 line
2.20.1