Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

arm: dts: qcom: Add #power-domain-cells property

clock controller nodes which also support power domains (gdscs') need
to have a #power-domain-cells property. Add these for gcc and mmcc
nodes of msm8974, gcc of apq8084 and msm8916.
Also update gcc and mmcc bindings for it.

Signed-off-by: Rajendra Nayak <rnayak@codeaurora.org>
Acked-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Andy Gross <agross@codeaurora.org>

authored by

Rajendra Nayak and committed by
Andy Gross
89c7e671 8eb84480

+12
+4
Documentation/devicetree/bindings/clock/qcom,gcc.txt
··· 18 18 - #clock-cells : shall contain 1 19 19 - #reset-cells : shall contain 1 20 20 21 + Optional properties : 22 + - #power-domain-cells : shall contain 1 23 + 21 24 Example: 22 25 clock-controller@900000 { 23 26 compatible = "qcom,gcc-msm8960"; 24 27 reg = <0x900000 0x4000>; 25 28 #clock-cells = <1>; 26 29 #reset-cells = <1>; 30 + #power-domain-cells = <1>; 27 31 };
+4
Documentation/devicetree/bindings/clock/qcom,mmcc.txt
··· 14 14 - #clock-cells : shall contain 1 15 15 - #reset-cells : shall contain 1 16 16 17 + Optional properties : 18 + - #power-domain-cells : shall contain 1 19 + 17 20 Example: 18 21 clock-controller@4000000 { 19 22 compatible = "qcom,mmcc-msm8960"; 20 23 reg = <0x4000000 0x1000>; 21 24 #clock-cells = <1>; 22 25 #reset-cells = <1>; 26 + #power-domain-cells = <1>; 23 27 };
+1
arch/arm/boot/dts/qcom-apq8084.dtsi
··· 221 221 compatible = "qcom,gcc-apq8084"; 222 222 #clock-cells = <1>; 223 223 #reset-cells = <1>; 224 + #power-domain-cells = <1>; 224 225 reg = <0xfc400000 0x4000>; 225 226 }; 226 227
+2
arch/arm/boot/dts/qcom-msm8974.dtsi
··· 233 233 compatible = "qcom,gcc-msm8974"; 234 234 #clock-cells = <1>; 235 235 #reset-cells = <1>; 236 + #power-domain-cells = <1>; 236 237 reg = <0xfc400000 0x4000>; 237 238 }; 238 239 ··· 246 245 compatible = "qcom,mmcc-msm8974"; 247 246 #clock-cells = <1>; 248 247 #reset-cells = <1>; 248 + #power-domain-cells = <1>; 249 249 reg = <0xfd8c0000 0x6000>; 250 250 }; 251 251
+1
arch/arm64/boot/dts/qcom/msm8916.dtsi
··· 99 99 compatible = "qcom,gcc-msm8916"; 100 100 #clock-cells = <1>; 101 101 #reset-cells = <1>; 102 + #power-domain-cells = <1>; 102 103 reg = <0x1800000 0x80000>; 103 104 }; 104 105