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

Jean-Jacques Hiblot jjhiblot at ti.com
Tue May 15 16:10:20 UTC 2018


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.

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





More information about the U-Boot mailing list