drm/msm/dp: Add typec_mux implementation
RFC 1/1 drm/msm/dp: Add typec_mux implementation
Implement a typec_mux in order to allow a Type-C controller to signal the connection and attention of DisplayPort to the related USB-C port.
The remains of support for something along this lines was left in the dp_display as the driver was upstreamed, so these are reused with minimal modifications necessary.
When operating in this mode, HPD interrupts has still been observed in the ISR so, in line with the downstream kernel, these are ignored.
Signed-off-by Bjorn Andersson <[email protected]>
---
This applies on top of https://lore.kernel.org/linux-arm-msm/[email protected]/
drivers/gpu/drm/msm/Kconfig | 1 + drivers/gpu/drm/msm/dp/dp_display.c | 52 ++++++++++++++++----------- drivers/gpu/drm/msm/dp/dp_hpd.c | 54 +++++++++++++++++++++++++++++ 3 files changed, 87 insertions(+), 20 deletions(-)
drivers/gpu/drm/msm/Kconfig +1 -0
@@ -9,6 +9,7 @@ config DRM_MSM depends on QCOM_OCMEM || QCOM_OCMEM=n depends on QCOM_LLCC || QCOM_LLCC=n depends on QCOM_COMMAND_DB || QCOM_COMMAND_DB=n + depends on TYPEC || TYPEC=n select IOMMU_IO_PGTABLE select QCOM_MDT_LOADER if ARCH_QCOM select REGULATOR
drivers/gpu/drm/msm/dp/dp_display.c +32 -20
95 lines not on this page · raw message
drivers/gpu/drm/msm/dp/dp_hpd.c +54 -0
80 lines not on this page · raw message
Signature · 1 line
2.29.2