]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
arm64: dts: qcom: ipq8074: pass QMP PCI PHY PIPE clocks to GCC
authorRobert Marko <robimarko@gmail.com>
Fri, 13 Oct 2023 16:39:34 +0000 (18:39 +0200)
committerBjorn Andersson <andersson@kernel.org>
Sun, 3 Dec 2023 01:28:02 +0000 (17:28 -0800)
Pass QMP PCI PHY PIPE clocks to the GCC controller so it does not have to
find them by matching globaly by name.

If not passed directly, driver maintains backwards compatibility by then
falling back to global lookup.

Signed-off-by: Robert Marko <robimarko@gmail.com>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Link: https://lore.kernel.org/r/20231013164025.3541606-2-robimarko@gmail.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
arch/arm64/boot/dts/qcom/ipq8074.dtsi

index 3d4ff7476320c1cebf9f04e0780d0a9c0e4c3b50..a4f7ae35be27fe9cd15029df07532bf14704570e 100644 (file)
                gcc: gcc@1800000 {
                        compatible = "qcom,gcc-ipq8074";
                        reg = <0x01800000 0x80000>;
-                       clocks = <&xo>, <&sleep_clk>;
-                       clock-names = "xo", "sleep_clk";
+                       clocks = <&xo>,
+                                <&sleep_clk>,
+                                <&pcie_qmp0>,
+                                <&pcie_qmp1>;
+                       clock-names = "xo",
+                                     "sleep_clk",
+                                     "pcie0_pipe",
+                                     "pcie1_pipe";
                        #clock-cells = <1>;
                        #power-domain-cells = <1>;
                        #reset-cells = <1>;