]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
usb: musb-new: fix ti-musb dependencies
authorYegor Yefremov <yegorslists@googlemail.com>
Mon, 22 Sep 2025 13:05:57 +0000 (15:05 +0200)
committerMarek Vasut <marek.vasut+usb@mailbox.org>
Tue, 4 Nov 2025 11:42:09 +0000 (12:42 +0100)
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>
drivers/usb/musb-new/Kconfig

index 0e2b2b5fb85772d43458ff8d28199e7afcebdeeb..f8daaddc657e3e69c318b080ef0f64cf90935f8a 100644 (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