[PATCH v3] usb: typec: altmodes: select DRM_AUX_HPD_BRIDGE for TYPEC_DP_ALTMODE

From: Chaoyi Chen

Date: Thu Jul 09 2026 - 02:23:37 EST


From: Chaoyi Chen <chaoyi.chen@xxxxxxxxxxxxxx>

When TYPEC_DP_ALTMODE is enabled, DRM_AUX_HPD_BRIDGE is most likely
also needed for embedded platforms. Select it when available.

Suggested-by: Xu Yang <xu.yang_2@xxxxxxxxxxx>
Signed-off-by: Chaoyi Chen <chaoyi.chen@xxxxxxxxxxxxxx>
---
Changes in v3:
- Link to v2: https://lore.kernel.org/all/20260705065832.184-1-kernel@xxxxxxxxxx/
- Use the same "select" as v1 to make things simple.

Changes in v2:
- Link to v1: https://lore.kernel.org/all/20260702022036.44-1-kernel@xxxxxxxxxx/
- Change "select" to "imply".
---

drivers/usb/typec/altmodes/Kconfig | 1 +
1 file changed, 1 insertion(+)

diff --git a/drivers/usb/typec/altmodes/Kconfig b/drivers/usb/typec/altmodes/Kconfig
index 7867fa7c405d..b054c0b6a8d4 100644
--- a/drivers/usb/typec/altmodes/Kconfig
+++ b/drivers/usb/typec/altmodes/Kconfig
@@ -5,6 +5,7 @@ menu "USB Type-C Alternate Mode drivers"
config TYPEC_DP_ALTMODE
tristate "DisplayPort Alternate Mode driver"
depends on DRM
+ select DRM_AUX_HPD_BRIDGE if DRM_BRIDGE && OF
help
DisplayPort USB Type-C Alternate Mode allows DisplayPort
displays and adapters to be attached to the USB Type-C
--
2.54.0