arm64: dts: qcom: sm8450 fix PIPE clock specification for pcie1
authorDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Sun, 6 Oct 2024 16:47:56 +0000 (19:47 +0300)
committerBjorn Andersson <andersson@kernel.org>
Mon, 14 Oct 2024 23:50:12 +0000 (18:50 -0500)
commit5d3d966400d0a094359009147d742b3926a2ea53
tree47bba946831392865f5e0ca4380a0c71a153b8cb
parent80fe25fcc605209b707583e3337e3cd40b7ed0bf
arm64: dts: qcom: sm8450 fix PIPE clock specification for pcie1

For historical reasons on SM8450 the second PCIe host (pcie1) also keeps
a reference to the PIPE clock coming from the PHY. Commit e76862840660
("arm64: dts: qcom: sm8450: correct pcie1 phy clocks inputs to gcc") has
updated the PHY to use #clock-cells = <1>, making just <&pcie1_phy>
clock specification invalid. Update corresponding clock entry in the
PCIe1 host node.

 /soc@0/pcie@1c08000: Failed to get clk index: 2 ret: -22
 qcom-pcie 1c08000.pcie: Failed to get clocks
 qcom-pcie 1c08000.pcie: probe with driver qcom-pcie failed with error -22

Fixes: e76862840660 ("arm64: dts: qcom: sm8450: correct pcie1 phy clocks inputs to gcc")
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Link: https://lore.kernel.org/r/20241006-fix-sm8450-pcie1-v1-1-4f227c9082ed@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
arch/arm64/boot/dts/qcom/sm8450.dtsi