[PATCH v3 0/2] usb: typec: qcom-pmic-typec: enable DP support

From: Dmitry Baryshkov
Date: Fri Jul 28 2023 - 06:09:09 EST


To enable DisplayPort on the platforms supported by qcom-pmic-typec
driver, we need to register a corresponding drm_bridge for this device
to be able to receive the OOB hotplug event sent to the corresponding
DRM connector.

Reception of the hotplug event is implemented by [1], but there is no
direct dependency on that patchset. This series implements the remaining
parts: registration of the drm_bridge and setting of the proper
destination for the OOB hotplug event.

[1] https://patchwork.freedesktop.org/series/120393/

Changes since v2:
- Reworded commit message for the first patch to explicitly mention that
the "displayport" OF property was rejected (Bjorn)
- Removed several #ifdefs from the qcom-pmic-typec patch (Bryan, Konrad,
Greg K-H)

Changes since v1:
- Properly handle CONFIG_DRM dependency. Disallow building DRM as a
module if qcom-pmic-typec driver is built-in (Bryan).

Dmitry Baryshkov (2):
usb: typec: altmodes/displayport: add support for embedded DP cases
usb: typec: qcom-pmic-typec: register drm_bridge

drivers/usb/typec/altmodes/displayport.c | 5 ++-
drivers/usb/typec/tcpm/Kconfig | 1 +
drivers/usb/typec/tcpm/qcom/qcom_pmic_typec.c | 35 +++++++++++++++++++
3 files changed, 40 insertions(+), 1 deletion(-)

--
2.39.2