From: Yegor Yefremov <[email protected]>

If OF_CONTROL is on, ti-musb.c registers a "ti-musb-wrapper" driver
that requires UCLASS_MISC. Hence, select MISC if both OF_CONTROL
and USB_MUSB_TI are selected.

Signed-off-by: Yegor Yefremov <[email protected]>
---
 drivers/usb/musb-new/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/usb/musb-new/Kconfig b/drivers/usb/musb-new/Kconfig
index ad9072a5327..acd6e3decc3 100644
--- a/drivers/usb/musb-new/Kconfig
+++ b/drivers/usb/musb-new/Kconfig
@@ -40,6 +40,7 @@ config USB_MUSB_DA8XX
 config USB_MUSB_TI
        bool "Enable TI OTG USB controller"
        depends on AM33XX
+       select MISC if OF_CONTROL
        select USB_MUSB_DSPS
        help
          Say y here to enable support for the dual role high
-- 
2.34.1

Reply via email to