summaryrefslogtreecommitdiffstats
path: root/drivers/cdx
diff options
context:
space:
mode:
authorBjorn Andersson <quic_bjorande@quicinc.com>2023-05-14 20:27:41 -0700
committerVinod Koul <vkoul@kernel.org>2023-05-19 23:17:19 +0530
commit1904c3f578dce06760160cc5b728c960cd7db633 (patch)
treee1a66ec4f9c83e9ecf79db3cfff0657dea410ddf /drivers/cdx
parent2851117f8f4218043e4c05d24494fee66e932cbe (diff)
downloadlinux-stable-1904c3f578dce06760160cc5b728c960cd7db633.tar.gz
linux-stable-1904c3f578dce06760160cc5b728c960cd7db633.tar.bz2
linux-stable-1904c3f578dce06760160cc5b728c960cd7db633.zip
phy: qcom-qmp-combo: Introduce drm_bridge
The QMP combo PHY sits in an of_graph connected between the DisplayPort controller and a USB Type-C connector (or possibly a redriver). The TCPM needs to be able to convey the HPD signal to the DisplayPort controller, but no directly link is provided by DeviceTree so the signal needs to "pass through" the QMP combo phy. Handle this by introducing a drm_bridge which upon initialization finds the next bridge (i.e. the usb-c-connector) and chain this together. This way HPD changes in the connector will propagate to the DisplayPort driver. The connector bridge is resolved lazily, as the TCPM is expected to be able to resolve the typec mux and switch at probe time, so the QMP combo phy will probe before the TCPM. Acked-by: Neil Armstrong <neil.armstrong@linaro.org> Tested-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org> Reviewed-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org> Tested-by: Abel Vesa <abel.vesa@linaro.org> Tested-by: Steev Klimaszewski <steev@kali.org> Tested-by: Neil Armstrong <neil.armstrong@linaro.org> # on HDK8450 Tested-by: Johan Hovold <johan+linaro@kernel.org> # X13s Reviewed-by: Johan Hovold <johan+linaro@kernel.org> Signed-off-by: Bjorn Andersson <quic_bjorande@quicinc.com> Link: https://lore.kernel.org/r/20230515032743.400170-7-quic_bjorande@quicinc.com Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers/cdx')
0 files changed, 0 insertions, 0 deletions