The DP PHYs on X1E80100 need the refclk which is provided
by the TCSR CC. So add it to the PHYs.
Cc: stable@vger.kernel.org # v6.9
Fixes: 1940c25eaa63 ("arm64: dts: qcom: x1e80100: Add display nodes")
Signed-off-by: Abel Vesa <abel.vesa@linaro.org>
---
arch/arm64/boot/dts/qcom/x1e80100.dtsi | 12 ++++++++----
1 file changed, 8 insertions(+), 4 deletions(-)
diff --git a/arch/arm64/boot/dts/qcom/x1e80100.dtsi b/arch/arm64/boot/dts/qcom/x1e80100.dtsi
index 737c5dbd1c808300041cc8897ca1f7450e16e019..495356a7ebe662c68385a19ee0657033e44e0c7a 100644
--- a/arch/arm64/boot/dts/qcom/x1e80100.dtsi
+++ b/arch/arm64/boot/dts/qcom/x1e80100.dtsi
@@ -5670,9 +5670,11 @@ mdss_dp2_phy: phy@aec2a00 {
<0 0x0aec2000 0 0x1c8>;
clocks = <&dispcc DISP_CC_MDSS_DPTX2_AUX_CLK>,
- <&dispcc DISP_CC_MDSS_AHB_CLK>;
+ <&dispcc DISP_CC_MDSS_AHB_CLK>,
+ <&tcsr TCSR_EDP_CLKREF_EN>;
clock-names = "aux",
- "cfg_ahb";
+ "cfg_ahb",
+ "refclk";
power-domains = <&rpmhpd RPMHPD_MX>;
@@ -5690,9 +5692,11 @@ mdss_dp3_phy: phy@aec5a00 {
<0 0x0aec5000 0 0x1c8>;
clocks = <&dispcc DISP_CC_MDSS_DPTX3_AUX_CLK>,
- <&dispcc DISP_CC_MDSS_AHB_CLK>;
+ <&dispcc DISP_CC_MDSS_AHB_CLK>,
+ <&tcsr TCSR_EDP_CLKREF_EN>;
clock-names = "aux",
- "cfg_ahb";
+ "cfg_ahb",
+ "refclk";
power-domains = <&rpmhpd RPMHPD_MX>;
--
2.45.2
On 9/3/25 2:37 PM, Abel Vesa wrote: > The DP PHYs on X1E80100 need the refclk which is provided > by the TCSR CC. So add it to the PHYs. > > Cc: stable@vger.kernel.org # v6.9 You want to backport this to 6.9, but you also want to backport the driver patch to 6.10, "meh" I'm not sure it makes sense to backport functionally, as this would only exhibit issues if: a) the UEFI did no work to enable the refclk or: b) unused cleanup would happen but the board would not survive booting with b) in v6.9, at least it wouldn't have display - see Commit b60521eff227 ("clk: qcom: gcc-x1e80100: Unregister GCC_GPU_CFG_AHB_CLK/GCC_DISP_XO_CLK") and a) is not something we'd hit on any of the upstream-supported targets Konrad
On 25-09-04 10:40:36, Konrad Dybcio wrote: > On 9/3/25 2:37 PM, Abel Vesa wrote: > > The DP PHYs on X1E80100 need the refclk which is provided > > by the TCSR CC. So add it to the PHYs. > > > > Cc: stable@vger.kernel.org # v6.9 > > You want to backport this to 6.9, but you also want to backport > the driver patch to 6.10, "meh" > > I'm not sure it makes sense to backport functionally, as this would > only exhibit issues if: > > a) the UEFI did no work to enable the refclk > or: > b) unused cleanup would happen > > but the board would not survive booting with b) in v6.9, at least > it wouldn't have display - see Commit b60521eff227 ("clk: qcom: > gcc-x1e80100: Unregister GCC_GPU_CFG_AHB_CLK/GCC_DISP_XO_CLK") > > and a) is not something we'd hit on any of the upstream-supported > targets You are correct. However, HW-wise, this clock is there and is needed, regardless if UEFI leaves it enabled or not. So it makes sense to go all the way back to 6.9 and fix it.
© 2016 - 2025 Red Hat, Inc.