* [PATCH v2 1/3] dt-bindings: phy: qcom-edp: Add edp ref clk for sa8775p
2025-10-13 10:48 [PATCH v2 0/3] Add edp reference clock for lemans Ritesh Kumar
@ 2025-10-13 10:48 ` Ritesh Kumar
2025-10-13 12:34 ` Dmitry Baryshkov
` (2 more replies)
2025-10-13 10:48 ` [PATCH v2 2/3] dt-bindings: display/msm: qcom,sa8775p-mdss: update edp phy example Ritesh Kumar
` (2 subsequent siblings)
3 siblings, 3 replies; 17+ messages in thread
From: Ritesh Kumar @ 2025-10-13 10:48 UTC (permalink / raw)
To: robin.clark, lumag, abhinav.kumar, jessica.zhang, sean,
marijn.suijten, maarten.lankhorst, mripard, tzimmermann, airlied,
simona, robh, krzk+dt, conor+dt, quic_mahap, andersson,
konradybcio, mani, James.Bottomley, martin.petersen, vkoul,
kishon, cros-qcom-dts-watchers
Cc: Ritesh Kumar, linux-phy, linux-arm-msm, dri-devel, freedreno,
devicetree, linux-kernel, linux-scsi, quic_vproddut
Add edp reference clock for sa8775p edp phy.
Signed-off-by: Ritesh Kumar <quic_riteshk@quicinc.com>
---
Documentation/devicetree/bindings/phy/qcom,edp-phy.yaml | 1 +
1 file changed, 1 insertion(+)
diff --git a/Documentation/devicetree/bindings/phy/qcom,edp-phy.yaml b/Documentation/devicetree/bindings/phy/qcom,edp-phy.yaml
index bfc4d75f50ff..b0e4015596de 100644
--- a/Documentation/devicetree/bindings/phy/qcom,edp-phy.yaml
+++ b/Documentation/devicetree/bindings/phy/qcom,edp-phy.yaml
@@ -73,6 +73,7 @@ allOf:
compatible:
enum:
- qcom,x1e80100-dp-phy
+ - qcom,sa8775p-edp-phy
then:
properties:
clocks:
--
2.17.1
^ permalink raw reply related [flat|nested] 17+ messages in thread* Re: [PATCH v2 1/3] dt-bindings: phy: qcom-edp: Add edp ref clk for sa8775p
2025-10-13 10:48 ` [PATCH v2 1/3] dt-bindings: phy: qcom-edp: Add edp ref clk for sa8775p Ritesh Kumar
@ 2025-10-13 12:34 ` Dmitry Baryshkov
2025-10-28 9:54 ` Ritesh Kumar
2025-10-13 12:37 ` Dmitry Baryshkov
2025-10-27 17:05 ` Bjorn Andersson
2 siblings, 1 reply; 17+ messages in thread
From: Dmitry Baryshkov @ 2025-10-13 12:34 UTC (permalink / raw)
To: Ritesh Kumar
Cc: robin.clark, lumag, abhinav.kumar, jessica.zhang, sean,
marijn.suijten, maarten.lankhorst, mripard, tzimmermann, airlied,
simona, robh, krzk+dt, conor+dt, quic_mahap, andersson,
konradybcio, mani, James.Bottomley, martin.petersen, vkoul,
kishon, cros-qcom-dts-watchers, linux-phy, linux-arm-msm,
dri-devel, freedreno, devicetree, linux-kernel, linux-scsi,
quic_vproddut
On Mon, Oct 13, 2025 at 04:18:04PM +0530, Ritesh Kumar wrote:
> Add edp reference clock for sa8775p edp phy.
>
> Signed-off-by: Ritesh Kumar <quic_riteshk@quicinc.com>
> ---
> Documentation/devicetree/bindings/phy/qcom,edp-phy.yaml | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/Documentation/devicetree/bindings/phy/qcom,edp-phy.yaml b/Documentation/devicetree/bindings/phy/qcom,edp-phy.yaml
> index bfc4d75f50ff..b0e4015596de 100644
> --- a/Documentation/devicetree/bindings/phy/qcom,edp-phy.yaml
> +++ b/Documentation/devicetree/bindings/phy/qcom,edp-phy.yaml
> @@ -73,6 +73,7 @@ allOf:
> compatible:
> enum:
> - qcom,x1e80100-dp-phy
> + - qcom,sa8775p-edp-phy
Usually such lists are sorted.
> then:
> properties:
> clocks:
> --
> 2.17.1
>
--
With best wishes
Dmitry
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [PATCH v2 1/3] dt-bindings: phy: qcom-edp: Add edp ref clk for sa8775p
2025-10-13 12:34 ` Dmitry Baryshkov
@ 2025-10-28 9:54 ` Ritesh Kumar
0 siblings, 0 replies; 17+ messages in thread
From: Ritesh Kumar @ 2025-10-28 9:54 UTC (permalink / raw)
To: Dmitry Baryshkov
Cc: robin.clark, lumag, abhinav.kumar, jessica.zhang, sean,
marijn.suijten, maarten.lankhorst, mripard, tzimmermann, airlied,
simona, robh, krzk+dt, conor+dt, quic_mahap, andersson,
konradybcio, mani, James.Bottomley, martin.petersen, vkoul,
kishon, cros-qcom-dts-watchers, linux-phy, linux-arm-msm,
dri-devel, freedreno, devicetree, linux-kernel, linux-scsi,
quic_vproddut
On 10/13/2025 6:04 PM, Dmitry Baryshkov wrote:
> On Mon, Oct 13, 2025 at 04:18:04PM +0530, Ritesh Kumar wrote:
> > Add edp reference clock for sa8775p edp phy.
> >
> > Signed-off-by: Ritesh Kumar <quic_riteshk@quicinc.com>
> > ---
> > Documentation/devicetree/bindings/phy/qcom,edp-phy.yaml | 1 +
> > 1 file changed, 1 insertion(+)
> >
> > diff --git a/Documentation/devicetree/bindings/phy/qcom,edp-phy.yaml b/Documentation/devicetree/bindings/phy/qcom,edp-phy.yaml
> > index bfc4d75f50ff..b0e4015596de 100644
> > --- a/Documentation/devicetree/bindings/phy/qcom,edp-phy.yaml
> > +++ b/Documentation/devicetree/bindings/phy/qcom,edp-phy.yaml
> > @@ -73,6 +73,7 @@ allOf:
> > compatible:
> > enum:
> > - qcom,x1e80100-dp-phy
> > + - qcom,sa8775p-edp-phy
>
> Usually such lists are sorted.
Sure, will update in next version.
>
> > then:
> > properties:
> > clocks:
> > --
> > 2.17.1
> >
>
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [PATCH v2 1/3] dt-bindings: phy: qcom-edp: Add edp ref clk for sa8775p
2025-10-13 10:48 ` [PATCH v2 1/3] dt-bindings: phy: qcom-edp: Add edp ref clk for sa8775p Ritesh Kumar
2025-10-13 12:34 ` Dmitry Baryshkov
@ 2025-10-13 12:37 ` Dmitry Baryshkov
2025-10-15 14:43 ` Rob Herring
2025-10-27 17:05 ` Bjorn Andersson
2 siblings, 1 reply; 17+ messages in thread
From: Dmitry Baryshkov @ 2025-10-13 12:37 UTC (permalink / raw)
To: Ritesh Kumar
Cc: robin.clark, lumag, abhinav.kumar, jessica.zhang, sean,
marijn.suijten, maarten.lankhorst, mripard, tzimmermann, airlied,
simona, robh, krzk+dt, conor+dt, quic_mahap, andersson,
konradybcio, mani, James.Bottomley, martin.petersen, vkoul,
kishon, cros-qcom-dts-watchers, linux-phy, linux-arm-msm,
dri-devel, freedreno, devicetree, linux-kernel, linux-scsi,
quic_vproddut
On Mon, Oct 13, 2025 at 04:18:04PM +0530, Ritesh Kumar wrote:
> Add edp reference clock for sa8775p edp phy.
eDP, PHY.
I'd probably ask to squash both DT binding patches together, but this
might cause cross-subsystem merge issues. I'll leave this to DT
maintainers discretion, whether to require a non-warning-adding patch or
two patches with warnings in the middle of the series.
> Signed-off-by: Ritesh Kumar <quic_riteshk@quicinc.com>
> ---
> Documentation/devicetree/bindings/phy/qcom,edp-phy.yaml | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/Documentation/devicetree/bindings/phy/qcom,edp-phy.yaml b/Documentation/devicetree/bindings/phy/qcom,edp-phy.yaml
> index bfc4d75f50ff..b0e4015596de 100644
> --- a/Documentation/devicetree/bindings/phy/qcom,edp-phy.yaml
> +++ b/Documentation/devicetree/bindings/phy/qcom,edp-phy.yaml
> @@ -73,6 +73,7 @@ allOf:
> compatible:
> enum:
> - qcom,x1e80100-dp-phy
> + - qcom,sa8775p-edp-phy
> then:
> properties:
> clocks:
> --
> 2.17.1
>
--
With best wishes
Dmitry
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [PATCH v2 1/3] dt-bindings: phy: qcom-edp: Add edp ref clk for sa8775p
2025-10-13 12:37 ` Dmitry Baryshkov
@ 2025-10-15 14:43 ` Rob Herring
2025-10-28 9:57 ` Ritesh Kumar
0 siblings, 1 reply; 17+ messages in thread
From: Rob Herring @ 2025-10-15 14:43 UTC (permalink / raw)
To: Dmitry Baryshkov
Cc: Ritesh Kumar, robin.clark, lumag, abhinav.kumar, jessica.zhang,
sean, marijn.suijten, maarten.lankhorst, mripard, tzimmermann,
airlied, simona, krzk+dt, conor+dt, quic_mahap, andersson,
konradybcio, mani, James.Bottomley, martin.petersen, vkoul,
kishon, cros-qcom-dts-watchers, linux-phy, linux-arm-msm,
dri-devel, freedreno, devicetree, linux-kernel, linux-scsi,
quic_vproddut
On Mon, Oct 13, 2025 at 03:37:47PM +0300, Dmitry Baryshkov wrote:
> On Mon, Oct 13, 2025 at 04:18:04PM +0530, Ritesh Kumar wrote:
> > Add edp reference clock for sa8775p edp phy.
>
> eDP, PHY.
>
> I'd probably ask to squash both DT binding patches together, but this
> might cause cross-subsystem merge issues. I'll leave this to DT
> maintainers discretion, whether to require a non-warning-adding patch or
> two patches with warnings in the middle of the series.
One patch.
Rob
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [PATCH v2 1/3] dt-bindings: phy: qcom-edp: Add edp ref clk for sa8775p
2025-10-15 14:43 ` Rob Herring
@ 2025-10-28 9:57 ` Ritesh Kumar
0 siblings, 0 replies; 17+ messages in thread
From: Ritesh Kumar @ 2025-10-28 9:57 UTC (permalink / raw)
To: Rob Herring, Dmitry Baryshkov
Cc: robin.clark, lumag, abhinav.kumar, jessica.zhang, sean,
marijn.suijten, maarten.lankhorst, mripard, tzimmermann, airlied,
simona, krzk+dt, conor+dt, quic_mahap, andersson, konradybcio,
mani, James.Bottomley, martin.petersen, vkoul, kishon,
cros-qcom-dts-watchers, linux-phy, linux-arm-msm, dri-devel,
freedreno, devicetree, linux-kernel, linux-scsi, quic_vproddut
On 10/15/2025 8:13 PM, Rob Herring wrote:
> On Mon, Oct 13, 2025 at 03:37:47PM +0300, Dmitry Baryshkov wrote:
> > On Mon, Oct 13, 2025 at 04:18:04PM +0530, Ritesh Kumar wrote:
> > > Add edp reference clock for sa8775p edp phy.
> >
> > eDP, PHY.
> >
> > I'd probably ask to squash both DT binding patches together, but this
> > might cause cross-subsystem merge issues. I'll leave this to DT
> > maintainers discretion, whether to require a non-warning-adding patch or
> > two patches with warnings in the middle of the series.
>
> One patch.
Sure, will update a single patch for DT bindings.
> Rob
>
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [PATCH v2 1/3] dt-bindings: phy: qcom-edp: Add edp ref clk for sa8775p
2025-10-13 10:48 ` [PATCH v2 1/3] dt-bindings: phy: qcom-edp: Add edp ref clk for sa8775p Ritesh Kumar
2025-10-13 12:34 ` Dmitry Baryshkov
2025-10-13 12:37 ` Dmitry Baryshkov
@ 2025-10-27 17:05 ` Bjorn Andersson
2025-10-28 10:16 ` Ritesh Kumar
2 siblings, 1 reply; 17+ messages in thread
From: Bjorn Andersson @ 2025-10-27 17:05 UTC (permalink / raw)
To: Ritesh Kumar
Cc: robin.clark, lumag, abhinav.kumar, jessica.zhang, sean,
marijn.suijten, maarten.lankhorst, mripard, tzimmermann, airlied,
simona, robh, krzk+dt, conor+dt, quic_mahap, konradybcio, mani,
James.Bottomley, martin.petersen, vkoul, kishon,
cros-qcom-dts-watchers, linux-phy, linux-arm-msm, dri-devel,
freedreno, devicetree, linux-kernel, linux-scsi, quic_vproddut
On Mon, Oct 13, 2025 at 04:18:04PM +0530, Ritesh Kumar wrote:
> Add edp reference clock for sa8775p edp phy.
Perhaps the eDP ref clock was missed in the initial contribution,
perhaps it wasn't supposed to be described at the time, perhaps the
hardware changed...we can only speculate on the purpose of this patch...
You could change this however, by following
https://docs.kernel.org/process/submitting-patches.html#describe-your-changes
and start your commit message with an explanation of the problem you're
trying to solve...
>
> Signed-off-by: Ritesh Kumar <quic_riteshk@quicinc.com>
Please start using your oss.qualcomm.com
Regards,
Bjorn
> ---
> Documentation/devicetree/bindings/phy/qcom,edp-phy.yaml | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/Documentation/devicetree/bindings/phy/qcom,edp-phy.yaml b/Documentation/devicetree/bindings/phy/qcom,edp-phy.yaml
> index bfc4d75f50ff..b0e4015596de 100644
> --- a/Documentation/devicetree/bindings/phy/qcom,edp-phy.yaml
> +++ b/Documentation/devicetree/bindings/phy/qcom,edp-phy.yaml
> @@ -73,6 +73,7 @@ allOf:
> compatible:
> enum:
> - qcom,x1e80100-dp-phy
> + - qcom,sa8775p-edp-phy
> then:
> properties:
> clocks:
> --
> 2.17.1
>
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [PATCH v2 1/3] dt-bindings: phy: qcom-edp: Add edp ref clk for sa8775p
2025-10-27 17:05 ` Bjorn Andersson
@ 2025-10-28 10:16 ` Ritesh Kumar
0 siblings, 0 replies; 17+ messages in thread
From: Ritesh Kumar @ 2025-10-28 10:16 UTC (permalink / raw)
To: Bjorn Andersson
Cc: robin.clark, lumag, abhinav.kumar, jessica.zhang, sean,
marijn.suijten, maarten.lankhorst, mripard, tzimmermann, airlied,
simona, robh, krzk+dt, conor+dt, quic_mahap, konradybcio, mani,
James.Bottomley, martin.petersen, vkoul, kishon,
cros-qcom-dts-watchers, linux-phy, linux-arm-msm, dri-devel,
freedreno, devicetree, linux-kernel, linux-scsi, quic_vproddut
On 10/27/2025 10:35 PM, Bjorn Andersson wrote:
> On Mon, Oct 13, 2025 at 04:18:04PM +0530, Ritesh Kumar wrote:
> > Add edp reference clock for sa8775p edp phy.
>
> Perhaps the eDP ref clock was missed in the initial contribution,
> perhaps it wasn't supposed to be described at the time, perhaps the
> hardware changed...we can only speculate on the purpose of this patch...
>
> You could change this however, by following
> https://docs.kernel.org/process/submitting-patches.html#describe-your-changes
> and start your commit message with an explanation of the problem you're
> trying to solve...
Sure, will update the commit message giving details of the problem.
> >
> > Signed-off-by: Ritesh Kumar <quic_riteshk@quicinc.com>
>
> Please start using your oss.qualcomm.com
Took a note of it.
> Regards,
> Bjorn
>
> > ---
> > Documentation/devicetree/bindings/phy/qcom,edp-phy.yaml | 1 +
> > 1 file changed, 1 insertion(+)
> >
> > diff --git a/Documentation/devicetree/bindings/phy/qcom,edp-phy.yaml b/Documentation/devicetree/bindings/phy/qcom,edp-phy.yaml
> > index bfc4d75f50ff..b0e4015596de 100644
> > --- a/Documentation/devicetree/bindings/phy/qcom,edp-phy.yaml
> > +++ b/Documentation/devicetree/bindings/phy/qcom,edp-phy.yaml
> > @@ -73,6 +73,7 @@ allOf:
> > compatible:
> > enum:
> > - qcom,x1e80100-dp-phy
> > + - qcom,sa8775p-edp-phy
> > then:
> > properties:
> > clocks:
> > --
> > 2.17.1
> >
^ permalink raw reply [flat|nested] 17+ messages in thread
* [PATCH v2 2/3] dt-bindings: display/msm: qcom,sa8775p-mdss: update edp phy example
2025-10-13 10:48 [PATCH v2 0/3] Add edp reference clock for lemans Ritesh Kumar
2025-10-13 10:48 ` [PATCH v2 1/3] dt-bindings: phy: qcom-edp: Add edp ref clk for sa8775p Ritesh Kumar
@ 2025-10-13 10:48 ` Ritesh Kumar
2025-10-13 12:35 ` [PATCH v2 2/3] dt-bindings: display/msm: qcom, sa8775p-mdss: " Dmitry Baryshkov
2025-10-13 10:48 ` [PATCH v2 3/3] arm64: dts: qcom: lemans: Add edp reference clock for edp phy Ritesh Kumar
2025-10-13 12:34 ` [PATCH v2 0/3] Add edp reference clock for lemans Dmitry Baryshkov
3 siblings, 1 reply; 17+ messages in thread
From: Ritesh Kumar @ 2025-10-13 10:48 UTC (permalink / raw)
To: robin.clark, lumag, abhinav.kumar, jessica.zhang, sean,
marijn.suijten, maarten.lankhorst, mripard, tzimmermann, airlied,
simona, robh, krzk+dt, conor+dt, quic_mahap, andersson,
konradybcio, mani, James.Bottomley, martin.petersen, vkoul,
kishon, cros-qcom-dts-watchers
Cc: Ritesh Kumar, linux-phy, linux-arm-msm, dri-devel, freedreno,
devicetree, linux-kernel, linux-scsi, quic_vproddut
Update clock entry in edp phy example node to add support for edp
reference clock.
Signed-off-by: Ritesh Kumar <quic_riteshk@quicinc.com>
---
.../devicetree/bindings/display/msm/qcom,sa8775p-mdss.yaml | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/Documentation/devicetree/bindings/display/msm/qcom,sa8775p-mdss.yaml b/Documentation/devicetree/bindings/display/msm/qcom,sa8775p-mdss.yaml
index e2730a2f25cf..16bb3f7043c8 100644
--- a/Documentation/devicetree/bindings/display/msm/qcom,sa8775p-mdss.yaml
+++ b/Documentation/devicetree/bindings/display/msm/qcom,sa8775p-mdss.yaml
@@ -200,9 +200,11 @@ examples:
<0x0aec2000 0x1c8>;
clocks = <&dispcc0 MDSS_DISP_CC_MDSS_DPTX0_AUX_CLK>,
- <&dispcc0 MDSS_DISP_CC_MDSS_AHB_CLK>;
+ <&dispcc0 MDSS_DISP_CC_MDSS_AHB_CLK>,
+ <&gcc GCC_EDP_REF_CLKREF_EN>;
clock-names = "aux",
- "cfg_ahb";
+ "cfg_ahb",
+ "ref";
#clock-cells = <1>;
#phy-cells = <0>;
--
2.17.1
^ permalink raw reply related [flat|nested] 17+ messages in thread* Re: [PATCH v2 2/3] dt-bindings: display/msm: qcom, sa8775p-mdss: update edp phy example
2025-10-13 10:48 ` [PATCH v2 2/3] dt-bindings: display/msm: qcom,sa8775p-mdss: update edp phy example Ritesh Kumar
@ 2025-10-13 12:35 ` Dmitry Baryshkov
0 siblings, 0 replies; 17+ messages in thread
From: Dmitry Baryshkov @ 2025-10-13 12:35 UTC (permalink / raw)
To: Ritesh Kumar
Cc: robin.clark, lumag, abhinav.kumar, jessica.zhang, sean,
marijn.suijten, maarten.lankhorst, mripard, tzimmermann, airlied,
simona, robh, krzk+dt, conor+dt, quic_mahap, andersson,
konradybcio, mani, James.Bottomley, martin.petersen, vkoul,
kishon, cros-qcom-dts-watchers, linux-phy, linux-arm-msm,
dri-devel, freedreno, devicetree, linux-kernel, linux-scsi,
quic_vproddut
On Mon, Oct 13, 2025 at 04:18:05PM +0530, Ritesh Kumar wrote:
> Update clock entry in edp phy example node to add support for edp
> reference clock.
eDP, PHY.
>
> Signed-off-by: Ritesh Kumar <quic_riteshk@quicinc.com>
> ---
> .../devicetree/bindings/display/msm/qcom,sa8775p-mdss.yaml | 6 ++++--
> 1 file changed, 4 insertions(+), 2 deletions(-)
>
--
With best wishes
Dmitry
^ permalink raw reply [flat|nested] 17+ messages in thread
* [PATCH v2 3/3] arm64: dts: qcom: lemans: Add edp reference clock for edp phy
2025-10-13 10:48 [PATCH v2 0/3] Add edp reference clock for lemans Ritesh Kumar
2025-10-13 10:48 ` [PATCH v2 1/3] dt-bindings: phy: qcom-edp: Add edp ref clk for sa8775p Ritesh Kumar
2025-10-13 10:48 ` [PATCH v2 2/3] dt-bindings: display/msm: qcom,sa8775p-mdss: update edp phy example Ritesh Kumar
@ 2025-10-13 10:48 ` Ritesh Kumar
2025-10-13 12:35 ` Dmitry Baryshkov
2025-10-13 12:34 ` [PATCH v2 0/3] Add edp reference clock for lemans Dmitry Baryshkov
3 siblings, 1 reply; 17+ messages in thread
From: Ritesh Kumar @ 2025-10-13 10:48 UTC (permalink / raw)
To: robin.clark, lumag, abhinav.kumar, jessica.zhang, sean,
marijn.suijten, maarten.lankhorst, mripard, tzimmermann, airlied,
simona, robh, krzk+dt, conor+dt, quic_mahap, andersson,
konradybcio, mani, James.Bottomley, martin.petersen, vkoul,
kishon, cros-qcom-dts-watchers
Cc: Ritesh Kumar, linux-phy, linux-arm-msm, dri-devel, freedreno,
devicetree, linux-kernel, linux-scsi, quic_vproddut
Add edp reference clock for edp phy on lemans chipset.
Signed-off-by: Ritesh Kumar <quic_riteshk@quicinc.com>
---
arch/arm64/boot/dts/qcom/lemans.dtsi | 12 ++++++++----
1 file changed, 8 insertions(+), 4 deletions(-)
diff --git a/arch/arm64/boot/dts/qcom/lemans.dtsi b/arch/arm64/boot/dts/qcom/lemans.dtsi
index cf685cb186ed..1bcf1edd9382 100644
--- a/arch/arm64/boot/dts/qcom/lemans.dtsi
+++ b/arch/arm64/boot/dts/qcom/lemans.dtsi
@@ -5034,9 +5034,11 @@
<0x0 0x0aec2000 0x0 0x1c8>;
clocks = <&dispcc0 MDSS_DISP_CC_MDSS_DPTX0_AUX_CLK>,
- <&dispcc0 MDSS_DISP_CC_MDSS_AHB_CLK>;
+ <&dispcc0 MDSS_DISP_CC_MDSS_AHB_CLK>,
+ <&gcc GCC_EDP_REF_CLKREF_EN>;
clock-names = "aux",
- "cfg_ahb";
+ "cfg_ahb",
+ "ref";
#clock-cells = <1>;
#phy-cells = <0>;
@@ -5053,9 +5055,11 @@
<0x0 0x0aec5000 0x0 0x1c8>;
clocks = <&dispcc0 MDSS_DISP_CC_MDSS_DPTX1_AUX_CLK>,
- <&dispcc0 MDSS_DISP_CC_MDSS_AHB_CLK>;
+ <&dispcc0 MDSS_DISP_CC_MDSS_AHB_CLK>,
+ <&gcc GCC_EDP_REF_CLKREF_EN>;
clock-names = "aux",
- "cfg_ahb";
+ "cfg_ahb",
+ "ref";
#clock-cells = <1>;
#phy-cells = <0>;
--
2.17.1
^ permalink raw reply related [flat|nested] 17+ messages in thread
* Re: [PATCH v2 3/3] arm64: dts: qcom: lemans: Add edp reference clock for edp phy
2025-10-13 10:48 ` [PATCH v2 3/3] arm64: dts: qcom: lemans: Add edp reference clock for edp phy Ritesh Kumar
@ 2025-10-13 12:35 ` Dmitry Baryshkov
2025-10-28 10:17 ` Ritesh Kumar
0 siblings, 1 reply; 17+ messages in thread
From: Dmitry Baryshkov @ 2025-10-13 12:35 UTC (permalink / raw)
To: Ritesh Kumar
Cc: robin.clark, lumag, abhinav.kumar, jessica.zhang, sean,
marijn.suijten, maarten.lankhorst, mripard, tzimmermann, airlied,
simona, robh, krzk+dt, conor+dt, quic_mahap, andersson,
konradybcio, mani, James.Bottomley, martin.petersen, vkoul,
kishon, cros-qcom-dts-watchers, linux-phy, linux-arm-msm,
dri-devel, freedreno, devicetree, linux-kernel, linux-scsi,
quic_vproddut
On Mon, Oct 13, 2025 at 04:18:06PM +0530, Ritesh Kumar wrote:
> Add edp reference clock for edp phy on lemans chipset.
eDP, PHY, Fixes:foo bar baz
>
> Signed-off-by: Ritesh Kumar <quic_riteshk@quicinc.com>
> ---
> arch/arm64/boot/dts/qcom/lemans.dtsi | 12 ++++++++----
> 1 file changed, 8 insertions(+), 4 deletions(-)
>
> diff --git a/arch/arm64/boot/dts/qcom/lemans.dtsi b/arch/arm64/boot/dts/qcom/lemans.dtsi
> index cf685cb186ed..1bcf1edd9382 100644
> --- a/arch/arm64/boot/dts/qcom/lemans.dtsi
> +++ b/arch/arm64/boot/dts/qcom/lemans.dtsi
> @@ -5034,9 +5034,11 @@
> <0x0 0x0aec2000 0x0 0x1c8>;
>
> clocks = <&dispcc0 MDSS_DISP_CC_MDSS_DPTX0_AUX_CLK>,
> - <&dispcc0 MDSS_DISP_CC_MDSS_AHB_CLK>;
> + <&dispcc0 MDSS_DISP_CC_MDSS_AHB_CLK>,
> + <&gcc GCC_EDP_REF_CLKREF_EN>;
> clock-names = "aux",
> - "cfg_ahb";
> + "cfg_ahb",
> + "ref";
>
> #clock-cells = <1>;
> #phy-cells = <0>;
> @@ -5053,9 +5055,11 @@
> <0x0 0x0aec5000 0x0 0x1c8>;
>
> clocks = <&dispcc0 MDSS_DISP_CC_MDSS_DPTX1_AUX_CLK>,
> - <&dispcc0 MDSS_DISP_CC_MDSS_AHB_CLK>;
> + <&dispcc0 MDSS_DISP_CC_MDSS_AHB_CLK>,
> + <&gcc GCC_EDP_REF_CLKREF_EN>;
> clock-names = "aux",
> - "cfg_ahb";
> + "cfg_ahb",
> + "ref";
>
> #clock-cells = <1>;
> #phy-cells = <0>;
> --
> 2.17.1
>
--
With best wishes
Dmitry
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [PATCH v2 3/3] arm64: dts: qcom: lemans: Add edp reference clock for edp phy
2025-10-13 12:35 ` Dmitry Baryshkov
@ 2025-10-28 10:17 ` Ritesh Kumar
0 siblings, 0 replies; 17+ messages in thread
From: Ritesh Kumar @ 2025-10-28 10:17 UTC (permalink / raw)
To: Dmitry Baryshkov
Cc: robin.clark, lumag, abhinav.kumar, jessica.zhang, sean,
marijn.suijten, maarten.lankhorst, mripard, tzimmermann, airlied,
simona, robh, krzk+dt, conor+dt, quic_mahap, andersson,
konradybcio, mani, James.Bottomley, martin.petersen, vkoul,
kishon, cros-qcom-dts-watchers, linux-phy, linux-arm-msm,
dri-devel, freedreno, devicetree, linux-kernel, linux-scsi,
quic_vproddut
On 10/13/2025 6:05 PM, Dmitry Baryshkov wrote:
> On Mon, Oct 13, 2025 at 04:18:06PM +0530, Ritesh Kumar wrote:
> > Add edp reference clock for edp phy on lemans chipset.
>
> eDP, PHY, Fixes:foo bar baz
Sure, will update in next version.
>
> >
> > Signed-off-by: Ritesh Kumar <quic_riteshk@quicinc.com>
> > ---
> > arch/arm64/boot/dts/qcom/lemans.dtsi | 12 ++++++++----
> > 1 file changed, 8 insertions(+), 4 deletions(-)
> >
> > diff --git a/arch/arm64/boot/dts/qcom/lemans.dtsi b/arch/arm64/boot/dts/qcom/lemans.dtsi
> > index cf685cb186ed..1bcf1edd9382 100644
> > --- a/arch/arm64/boot/dts/qcom/lemans.dtsi
> > +++ b/arch/arm64/boot/dts/qcom/lemans.dtsi
> > @@ -5034,9 +5034,11 @@
> > <0x0 0x0aec2000 0x0 0x1c8>;
> >
> > clocks = <&dispcc0 MDSS_DISP_CC_MDSS_DPTX0_AUX_CLK>,
> > - <&dispcc0 MDSS_DISP_CC_MDSS_AHB_CLK>;
> > + <&dispcc0 MDSS_DISP_CC_MDSS_AHB_CLK>,
> > + <&gcc GCC_EDP_REF_CLKREF_EN>;
> > clock-names = "aux",
> > - "cfg_ahb";
> > + "cfg_ahb",
> > + "ref";
> >
> > #clock-cells = <1>;
> > #phy-cells = <0>;
> > @@ -5053,9 +5055,11 @@
> > <0x0 0x0aec5000 0x0 0x1c8>;
> >
> > clocks = <&dispcc0 MDSS_DISP_CC_MDSS_DPTX1_AUX_CLK>,
> > - <&dispcc0 MDSS_DISP_CC_MDSS_AHB_CLK>;
> > + <&dispcc0 MDSS_DISP_CC_MDSS_AHB_CLK>,
> > + <&gcc GCC_EDP_REF_CLKREF_EN>;
> > clock-names = "aux",
> > - "cfg_ahb";
> > + "cfg_ahb",
> > + "ref";
> >
> > #clock-cells = <1>;
> > #phy-cells = <0>;
> > --
> > 2.17.1
> >
>
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [PATCH v2 0/3] Add edp reference clock for lemans
2025-10-13 10:48 [PATCH v2 0/3] Add edp reference clock for lemans Ritesh Kumar
` (2 preceding siblings ...)
2025-10-13 10:48 ` [PATCH v2 3/3] arm64: dts: qcom: lemans: Add edp reference clock for edp phy Ritesh Kumar
@ 2025-10-13 12:34 ` Dmitry Baryshkov
2025-10-15 9:19 ` Ritesh Kumar
3 siblings, 1 reply; 17+ messages in thread
From: Dmitry Baryshkov @ 2025-10-13 12:34 UTC (permalink / raw)
To: Ritesh Kumar
Cc: robin.clark, lumag, abhinav.kumar, jessica.zhang, sean,
marijn.suijten, maarten.lankhorst, mripard, tzimmermann, airlied,
simona, robh, krzk+dt, conor+dt, quic_mahap, andersson,
konradybcio, mani, James.Bottomley, martin.petersen, vkoul,
kishon, cros-qcom-dts-watchers, linux-phy, linux-arm-msm,
dri-devel, freedreno, devicetree, linux-kernel, linux-scsi,
quic_vproddut
On Mon, Oct 13, 2025 at 04:18:03PM +0530, Ritesh Kumar wrote:
> On lemans chipset, edp reference clock is being voted by ufs mem phy
> (ufs_mem_phy: phy@1d87000). 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.
How does UFS turn on eDP reference clock?
--
With best wishes
Dmitry
^ permalink raw reply [flat|nested] 17+ messages in thread* Re: [PATCH v2 0/3] Add edp reference clock for lemans
2025-10-13 12:34 ` [PATCH v2 0/3] Add edp reference clock for lemans Dmitry Baryshkov
@ 2025-10-15 9:19 ` Ritesh Kumar
2025-10-19 12:14 ` Dmitry Baryshkov
0 siblings, 1 reply; 17+ messages in thread
From: Ritesh Kumar @ 2025-10-15 9:19 UTC (permalink / raw)
To: Dmitry Baryshkov
Cc: robin.clark, lumag, abhinav.kumar, jessica.zhang, sean,
marijn.suijten, maarten.lankhorst, mripard, tzimmermann, airlied,
simona, robh, krzk+dt, conor+dt, quic_mahap, andersson,
konradybcio, mani, James.Bottomley, martin.petersen, vkoul,
kishon, cros-qcom-dts-watchers, linux-phy, linux-arm-msm,
dri-devel, freedreno, devicetree, linux-kernel, linux-scsi,
quic_vproddut
On 10/13/2025 6:04 PM, Dmitry Baryshkov wrote:
> On Mon, Oct 13, 2025 at 04:18:03PM +0530, Ritesh Kumar wrote:
> > On lemans chipset, edp reference clock is being voted by ufs mem phy
> > (ufs_mem_phy: phy@1d87000). 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.
>
> How does UFS turn on eDP reference clock?
In lemans, GCC_EDP_REF_CLKREF_EN is voted as qref clock in ufs_mem_phy.
ufs_mem_phy: phy@1d87000 {
compatible = "qcom,sa8775p-qmp-ufs-phy";
reg = <0x0 0x01d87000 0x0 0xe10>;
/*
* Yes, GCC_EDP_REF_CLKREF_EN is correct in qref. It
* enables the CXO clock to eDP *and* UFS PHY.
*/
clocks = <&rpmhcc RPMH_CXO_CLK>,
<&gcc GCC_UFS_PHY_PHY_AUX_CLK>,
<&gcc GCC_EDP_REF_CLKREF_EN>;
clock-names = "ref", "ref_aux", "qref";
>
>
^ permalink raw reply [flat|nested] 17+ messages in thread* Re: [PATCH v2 0/3] Add edp reference clock for lemans
2025-10-15 9:19 ` Ritesh Kumar
@ 2025-10-19 12:14 ` Dmitry Baryshkov
0 siblings, 0 replies; 17+ messages in thread
From: Dmitry Baryshkov @ 2025-10-19 12:14 UTC (permalink / raw)
To: Ritesh Kumar
Cc: robin.clark, lumag, abhinav.kumar, jessica.zhang, sean,
marijn.suijten, maarten.lankhorst, mripard, tzimmermann, airlied,
simona, robh, krzk+dt, conor+dt, quic_mahap, andersson,
konradybcio, mani, James.Bottomley, martin.petersen, vkoul,
kishon, cros-qcom-dts-watchers, linux-phy, linux-arm-msm,
dri-devel, freedreno, devicetree, linux-kernel, linux-scsi,
quic_vproddut
On Wed, Oct 15, 2025 at 02:49:08PM +0530, Ritesh Kumar wrote:
>
> On 10/13/2025 6:04 PM, Dmitry Baryshkov wrote:
> > On Mon, Oct 13, 2025 at 04:18:03PM +0530, Ritesh Kumar wrote:
> > > On lemans chipset, edp reference clock is being voted by ufs mem phy
> > > (ufs_mem_phy: phy@1d87000). 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.
> >
> > How does UFS turn on eDP reference clock?
>
> In lemans, GCC_EDP_REF_CLKREF_EN is voted as qref clock in ufs_mem_phy.
>
Ack, please fix other comments.
>
> ufs_mem_phy: phy@1d87000 {
> compatible = "qcom,sa8775p-qmp-ufs-phy";
> reg = <0x0 0x01d87000 0x0 0xe10>;
> /*
> * Yes, GCC_EDP_REF_CLKREF_EN is correct in qref. It
> * enables the CXO clock to eDP *and* UFS PHY.
> */
> clocks = <&rpmhcc RPMH_CXO_CLK>,
> <&gcc GCC_UFS_PHY_PHY_AUX_CLK>,
> <&gcc GCC_EDP_REF_CLKREF_EN>;
> clock-names = "ref", "ref_aux", "qref";
>
> >
> >
--
With best wishes
Dmitry
^ permalink raw reply [flat|nested] 17+ messages in thread