Linux USB
 help / color / mirror / Atom feed
* [PATCH] usb: typec: altmodes: select DRM_AUX_HPD_BRIDGE for TYPEC_DP_ALTMODE
@ 2026-07-02  2:20 Chaoyi Chen
  2026-07-02 18:46 ` Julian Braha
  0 siblings, 1 reply; 3+ messages in thread
From: Chaoyi Chen @ 2026-07-02  2:20 UTC (permalink / raw)
  To: Heikki Krogerus, Greg Kroah-Hartman, Xu Yang
  Cc: linux-usb, linux-kernel, Chaoyi Chen

From: Chaoyi Chen <chaoyi.chen@rock-chips.com>

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@oss.nxp.com>
Signed-off-by: Chaoyi Chen <chaoyi.chen@rock-chips.com>
---
 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


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] usb: typec: altmodes: select DRM_AUX_HPD_BRIDGE for TYPEC_DP_ALTMODE
  2026-07-02  2:20 [PATCH] usb: typec: altmodes: select DRM_AUX_HPD_BRIDGE for TYPEC_DP_ALTMODE Chaoyi Chen
@ 2026-07-02 18:46 ` Julian Braha
  2026-07-03  1:36   ` Chaoyi Chen
  0 siblings, 1 reply; 3+ messages in thread
From: Julian Braha @ 2026-07-02 18:46 UTC (permalink / raw)
  To: Chaoyi Chen, Heikki Krogerus, Greg Kroah-Hartman, Xu Yang
  Cc: linux-usb, linux-kernel, Chaoyi Chen

Hi Chaovi,

On 7/2/26 03:20, Chaoyi Chen wrote:
> most likely
> also needed

> +	select DRM_AUX_HPD_BRIDGE if DRM_BRIDGE && OF

Perhaps 'imply' would be more appropriate here instead of 'select'?

- Julian Braha

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] usb: typec: altmodes: select DRM_AUX_HPD_BRIDGE for TYPEC_DP_ALTMODE
  2026-07-02 18:46 ` Julian Braha
@ 2026-07-03  1:36   ` Chaoyi Chen
  0 siblings, 0 replies; 3+ messages in thread
From: Chaoyi Chen @ 2026-07-03  1:36 UTC (permalink / raw)
  To: Julian Braha, Chaoyi Chen, Heikki Krogerus, Greg Kroah-Hartman,
	Xu Yang
  Cc: linux-usb, linux-kernel

Hello Julian,

On 7/3/2026 2:46 AM, Julian Braha wrote:
> Hi Chaovi,
> 
> On 7/2/26 03:20, Chaoyi Chen wrote:
>> most likely
>> also needed
> 
>> +	select DRM_AUX_HPD_BRIDGE if DRM_BRIDGE && OF
> 
> Perhaps 'imply' would be more appropriate here instead of 'select'?
> 

Will fix in v2. Thank you!

-- 
Best, 
Chaoyi


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-07-03  1:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-02  2:20 [PATCH] usb: typec: altmodes: select DRM_AUX_HPD_BRIDGE for TYPEC_DP_ALTMODE Chaoyi Chen
2026-07-02 18:46 ` Julian Braha
2026-07-03  1:36   ` Chaoyi Chen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox