arm64: dts: qcom: ipq8074: correct PCIe QMP PHY output clock names
authorRobert Marko <robimarko@gmail.com>
Fri, 13 Jan 2023 16:44:49 +0000 (17:44 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 10 Mar 2023 08:32:37 +0000 (09:32 +0100)
[ Upstream commit 0e8b90c0256cf9c9589e2cee517dedc987a34355 ]

Current PCIe QMP PHY output name were changed in ("arm64: dts: qcom: Fix
IPQ8074 PCIe PHY nodes") however it did not account for the fact that GCC
driver is relying on the old names to match them as they are being used as
the parent for the gcc_pcie0_pipe_clk and gcc_pcie1_pipe_clk.

This broke parenting as GCC could not find the parent clock, so fix it by
changing to the names that driver is expecting.

Fixes: 942bcd33ed45 ("arm64: dts: qcom: Fix IPQ8074 PCIe PHY nodes")
Signed-off-by: Robert Marko <robimarko@gmail.com>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20230113164449.906002-9-robimarko@gmail.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/arm64/boot/dts/qcom/ipq8074.dtsi

index ae14315..05b97b0 100644 (file)
                                #clock-cells = <0>;
                                clocks = <&gcc GCC_PCIE0_PIPE_CLK>;
                                clock-names = "pipe0";
-                               clock-output-names = "pcie_0_pipe_clk";
+                               clock-output-names = "pcie20_phy0_pipe_clk";
                        };
                };
 
                                #clock-cells = <0>;
                                clocks = <&gcc GCC_PCIE1_PIPE_CLK>;
                                clock-names = "pipe0";
-                               clock-output-names = "pcie_1_pipe_clk";
+                               clock-output-names = "pcie20_phy1_pipe_clk";
                        };
                };