usb: musb-new: fix ti-musb dependencies

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 <yegorslists@googlemail.com>
This commit is contained in:
Yegor Yefremov 2025-09-22 15:05:57 +02:00 committed by Marek Vasut
parent c9fdb9ac4d
commit c9838ec545

View File

@ -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