usb: typec: ucsi: huawei-gaokin: add DRM dependency
Subsystems (2)
PATCH 1/1 usb: typec: ucsi: huawei-gaokin: add DRM dependency
From: Arnd Bergmann <[email protected]>
Selecting DRM_AUX_HPD_BRIDGE is not possible from a built-in driver when CONFIG_DRM=m:
WARNING: unmet direct dependencies detected for DRM_AUX_HPD_BRIDGE
Depends on [m]: HAS_IOMEM [=y] && DRM [=m] && DRM_BRIDGE [=y] && OF [=y]
Selected by [y]:
- UCSI_HUAWEI_GAOKUN [=y] && USB_SUPPORT [=y] && TYPEC [=y] && TYPEC_UCSI [=y] && EC_HUAWEI_GAOKUN [=y] && DRM_BRIDGE [=y] && OF [=y]
Add the same dependency we have in similar drivers to work around this.
--- drivers/usb/typec/ucsi/Kconfig | 1 + 1 file changed, 1 insertion(+)
drivers/usb/typec/ucsi/Kconfig +1 -0
@@ -96,6 +96,7 @@ config UCSI_LENOVO_YOGA_C630 config UCSI_HUAWEI_GAOKUN tristate "UCSI Interface Driver for Huawei Matebook E Go" depends on EC_HUAWEI_GAOKUN + depends on DRM || !DRM select DRM_AUX_HPD_BRIDGE if DRM_BRIDGE && OF help This driver enables UCSI support on the Huawei Matebook E Go tablet,
Signature · 1 line
2.39.5
Thu, Dec 04, 2025 at 11:11:07AM +0100, Arnd Bergmann kirjoitti:
Quoted 10 lines
From: Arnd Bergmann <[email protected]>
Selecting
DRM_AUX_HPD_BRIDGEis not possible from a built-in driver whenCONFIG_DRM=m:WARNING: unmet direct dependencies detected for
DRM_AUX_HPD_BRIDGE
Depends on [m]:HAS_IOMEM[=y] && DRM [=m] &&DRM_BRIDGE[=y] && OF [=y]
Selected by [y]:
-UCSI_HUAWEI_GAOKUN[=y] &&USB_SUPPORT[=y] && TYPEC [=y] &&TYPEC_UCSI[=y] &&EC_HUAWEI_GAOKUN[=y] &&DRM_BRIDGE[=y] && OF [=y]
Quoted 4 lines
Add the same dependency we have in similar drivers to work around this.
Fixes 00327d7f2c8c ("usb: typec: ucsi: add Huawei Matebook E Go ucsi driver")Signed-off-by Arnd Bergmann <[email protected]>
Quoted 18 lines
--- drivers/usb/typec/ucsi/Kconfig | 1 + 1 file changed, 1 insertion(+)drivers/usb/typec/ucsi/Kconfig +1
-0@@ -96,6 +96,7 @@ config UCSI_LENOVO_YOGA_C630 config UCSI_HUAWEI_GAOKUN tristate "UCSI Interface Driver for Huawei Matebook E Go" depends on EC_HUAWEI_GAOKUN + depends on DRM || !DRM select DRM_AUX_HPD_BRIDGE if DRM_BRIDGE && OF help This driver enables UCSI support on the Huawei Matebook E Go tablet,Signature · 1 line
2.39.5
Signature · 1 line
heikki