d0bc34c07fa9f8a98d076ba1b63d709ddd4ac01b
[openwrt/staging/ldir.git] /
1 From eb9e93937756a05787977875830c0dc482cb57e0 Mon Sep 17 00:00:00 2001
2 From: Ansuel Smith <ansuelsmth@gmail.com>
3 Date: Sat, 30 Apr 2022 07:51:17 +0200
4 Subject: [PATCH] ARM: dts: qcom: replace gcc PXO with pxo_board fixed clock
5
6 Replace gcc PXO phandle to pxo_board fixed clock declared in the dts.
7 gcc driver doesn't provide PXO_SRC as it's a fixed-clock. This cause a
8 kernel panic if any driver actually try to use it.
9
10 Fixes: 40cf5c884a96 ("ARM: dts: qcom: add L2CC and RPM for IPQ8064")
11 Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
12 Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
13 Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
14 Link: https://lore.kernel.org/r/20220430055118.1947-2-ansuelsmth@gmail.com
15 ---
16 arch/arm/boot/dts/qcom-ipq8064.dtsi | 2 +-
17 1 file changed, 1 insertion(+), 1 deletion(-)
18
19 --- a/arch/arm/boot/dts/qcom-ipq8064.dtsi
20 +++ b/arch/arm/boot/dts/qcom-ipq8064.dtsi
21 @@ -784,7 +784,7 @@
22 l2cc: clock-controller@2011000 {
23 compatible = "qcom,kpss-gcc", "syscon";
24 reg = <0x2011000 0x1000>;
25 - clocks = <&gcc PLL8_VOTE>, <&gcc PXO_SRC>;
26 + clocks = <&gcc PLL8_VOTE>, <&pxo_board>;
27 clock-names = "pll8_vote", "pxo";
28 clock-output-names = "acpu_l2_aux";
29 };