Loading
drm: bridge: anx7625: correctly detect if PD can be disabled
During initial checks the ANX7625 bridge can be powered on before setting up the Type-C port. At this point, when anx7625_ocm_loading_check() checks if it can disable PD or not, it will notice that typec_port is not set and disable PD, breaking orientation and HPD handling. Unify the check between anx7625_ocm_loading_check() anx7625_i2c_probe() and anx7625_typec_register() and check for the presence of the "connector" node. Fixes: 8ad0f7d2 ("drm: bridge: anx7625: implement message sending") Reviewed-by:Neil Armstrong <neil.armstrong@linaro.org> Reviewed-by:
Xin Ji <xji@analogixsemi.com> Tested-by:
Loic Poulain <loic.poulain@oss.qualcomm.com> Link: https://patch.msgid.link/20260211-anx7625-fix-pd-v1-1-1dd31451b06f@oss.qualcomm.com Signed-off-by:
Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>