Commit e7686284 authored by Neil Armstrong's avatar Neil Armstrong Committed by Bjorn Andersson

arm64: dts: qcom: sm8450: correct pcie1 phy clocks inputs to gcc

The PCIe Gen4x2 PHY found in the SM8450 SoCs have a second clock named
"PHY_AUX_CLK" which is an input of the Global Clock Controller (GCC) which
is muxed & gated then returned to the PHY as an input.

Now the pcie1_phy exposes 2 clocks, properly add the pcie1_phy provided
clocks to the Global Clock Controller (GCC) node clocks inputs.
Reviewed-by: default avatarDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: default avatarNeil Armstrong <neil.armstrong@linaro.org>
Link: https://lore.kernel.org/r/20240502-topic-sm8x50-upstream-pcie-1-phy-aux-clk-v5-1-10c650cfeade@linaro.orgSigned-off-by: default avatarBjorn Andersson <andersson@kernel.org>
parent 7c0922fc
...@@ -754,8 +754,8 @@ gcc: clock-controller@100000 { ...@@ -754,8 +754,8 @@ gcc: clock-controller@100000 {
clocks = <&rpmhcc RPMH_CXO_CLK>, clocks = <&rpmhcc RPMH_CXO_CLK>,
<&sleep_clk>, <&sleep_clk>,
<&pcie0_phy>, <&pcie0_phy>,
<&pcie1_phy>, <&pcie1_phy QMP_PCIE_PIPE_CLK>,
<0>, <&pcie1_phy QMP_PCIE_PHY_AUX_CLK>,
<&ufs_mem_phy 0>, <&ufs_mem_phy 0>,
<&ufs_mem_phy 1>, <&ufs_mem_phy 1>,
<&ufs_mem_phy 2>, <&ufs_mem_phy 2>,
...@@ -2000,8 +2000,8 @@ pcie1_phy: phy@1c0e000 { ...@@ -2000,8 +2000,8 @@ pcie1_phy: phy@1c0e000 {
"rchng", "rchng",
"pipe"; "pipe";
clock-output-names = "pcie_1_pipe_clk"; clock-output-names = "pcie_1_pipe_clk", "pcie_1_phy_aux_clk";
#clock-cells = <0>; #clock-cells = <1>;
#phy-cells = <0>; #phy-cells = <0>;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment