arm64: dts: qcom: sm6115: Provide xo clk to rpmcc
authorKonrad Dybcio <konrad.dybcio@linaro.org>
Thu, 8 Dec 2022 20:13:58 +0000 (21:13 +0100)
committerBjorn Andersson <andersson@kernel.org>
Wed, 28 Dec 2022 03:24:02 +0000 (21:24 -0600)
rpmcc used to rely on global clock lookup (and still does so for
backwards compat reasons) of "xo_board", which was common back
when we did not care about things like underscores in node names.
Nowadays it expects to be fed a reference to the fixed clock.
Satisfy that requirement to make sure rpm clock rates are not all
stuck at zero.

Fixes: 97e563bf5ba1 ("arm64: dts: qcom: sm6115: Add basic soc dtsi")
Reported-by: Adam Skladowski <a39.skl@gmail.com>
Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20221208201401.530555-2-konrad.dybcio@linaro.org
arch/arm64/boot/dts/qcom/sm6115.dtsi

index 3f4017b..81523ab 100644 (file)
 
                        rpmcc: clock-controller {
                                compatible = "qcom,rpmcc-sm6115", "qcom,rpmcc";
+                               clocks = <&xo_board>;
+                               clock-names = "xo";
                                #clock-cells = <1>;
                        };