]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
arm64: dts: qcom: msm8998: Provide missing "xo" and "sleep_clk" to GCC
authorMarijn Suijten <marijn.suijten@somainline.org>
Sat, 11 Sep 2021 12:01:01 +0000 (14:01 +0200)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Wed, 15 Sep 2021 23:29:39 +0000 (18:29 -0500)
In a future patch the GCC driver will stop requesting this xo clock by
its global "xo" name, in favour of having an explicit phandle here in
the DT.  Aside from that this clock in addition to the mandatory
"sleep_clk" were never passed despite being required by the relevant
dt-bindings.

Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@somainline.org>
Signed-off-by: Marijn Suijten <marijn.suijten@somainline.org>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Link: https://lore.kernel.org/r/20210911120101.248476-1-marijn.suijten@somainline.org
arch/arm64/boot/dts/qcom/msm8998.dtsi

index 34039b5c80175e7ca8d0bda8bc761ce2f6bd6387..d284ffe9bd71de68aeb97da4e2ccaee675ee3d01 100644 (file)
                        clock-output-names = "xo_board";
                };
 
-               sleep_clk {
+               sleep_clk: sleep-clk {
                        compatible = "fixed-clock";
                        #clock-cells = <0>;
                        clock-frequency = <32764>;
                        #reset-cells = <1>;
                        #power-domain-cells = <1>;
                        reg = <0x00100000 0xb0000>;
+
+                       clock-names = "xo", "sleep_clk";
+                       clocks = <&xo>, <&sleep_clk>;
                };
 
                rpm_msg_ram: memory@778000 {