[PATCH v6 10/14] phy: qcom: qmp-usbc: Add USB/DP exclude handling
Dmitry Baryshkov
dmitry.baryshkov at oss.qualcomm.com
Thu Sep 25 14:55:50 PDT 2025
On Thu, Sep 25, 2025 at 03:04:56PM +0800, Xiangxu Yin wrote:
> When both USB and DP PHY modes are enabled simultaneously on the same
> QMP USBC PHY, it can lead to hardware misconfiguration and undefined
> behavior. This happens because the PHY resources are not designed to
> operate in both modes at the same time.
>
> To prevent this, introduce a mutual exclusion check between USB and DP
> PHY modes.
>
> Signed-off-by: Xiangxu Yin <xiangxu.yin at oss.qualcomm.com>
> ---
> drivers/phy/qualcomm/phy-qcom-qmp-usbc.c | 21 +++++++++++++++++++++
> 1 file changed, 21 insertions(+)
>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov at oss.qualcomm.com>
--
With best wishes
Dmitry
More information about the linux-phy
mailing list