[U-Boot] [PATCH v2 0/4] usb: host: dwc2: use driver model for PHY and CLOCK

Tan, Ley Foon ley.foon.tan at intel.com
Tue Nov 12 07:42:46 UTC 2019



> -----Original Message-----
> From: Marek Vasut <marex at denx.de>
> Sent: Friday, November 8, 2019 11:43 PM
> To: Patrick Delaunay <patrick.delaunay at st.com>; u-boot at lists.denx.de
> Cc: simon.k.r.goldschmidt at gmail.com; b.galvani at gmail.com; Michal
> Suchanek <msuchanek at suse.de>; Sven Schwermer
> <sven at svenschwermer.de>; U-Boot STM32 <uboot-stm32 at st-md-
> mailman.stormreply.com>; Bin Meng <bmeng.cn at gmail.com>; Tan, Ley
> Foon <ley.foon.tan at intel.com>
> Subject: Re: [PATCH v2 0/4] usb: host: dwc2: use driver model for PHY and
> CLOCK
> 
> On 11/8/19 3:47 PM, Patrick Delaunay wrote:
> >
> > In this serie I update the DWC2 host driver to use the device tree
> > information and the associated PHY and CLOCK drivers when they are
> > available.
> 
> I'm kinda on the fence whether to add it into current release or not.
> The patches look generally OK to me.
> 
> Ley, Simon, can you check this on SoCFPGA ?
There is compilation error for Stratix10. Stratix10 doesn't support clock DM framework yet. 
So, this patch needs check for CONFIG_CLK when call to all clock DM functions.

drivers/usb/host/built-in.o: In function `dwc2_usb_remove':
drivers/usb/host/dwc2.c:1441: undefined reference to `clk_disable_bulk'

Tested on Agilex, USB is working fine with this patch.

Regards
Ley Foon

> Bin, can you give it a once-over ?
> 
> If this looks OK to you, I will add it.
> 
> [...]


More information about the U-Boot mailing list