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)
committerAndy Gross <andy.gross@linaro.org>
Fri, 13 Jan 2017 19:11:57 +0000 (13:11 -0600)
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>
Signed-off-by: Andy Gross <andy.gross@linaro.org>
arch/arm64/boot/dts/qcom/msm8916.dtsi

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