]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
arm64: dts: qcom: msm8916: Use fixed factor xo clock
authorGeorgi Djakov <georgi.djakov@linaro.org>
Thu, 14 Apr 2016 14:34:49 +0000 (17:34 +0300)
committerNicolas Dechesne <nicolas.dechesne@linaro.org>
Thu, 23 Jun 2016 10:20:43 +0000 (12:20 +0200)
The rpmcc driver is providing the XO clock, which is the parent of almost
all clocks. But during boot, this driver may probe later and leave most of
the clocks without parent. The common clock framework currently reports
invalid rate for orphan clocks and this may confuse drivers.

To resolve this, use fixed clocks registration until we have some support
to deal with the this issue. Removing the generic rpmcc compatible is
enough to switch back to fixed factor XO clock.

Signed-off-by: Georgi Djakov <georgi.djakov@linaro.org>
arch/arm64/boot/dts/qcom/msm8916.dtsi

index 1a571be9b8404a1cf6da4b94b02fd5bc385d356e..4df860adfb2b556ed4fe257a329f300208735bfb 100644 (file)
                                compatible = "qcom,rpm-msm8916";
                                qcom,smd-channels = "rpm_requests";
                                rpmcc: qcom,rpmcc {
-                                       compatible = "qcom,rpmcc-msm8916", "qcom,rpmcc";
+                                       compatible = "qcom,rpmcc-msm8916";
                                        #clock-cells = <1>;
                                };