dt-bindings: arm: cpus: Document pu-supply
PATCH 1/1 dt-bindings: arm: cpus: Document pu-supply
The i.MX6Q/DL/SL devicetrees use the 'pu-supply' property to describe the regulator connected to the PU domain.
Document the 'pu-supply' property and set it to deprecated.
This fixes the following dt-schema warning:
cpu@1 (arm,cortex-a9): Unevaluated properties are not allowed ('pu-supply' was unexpected)
--- Documentation/devicetree/bindings/arm/cpus.yaml | 4 ++++ 1 file changed, 4 insertions(+)
Documentation/devicetree/bindings/arm/cpus.yaml +4 -0
@@ -350,6 +350,10 @@ properties: deprecated: true description: Use 'cpu-supply' instead + pu-supply: + deprecated: true + description: Only for i.MX6Q/DL/SL SoCs. + soc-supply: deprecated: true description: Only for i.MX6/7 Soc.
Signature · 1 line
2.34.1
Quoted 4 lines · Fabio Estevam
The i.MX6Q/DL/SL devicetrees use the 'pu-supply' property to describe the regulator connected to the PU domain.
Document the 'pu-supply' property and set it to deprecated.
This awfully looks like typo of cpu-supply, so I don't get why you just cannot fix the DTS?
Best regards,
Krzysztof
Quoted 2 lines · Krzysztof Kozlowski
This awfully looks like typo of cpu-supply, so I don't get why you just cannot fix the DTS?
It is not a typo.
The i.MX6Q Reference Manual does reference it as PU:
"10.4.1.1.1
Digital LDO Regulators
The integrated PMU includes three digital LDO regulators: LDO_ARM, LDO_PU, and LDO_SOC. These regulators provide power to the ARM_Core power domain, the combined VPU, IPU and GPU power domain, and the rest of the SoC logic (except always-ON SNVS domain)."
The imx6dl.dtsi uses the correct names:
arm-supply = <®_arm>;
pu-supply = <®_pu>;
soc-supply = <®_soc>;
Quoted 7 lines · Fabio Estevam
Quoted 2 lines · Krzysztof Kozlowski
This awfully looks like typo of cpu-supply, so I don't get why you just cannot fix the DTS?
It is not a typo.
Quoted 8 lines
The i.MX6Q Reference Manual does reference it as PU:
"10.4.1.1.1
Digital LDO Regulators
The integrated PMU includes three digital LDO regulators:LDO_ARM,LDO_PU, andLDO_SOC. These regulators provide power to theARM_Corepower domain, the combined VPU, IPU and GPU power domain, and the rest of the SoC logic (except always-ON SNVS domain)."
Then please mention this in the commit msg.
Best regards,
Krzysztof