[PATCH 3/5] usb: dwc3-generic: Add dependency on SIMPLE_BUS

Marek Vasut marex at denx.de
Mon Jan 23 02:42:03 CET 2023


On 1/23/23 01:47, Kunihiko Hayashi wrote:
> The glue driver doesn't do or offer actively anything, SIMPLE_BUS is
> more preferable to represent the driver.
> 
> Signed-off-by: Kunihiko Hayashi <hayashi.kunihiko at socionext.com>
> ---
>   drivers/usb/dwc3/Kconfig | 4 ++--
>   1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/usb/dwc3/Kconfig b/drivers/usb/dwc3/Kconfig
> index f010291d02..dadaa083e7 100644
> --- a/drivers/usb/dwc3/Kconfig
> +++ b/drivers/usb/dwc3/Kconfig
> @@ -25,14 +25,14 @@ config USB_DWC3_OMAP
>   
>   config USB_DWC3_GENERIC
>   	bool "Generic implementation of a DWC3 wrapper (aka dwc3 glue)"
> -	depends on DM_USB && USB_DWC3 && MISC
> +	depends on DM_USB && USB_DWC3 && (MISC || SIMPLE_BUS)

I'm afraid I don't understand why this change is needed for all variants 
of DWC3.

Is this needed for socionext dwc3 variant to handle the simple-mfd in 
e.g. arch/arm/dts/uniphier-pxs3.dtsi :

614 usb-glue at 65b00000 {
615     compatible = "socionext,uniphier-pxs3-dwc3-glue",
616              "simple-mfd";

?


More information about the U-Boot mailing list