[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20251013104806.6599-1-quic_riteshk@quicinc.com>
Date: Mon, 13 Oct 2025 16:18:03 +0530
From: Ritesh Kumar <quic_riteshk@...cinc.com>
To: robin.clark@....qualcomm.com, lumag@...nel.org, abhinav.kumar@...ux.dev,
jessica.zhang@....qualcomm.com, sean@...rly.run,
marijn.suijten@...ainline.org, maarten.lankhorst@...ux.intel.com,
mripard@...nel.org, tzimmermann@...e.de, airlied@...il.com,
simona@...ll.ch, robh@...nel.org, krzk+dt@...nel.org,
conor+dt@...nel.org, quic_mahap@...cinc.com, andersson@...nel.org,
konradybcio@...nel.org, mani@...nel.org,
James.Bottomley@...senPartnership.com, martin.petersen@...cle.com,
vkoul@...nel.org, kishon@...nel.org,
cros-qcom-dts-watchers@...omium.org
Cc: Ritesh Kumar <quic_riteshk@...cinc.com>, linux-phy@...ts.infradead.org,
linux-arm-msm@...r.kernel.org, dri-devel@...ts.freedesktop.org,
freedreno@...ts.freedesktop.org, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-scsi@...r.kernel.org,
quic_vproddut@...cinc.com
Subject: [PATCH v2 0/3] Add edp reference clock for lemans
On lemans chipset, edp reference clock is being voted by ufs mem phy
(ufs_mem_phy: phy@...7000). But after commit 77d2fa54a9457
("scsi: ufs: qcom : Refactor phy_power_on/off calls") edp reference
clock is getting turned off, leading to below phy poweron failure on
lemans edp phy.
[ 19.830220] phy phy-aec2a00.phy.10: phy poweron failed --> -110
[ 19.842112] mdss_0_disp_cc_mdss_dptx0_link_clk status stuck at 'off'
[ 19.842131] WARNING: CPU: 2 PID: 371 at drivers/clk/qcom/clk-branch.c:87 clk_branch_toggle+0x174/0x18c
[ 19.984356] Hardware name: Qualcomm QCS9100 Ride (DT)
[ 19.989548] pstate: 604000c5 (nZCv daIF +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
[ 19.996697] pc : clk_branch_toggle+0x174/0x18c
[ 20.001267] lr : clk_branch_toggle+0x174/0x18c
[ 20.005833] sp : ffff8000863ebbc0
[ 20.009251] x29: ffff8000863ebbd0 x28: 0000000000000000 x27: 0000000000000000
[ 20.016579] x26: 0000000000000000 x25: 0000000000000000 x24: 0000000000000001
[ 20.023915] x23: ffff0000c53de980 x22: 0000000000000001 x21: ffffb4b57fd8d710
[ 20.031245] x20: ffffb4b5bb238b88 x19: 0000000000000000 x18: ffffffffffff7198
[ 20.038584] x17: 0000000000000014 x16: ffffb4b5bb1e2330 x15: 0000000000000048
[ 20.045926] x14: 0000000000000000 x13: ffffb4b5bd386a48 x12: 0000000000000dfb
[ 20.053263] x11: 00000000000004a9 x10: ffffb4b5bd3e5a20 x9 : ffffb4b5bd386a48
[ 20.060600] x8 : 00000000ffffefff x7 : ffffb4b5bd3dea48 x6 : 00000000000004a9
[ 20.067934] x5 : ffff000eb7d38408 x4 : 40000000fffff4a9 x3 : ffff4b58fb2b7000
[ 20.075269] x2 : 0000000000000000 x1 : 0000000000000000 x0 : ffff000ec4fc3480
[ 20.082601] Call trace:
[ 20.085127] clk_branch_toggle+0x174/0x18c (P)
[ 20.089705] clk_branch2_enable+0x1c/0x28
[ 20.093829] clk_core_enable+0x6c/0xac
[ 20.097687] clk_enable+0x2c/0x4c
[ 20.101104] clk_bulk_enable+0x4c/0xd8
[ 20.104964] msm_dp_ctrl_enable_mainlink_clocks+0x184/0x24c [msm]
[ 20.111294] msm_dp_ctrl_on_link+0xb0/0x400 [msm]
[ 20.116178] msm_dp_display_process_hpd_high+0x110/0x190 [msm]
[ 20.122209] msm_dp_hpd_plug_handle.isra.0+0xac/0x1c4 [msm]
[ 20.127983] hpd_event_thread+0x320/0x5cc [msm]
[ 20.132680] kthread+0x12c/0x204
[ 20.136011] ret_from_fork+0x10/0x20
[ 20.139699] ---[ end trace 0000000000000000 ]---
[ 20.144489] Failed to enable clk 'ctrl_link': -16
[ 20.149340] [drm:msm_dp_ctrl_enable_mainlink_clocks [msm]] *ERROR* Unable to start link clocks. ret=-16
This series adds support for voting the clock from lemans edp phy driver.
---
This series is dependent on below series:
https://lore.kernel.org/all/20250909-phy-qcom-edp-add-missing-refclk-v3-0-4ec55a0512ab@linaro.org/
Change in v2:
- Rebase on top of above series. [Krzysztof]
- Remove duplicate patches and make changes limited to lemans.
- Link to v1: https://lore.kernel.org/all/20251009071127.26026-1-quic_riteshk@quicinc.com/
---
Ritesh Kumar (3):
dt-bindings: phy: qcom-edp: Add missing clock for sa8775p
dt-bindings: display/msm: qcom,sa8775p-mdss: update edp phy example
arm64: dts: qcom: lemans: Add edp reference clock for edp phy
.../bindings/display/msm/qcom,sa8775p-mdss.yaml | 6 ++++--
.../devicetree/bindings/phy/qcom,edp-phy.yaml | 1 +
arch/arm64/boot/dts/qcom/lemans.dtsi | 12 ++++++++----
3 files changed, 13 insertions(+), 6 deletions(-)
--
2.17.1
Powered by blists - more mailing lists