[PATCH u-boot-marvell 04/11] usb: host: make PHY handling more generic

Marek Behun marek.behun at nic.cz
Mon Apr 20 11:27:46 CEST 2020


On Mon, 20 Apr 2020 03:41:49 +0200
Marek Vasut <marex at denx.de> wrote:

> > +	ret = generic_phy_set_mode(&phy, PHY_MODE_USB_HOST_SS, 0);  
> 
> How can this ever work with EHCI , which is HS/FS/LS , but not SS ?
> 

Marek, this is how kernel does it in
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/usb/core/hcd.c#n2628
First PHY_MODE_USB_HOST_SS is tried, then PHY_MODE_USB_HOST.


More information about the U-Boot mailing list