Re: [U-Boot] [PATCH] sunxi: A64: OHCI: prevent turning off shared USB clock

2018-07-04 Thread Jagan Teki
On Wed, Jul 4, 2018 at 9:41 PM, Andre Przywara wrote: > Hi, > > On 04/07/18 16:51, Jagan Teki wrote: >> On Wed, Jul 4, 2018 at 8:03 PM, Andre Przywara >> wrote: >>> Hi, >>> >>> On 04/07/18 12:10, Marek Vasut wrote: On 07/04/2018 12:03 PM, Andre Przywara wrote: > Hi, > > On

Re: [U-Boot] [PATCH] sunxi: A64: OHCI: prevent turning off shared USB clock

2018-07-04 Thread Andre Przywara
Hi, On 04/07/18 16:51, Jagan Teki wrote: > On Wed, Jul 4, 2018 at 8:03 PM, Andre Przywara wrote: >> Hi, >> >> On 04/07/18 12:10, Marek Vasut wrote: >>> On 07/04/2018 12:03 PM, Andre Przywara wrote: Hi, On 04/07/18 08:14, Marek Vasut wrote: > On 07/04/2018 02:05 AM, Andre

Re: [U-Boot] [PATCH] sunxi: A64: OHCI: prevent turning off shared USB clock

2018-07-04 Thread Jagan Teki
On Wed, Jul 4, 2018 at 8:03 PM, Andre Przywara wrote: > Hi, > > On 04/07/18 12:10, Marek Vasut wrote: >> On 07/04/2018 12:03 PM, Andre Przywara wrote: >>> Hi, >>> >>> On 04/07/18 08:14, Marek Vasut wrote: On 07/04/2018 02:05 AM, Andre Przywara wrote: > On the A64 the clock for the first

Re: [U-Boot] [PATCH] sunxi: A64: OHCI: prevent turning off shared USB clock

2018-07-04 Thread Andre Przywara
Hi, On 04/07/18 12:10, Marek Vasut wrote: > On 07/04/2018 12:03 PM, Andre Przywara wrote: >> Hi, >> >> On 04/07/18 08:14, Marek Vasut wrote: >>> On 07/04/2018 02:05 AM, Andre Przywara wrote: On the A64 the clock for the first USB controller is actually the parent of the clock for the

Re: [U-Boot] [PATCH] sunxi: A64: OHCI: prevent turning off shared USB clock

2018-07-04 Thread Marek Vasut
On 07/04/2018 12:03 PM, Andre Przywara wrote: > Hi, > > On 04/07/18 08:14, Marek Vasut wrote: >> On 07/04/2018 02:05 AM, Andre Przywara wrote: >>> On the A64 the clock for the first USB controller is actually the parent >>> of the clock for the second controller, so turning them off in that order

Re: [U-Boot] [PATCH] sunxi: A64: OHCI: prevent turning off shared USB clock

2018-07-04 Thread Andre Przywara
Hi, On 04/07/18 08:14, Marek Vasut wrote: > On 07/04/2018 02:05 AM, Andre Przywara wrote: >> On the A64 the clock for the first USB controller is actually the parent >> of the clock for the second controller, so turning them off in that order >> makes the system hang. >> Fix this by *not* turning

Re: [U-Boot] [PATCH] sunxi: A64: OHCI: prevent turning off shared USB clock

2018-07-04 Thread Marek Vasut
On 07/04/2018 02:05 AM, Andre Przywara wrote: > On the A64 the clock for the first USB controller is actually the parent > of the clock for the second controller, so turning them off in that order > makes the system hang. > Fix this by *not* turning off any clock for OHCI0, but both clocks when >

Re: [U-Boot] [PATCH] sunxi: A64: OHCI: prevent turning off shared USB clock

2018-07-04 Thread Jagan Teki
On Wed, Jul 4, 2018 at 5:35 AM, Andre Przywara wrote: > On the A64 the clock for the first USB controller is actually the parent > of the clock for the second controller, so turning them off in that order > makes the system hang. > Fix this by *not* turning off any clock for OHCI0, but both

[U-Boot] [PATCH] sunxi: A64: OHCI: prevent turning off shared USB clock

2018-07-03 Thread Andre Przywara
On the A64 the clock for the first USB controller is actually the parent of the clock for the second controller, so turning them off in that order makes the system hang. Fix this by *not* turning off any clock for OHCI0, but both clocks when OHCI1 is brought down. Signed-off-by: Andre Przywara