[PATCH 2/2] phy: qcom-qmp: Register as a typec switch for orientation detection

Bryan O'Donoghue bryan.odonoghue at linaro.org
Tue Jul 6 17:35:43 PDT 2021


On 07/07/2021 01:00, Bjorn Andersson wrote:
> In order to perform link training on 4 lanes we need to reset the
> PHY_MODE_CTRL with only DP_MODE.

We're only the two lanes for USB on sm8250 and at the moment only USB 
works - not dp on 8250.

Perhaps you've discovered why the DP times out on 8250..

> In my efforts on sc8180x I skipped the disable/enable in switch_set() (I
> believe because I didn't have the init_count check...) and then in
> qcom_qmp_phy_configure_dp_mode() I issue a reset when we're heading to 4
> lanes. Perhaps we can do the disable/enable and achieve the same thing,
> but as written here you won't get 4 lanes...
> 
> I will do some more testing.

Do you have a commit I can cherry pick ? Might be worth testing out with 
tcpm + dp on the sm8250 if its working for you on sc8180x




More information about the linux-phy mailing list