Re: [PATCH v2 2/3] hw/arm/fsl-imx6ul: Wire up USB controllers

2020-03-12 Thread Guenter Roeck
On Thu, Mar 12, 2020 at 05:05:25PM +, Peter Maydell wrote: > On Thu, 12 Mar 2020 at 16:55, Guenter Roeck wrote: > > > > On Thu, Mar 12, 2020 at 01:19:41PM +, Peter Maydell wrote: > > > On Tue, 10 Mar 2020 at 21:04, Guenter Roeck wrote: > > > > diff --git a/hw/arm/fsl-imx6ul.c b/hw/arm/fsl

Re: [PATCH v2 2/3] hw/arm/fsl-imx6ul: Wire up USB controllers

2020-03-12 Thread Peter Maydell
On Thu, 12 Mar 2020 at 16:55, Guenter Roeck wrote: > > On Thu, Mar 12, 2020 at 01:19:41PM +, Peter Maydell wrote: > > On Tue, 10 Mar 2020 at 21:04, Guenter Roeck wrote: > > > diff --git a/hw/arm/fsl-imx6ul.c b/hw/arm/fsl-imx6ul.c > > > @@ -456,6 +467,28 @@ static void fsl_imx6ul_realize(Devic

Re: [PATCH v2 2/3] hw/arm/fsl-imx6ul: Wire up USB controllers

2020-03-12 Thread Guenter Roeck
On Thu, Mar 12, 2020 at 01:19:41PM +, Peter Maydell wrote: > On Tue, 10 Mar 2020 at 21:04, Guenter Roeck wrote: > > > > IMX6UL USB controllers are quite similar to IMX7 USB controllers. > > Wire them up the same way. > > > > The only real difference is that wiring up phy devices is necessary >

Re: [PATCH v2 2/3] hw/arm/fsl-imx6ul: Wire up USB controllers

2020-03-12 Thread Peter Maydell
On Tue, 10 Mar 2020 at 21:04, Guenter Roeck wrote: > > IMX6UL USB controllers are quite similar to IMX7 USB controllers. > Wire them up the same way. > > The only real difference is that wiring up phy devices is necessary > to avoid phy reset timeouts in the Linux kernel. > > Signed-off-by: Guente

[PATCH v2 2/3] hw/arm/fsl-imx6ul: Wire up USB controllers

2020-03-10 Thread Guenter Roeck
IMX6UL USB controllers are quite similar to IMX7 USB controllers. Wire them up the same way. The only real difference is that wiring up phy devices is necessary to avoid phy reset timeouts in the Linux kernel. Signed-off-by: Guenter Roeck --- v2: Use USB PHY emulation hw/arm/fsl-imx6ul.c