public inbox for linux-phy@lists.infradead.org
 help / color / mirror / Atom feed
From: Yongxing Mou <yongxing.mou@oss.qualcomm.com>
To: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>,
	Vinod Koul <vkoul@kernel.org>,
	Neil Armstrong <neil.armstrong@linaro.org>
Cc: linux-arm-msm@vger.kernel.org, linux-phy@lists.infradead.org,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH 3/3] phy: qcom: edp: Add eDP phy mode switch support
Date: Wed, 25 Feb 2026 16:00:15 +0800	[thread overview]
Message-ID: <70824913-ab52-4737-ae49-50cbe6251e4c@oss.qualcomm.com> (raw)
In-Reply-To: <f7fed0cc-0c59-4a75-b045-a83df924113d@oss.qualcomm.com>



On 2/13/2026 7:06 PM, Konrad Dybcio wrote:
> On 2/10/26 11:29 AM, Yongxing Mou wrote:
>>
>>
>> On 2/6/2026 7:02 PM, Konrad Dybcio wrote:
>>> On 2/5/26 10:20 AM, Yongxing Mou wrote:
>>>> Add DP/eDP switch support by splitting the PHY swing/pre-emphasis tables
>>>> into separate DP and eDP configurations. This allows the driver to select
>>>> the correct table based on the is_edp flag.
>>>>
>>>> Add a dedicated table for the SC7280/glymur platforms, as they are not
>>>> compatible with the others.
>>>>
>>>> Signed-off-by: Yongxing Mou <yongxing.mou@oss.qualcomm.com>
>>>> ---
>>>
>>> [...]
>>>
>>>> +static const u8 edp_swing_hbr2_hbr3_v3[4][4] = {
>>>> +    { 0x0b, 0x11, 0x16, 0x1b },
>>>> +    { 0x0b, 0x19, 0x1f, 0xff },
>>>> +    { 0x18, 0x1f, 0xff, 0xff },
>>>> +    { 0x1f, 0xff, 0xff, 0xff }
>>>> +};
>>>> +
>>>> +static const u8 edp_pre_emp_hbr2_hbr3_v3[4][4] = {
>>>> +    { 0x0c, 0x15, 0x19, 0x1e },
>>>> +    { 0x09, 0x14, 0x19, 0xff },
>>>> +    { 0x0f, 0x14, 0xff, 0xff },
>>>> +    { 0x0d, 0xff, 0xff, 0xff }
>>>> +};
>>>
>>> This is not quite in line with docs for kodiak. Now, if you have
>>> better/newer sequences than the HPG, I'm not objecting, but please
>>> cross-check
>>>
>>> the rest of this patch I think looks fine
>>>
>>> Konrad
>> Thanks for point that..
>>>> +static const u8 edp_swing_hbr2_hbr3_v3[4][4] = {
>>>> +    { 0x0b, 0x11, 0x16, 0x1b },
>> here should be { 0x06, 0x11, 0x16, 0x1b }, arr[0][1]: 0x0b->0x06
>> does this looks fine? will check tables again..
> 
> For kodiak I see:
> 
> eDP HBR23 / low vdiff:
> 
> swing
> 0x0b, 0x11, 0x17, 0x1c
> 0x10, 0x19, 0x1f
> 0x19, 0x1f
> 0x1f
> 
> preemp
> 0x0c, 0x15, 0x19, 0x1e
> 0x08, 0x15, 0x19
> 0x0e, 0x14
> 0x0d
> 
> (notice how that mostly differs by the lowest bit being (not)set vs
> your proposal)
> 
> eDP HBR23 / high vdiff:
> 
> swing
> 0x0a, 0x11, 0x17, 0x1f
> 0x0c, 0x14, 0x1d
> 0x15, 0x1f
> 0x17
> 
> preemp
> 
> 0x08, 0x11, 0x17, 0x1b
> 0x00, 0x0c, 0x13
> 0x05, 0x10,
> 0x00
> 
> Konrad
Hi, this is different from what I saw. what i saw
from kodiak HPG:
eDP low vdiff (High HBR):
  0x06, 0x11, 0x16, 0x1B
  0x0B, 0x19, 0x1f
  0x18, 0x1f
  0x1f

  preemp
  0x0c, 0x15, 0x19, 0x1e
  0x09, 0x14, 0x19
  0x0f, 0x14
  0x0d

eDP high vdiff (High HBR):
  swing
  0x0a, 0x11, 0x17, 0x1f
  0x0c, 0x14, 0x1d
  0x15, 0x1f
  0x17

  preemp

  0x08, 0x11, 0x16, 0x1b
  0x00, 0x0c, 0x13
  0x05, 0x10,
  0x00
The set of values you provided looks more like data from LeMans / 
SC8280xp / glymur (low vidff). I’ll follow up by email later to confirm 
whether this is due to us using different HPGs.

thanks.

-- 
linux-phy mailing list
linux-phy@lists.infradead.org
https://lists.infradead.org/mailman/listinfo/linux-phy

  reply	other threads:[~2026-02-25  8:00 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-02-05  9:20 [PATCH 0/3] phy: qcom: edp: Add DP/eDP switch for phys Yongxing Mou
2026-02-05  9:20 ` [PATCH 1/3] phy: qcom: edp: Correct and clean up eDP/DP combo PHY configuration values Yongxing Mou
2026-02-06 10:47   ` Konrad Dybcio
2026-02-09  9:00     ` Yongxing Mou
2026-02-09 12:46       ` Dmitry Baryshkov
2026-02-10  6:13         ` Yongxing Mou
2026-02-13 11:08       ` Konrad Dybcio
2026-02-07 10:22   ` Dmitry Baryshkov
2026-02-09  9:52     ` Yongxing Mou
2026-02-09 12:47       ` Dmitry Baryshkov
2026-02-10 10:17         ` Yongxing Mou
2026-02-10 12:33           ` Dmitry Baryshkov
2026-02-05  9:20 ` [PATCH 2/3] phy: qcom: edp: Add per-version LDO configuration callback Yongxing Mou
2026-02-06 10:52   ` Konrad Dybcio
2026-02-10 10:19     ` Yongxing Mou
2026-02-12  9:04     ` Yongxing Mou
2026-02-13 11:14       ` Konrad Dybcio
2026-02-25  7:21         ` Yongxing Mou
2026-02-07 10:17   ` Dmitry Baryshkov
2026-02-10 10:21     ` Yongxing Mou
2026-02-05  9:20 ` [PATCH 3/3] phy: qcom: edp: Add eDP phy mode switch support Yongxing Mou
2026-02-06 11:02   ` Konrad Dybcio
2026-02-10 10:29     ` Yongxing Mou
2026-02-13 11:06       ` Konrad Dybcio
2026-02-25  8:00         ` Yongxing Mou [this message]
2026-02-07 10:20   ` Dmitry Baryshkov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=70824913-ab52-4737-ae49-50cbe6251e4c@oss.qualcomm.com \
    --to=yongxing.mou@oss.qualcomm.com \
    --cc=konrad.dybcio@oss.qualcomm.com \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-phy@lists.infradead.org \
    --cc=neil.armstrong@linaro.org \
    --cc=vkoul@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox