f853b5d2f245796f7c690a0572967b86bb15d462
[openwrt/staging/blogic.git] /
1 From aa7fd3bb6017b343585e97a909f9b7d2fe174018 Mon Sep 17 00:00:00 2001
2 From: Christian Marangi <ansuelsmth@gmail.com>
3 Date: Thu, 7 Jul 2022 00:53:19 +0200
4 Subject: [PATCH] ARM: dts: qcom: add rpmcc missing clocks for apq/ipq8064 and
5 msm8660
6
7 Add missing rpmcc pxo and cxo clock for apq8064, ipq8064 and
8 msm8660 dtsi.
9
10 Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
11 Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
12 Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
13 Link: https://lore.kernel.org/r/20220706225321.26215-3-ansuelsmth@gmail.com
14 ---
15 arch/arm/boot/dts/qcom-apq8064.dtsi | 2 ++
16 arch/arm/boot/dts/qcom-ipq8064.dtsi | 2 ++
17 arch/arm/boot/dts/qcom-msm8660.dtsi | 4 +++-
18 3 files changed, 7 insertions(+), 1 deletion(-)
19
20 --- a/arch/arm/boot/dts/qcom-apq8064.dtsi
21 +++ b/arch/arm/boot/dts/qcom-apq8064.dtsi
22 @@ -862,6 +862,8 @@
23 rpmcc: clock-controller {
24 compatible = "qcom,rpmcc-apq8064", "qcom,rpmcc";
25 #clock-cells = <1>;
26 + clocks = <&pxo_board>, <&cxo_board>;
27 + clock-names = "pxo", "cxo";
28 };
29
30 regulators {
31 --- a/arch/arm/boot/dts/qcom-ipq8064.dtsi
32 +++ b/arch/arm/boot/dts/qcom-ipq8064.dtsi
33 @@ -1074,6 +1074,8 @@
34 rpmcc: clock-controller {
35 compatible = "qcom,rpmcc-ipq806x", "qcom,rpmcc";
36 #clock-cells = <1>;
37 + clocks = <&pxo_board>;
38 + clock-names = "pxo";
39 };
40 };
41
42 --- a/arch/arm/boot/dts/qcom-msm8660.dtsi
43 +++ b/arch/arm/boot/dts/qcom-msm8660.dtsi
44 @@ -56,7 +56,7 @@
45 clock-frequency = <19200000>;
46 };
47
48 - pxo_board {
49 + pxo_board: pxo_board {
50 compatible = "fixed-clock";
51 #clock-cells = <0>;
52 clock-frequency = <27000000>;
53 @@ -420,6 +420,8 @@
54 rpmcc: clock-controller {
55 compatible = "qcom,rpmcc-msm8660", "qcom,rpmcc";
56 #clock-cells = <1>;
57 + clocks = <&pxo_board>;
58 + clock-names = "pxo";
59 };
60
61 pm8901-regulators {