arm64: dts: qcom: msm8996: Make CPUCC actually probe (and work)
authorKonrad Dybcio <konrad.dybcio@somainline.org>
Thu, 27 May 2021 19:29:58 +0000 (21:29 +0200)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Mon, 31 May 2021 17:12:10 +0000 (12:12 -0500)
Fix the compatible to make the driver probe and tell the
driver where to look for the "xo" clock to make sure everything
works.

Then we get a happy (eh, happier) 8996:

somainline-sdcard:/home/konrad# cat /sys/kernel/debug/clk/pwrcl_pll/clk_rate
1152000000

Don't backport without "arm64: dts: qcom: msm8996: Add CPU opps", as
the system fails to boot without consumers for these clocks.

Signed-off-by: Konrad Dybcio <konrad.dybcio@somainline.org>
Link: https://lore.kernel.org/r/20210527192958.775434-1-konrad.dybcio@somainline.org
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
arch/arm64/boot/dts/qcom/msm8996.dtsi

index 578902f..df662b0 100644 (file)
                                };
                        };
                };
+
                kryocc: clock-controller@6400000 {
-                       compatible = "qcom,apcc-msm8996";
+                       compatible = "qcom,msm8996-apcc";
                        reg = <0x06400000 0x90000>;
+
+                       clock-names = "xo";
+                       clocks = <&xo_board>;
+
                        #clock-cells = <1>;
                };