[PATCH v4 3/5] phy: qcom: edp: Add SC7280/SC8180X swing/pre-emphasis tables
Yongxing Mou
yongxing.mou at oss.qualcomm.com
Wed Apr 22 20:28:44 PDT 2026
On 4/22/2026 6:42 PM, Konrad Dybcio wrote:
> On 4/22/26 8:01 AM, Yongxing Mou wrote:
>> SC7280 and SC8180X previously shared the same cfg because they did not use
>> swing/pre-emphasis tables. Add the corresponding tables for these
>> platforms. Since they have different PHY sub-versions, their eDP/DP mode
>> tables also differ, so move SC8180X to its own cfg instead of reusing the
>> SC7280 one.
>>
>> Signed-off-by: Yongxing Mou <yongxing.mou at oss.qualcomm.com>
>> ---
>
>
>
>> +static const struct qcom_edp_swing_pre_emph_cfg edp_phy_swing_pre_emph_cfg_v2 = {
>> + .swing_hbr_rbr = &edp_swing_hbr_rbr,
>
> For eDP / low-Vdiff:
>
> I believe the RBR swing settings for 8180 should
> instead be:
>
> 0x07 0x0f 0x17 0x1f (matches)
Emm i see from ipcat eDP Low vdiff(Lower HBR) swing settings is
0x07 0x0f 0x16 0x1f
> (the rest differs)
> 0x0d 0x16 0x1e
> 0x11 0x1b
> 0x16
>
> The preem RBR almost matches, one byte is off
> (arr[0][1] = 0x12 on poipu, 0x11 on kodiak)
>
Thanks,, here need to be fixed.
> The swing and preem settings for HBR3 look OK
>
> For DP / low-Vdiff:
>
> .swing_hbr3_hbr2 OK
> .swing_hbr_rbr - I don't know. The docs are unclear whether the same
> settings should be used for RBR and HBR3, but maybe? There's a
> separate table for mini-DP but I doubt there's any poipu boards with
> such a connector (maybe some obscure ones)
>
> .pre_emphasis_hbr3_hbr2 OK
> .pre_emphasis_hbr_rbr same as above
>
Thanks for point this, so pre_emphasis_hbr_rbr same with
pre_emphasis_hbr3_hbr2? I also don't get it's RBR or HBR3 from phy HPG.
But now i think only eDP will be used in upstreamed poipu boards. i
check the dts and not find any poipu boards will use DP mode(or mini DP)..
> Konrad
More information about the linux-phy
mailing list