[U-Boot] [PATCH v5 4/9] board: ti: dra7xx-evm: turn on USB clocks in late init stage

Marek Vasut marex at denx.de
Tue May 15 22:13:48 UTC 2018


On 05/15/2018 06:10 PM, Jean-Jacques Hiblot wrote:
> Hi Marek,
> 
> 
> On 04/05/2018 21:06, Marek Vasut wrote:
>>>>>>
>>>>>> Shouldnt the driver turn this on?
>>>>> AFAIK there is no clock driver for the OMAP. So we have to do it
>>>>> before
>>>>> the driver is probed.
>>>> Maybe it's time to implement it instead of piling up those hacks ?
>>> I was thinking along the same lines at some point but then I realized
>>> that it will make the SPL really big. And we are already tight on some
>>> platforms like am335x.
>> But this is not only SPL , right ? And yes, for SPL you might need to
>> poke registers or something.
> 
> IMHO having 2 different ways to enable the clocks in SPL and in u-boot
> is an not improvement over the current situation.
> In any case, This is a subject that can be discussed.

Do you have a better idea ?

> Tom, Lokesh,  do you have an opinion on this ?
> 
> Meanwhile It would nice to have DM_USB support for the DRA7/AM57
> platforms. It allows using a USB ether adapter with CONFIG_DM_ETHER
> enabled (default on TI's platform). And this series allows using the USB
> 3.0 on AM57 evm.
> 
> JJ
> 
> 
> 


-- 
Best regards,
Marek Vasut


More information about the U-Boot mailing list