usb: typec: altmodes: select DRM_AUX_HPD_BRIDGE for TYPEC_DP_ALTMODE
Subsystems (3)
PATCH 1/1 usb: typec: altmodes: select DRM_AUX_HPD_BRIDGE for TYPEC_DP_ALTMODE
From: Chaoyi Chen <[email protected]>
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 <[email protected]>
Signed-off-by Chaoyi Chen <[email protected]>
--- drivers/usb/typec/altmodes/Kconfig | 1 + 1 file changed, 1 insertion(+)
drivers/usb/typec/altmodes/Kconfig +1 -0
@@ -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
Signature · 1 line
2.54.0
Hi Chaovi,
drivers/usb/typec/altmodes/Kconfig menu "USB Type-C Alternate Mode drivers" · line 8
Quoted 4 lines · Chaoyi Chen
most likely
also neededdrivers/usb/typec/altmodes/Kconfig +1
-0+ select DRM_AUX_HPD_BRIDGE if DRM_BRIDGE && OF
Perhaps 'imply' would be more appropriate here instead of 'select'?
- Julian Braha
Hello Julian,
Quoted 10 lines · Julian Braha
Hi Chaovi,
drivers/usb/typec/altmodes/Kconfig menu "USB Type-C Alternate Mode drivers" · line 8
Quoted 4 lines · Chaoyi Chen
most likely
also neededdrivers/usb/typec/altmodes/Kconfig +1
-0+ select DRM_AUX_HPD_BRIDGE if DRM_BRIDGE && OFPerhaps 'imply' would be more appropriate here instead of 'select'?
Will fix in v2. Thank you!
Signature · 2 lines
Best, Chaoyi