Re: [Freedreno] [PATCH v3] phy: qcom-qmp: add support for display port voltage and pre-emphasis swing

2021-09-13 Thread Stephen Boyd
Quoting Kuogee Hsieh (2021-09-09 14:31:05) > @@ -3757,16 +3796,14 @@ static void qcom_qmp_v4_phy_dp_aux_init(struct > qmp_phy *qphy) > > static void qcom_qmp_v4_phy_configure_dp_tx(struct qmp_phy *qphy) > { > - /* Program default values before writing proper values */ > - writel(0x27

[Freedreno] [PATCH v3] phy: qcom-qmp: add support for display port voltage and pre-emphasis swing

2021-09-09 Thread Kuogee Hsieh
Both voltage and pre-emphasis swing level are set during link training negotiation between host and sink. There are totally four tables added. A voltage swing table for both hbr and hbr1, a voltage table for both hbr2 and hbr3, a pre-emphasis table for both hbr and hbr1 and a pre-emphasis table for