[PATCH 19/19] ARM: imx8m: verdin-imx8mm: Enable USB Host support

Marek Vasut marex at denx.de
Sat Apr 10 02:48:11 CEST 2021


On 4/8/21 9:08 AM, Marcel Ziswiler wrote:
> Hi Marek

Hi,

> Upon compiling I noticed the following but I do realize that it is not this patch set which introduced this
> issue.
> 
> drivers/usb/host/ehci-mx6.c: In function ‘ehci_usb_probe’:
> drivers/usb/host/ehci-mx6.c:686:30: warning: cast from pointer to integer of different size [-Wpointer-to-int-
> cast]
>    686 |  hccr = (struct ehci_hccr *)((uint32_t)&ehci->caplength);

That's easy enough to fix.

[...]

> Then upon booting I noticed the following two issues. Did you also see that?
> 
> write error to device: 930f90 register: x!write error to device: 930f90 register: x!write error to device:
> 930f90 register: x!write error to device: 930f90 register: x!Normal Boot
> 
> imx_wdt watchdog at 30280000: pinctrl_select_state_full: uclass_get_device_by_phandle_id: err=-19

I suspect this has nothing to do with USB, but rather PMIC and then WDT?

> Anyway, the USB host stuff this patch is about works perfectly. Thanks!

Great. Except V2 as soon as I sort out a few remaining CI issues.


More information about the U-Boot mailing list