arm64: dts: qcom: qcs404: Add the clocks for APCS mux/divider
authorJorge Ramirez-Ortiz <jorge.ramirez-ortiz@linaro.org>
Mon, 25 Nov 2019 14:25:08 +0000 (15:25 +0100)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Sun, 5 Jan 2020 07:56:45 +0000 (23:56 -0800)
Specify the clocks that feed the APCS mux/divider instead of using
default hardcoded values in the source code.

Co-developed-by: Niklas Cassel <niklas.cassel@linaro.org>
Signed-off-by: Niklas Cassel <niklas.cassel@linaro.org>
Signed-off-by: Jorge Ramirez-Ortiz <jorge.ramirez-ortiz@linaro.org>
Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Link: https://lore.kernel.org/r/20191125142511.681149-4-niklas.cassel@linaro.org
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
arch/arm64/boot/dts/qcom/qcs404.dtsi

index b5dff2a..9ecd31f 100644 (file)
                        compatible = "qcom,qcs404-apcs-apps-global", "syscon";
                        reg = <0x0b011000 0x1000>;
                        #mbox-cells = <1>;
+                       clocks = <&apcs_hfpll>, <&gcc GCC_GPLL0_AO_OUT_MAIN>;
+                       clock-names = "pll", "aux";
+                       #clock-cells = <0>;
                };
 
                apcs_hfpll: clock-controller@b016000 {