Re: [U-Boot] [PATCH] timer: Support clocks via phandle

2016-11-19 Thread Simon Glass
Hi Vlad, On 17 November 2016 at 10:08, Vlad Zakharov wrote: > Earlier timer driver needed a clock-frequency property in compatible > device-tree nodes. Another way is to reference a clock via a phandle. > > So now timer_pre_probe tries to get clock by reference

[U-Boot] [PATCH] timer: Support clocks via phandle

2016-11-17 Thread Vlad Zakharov
Earlier timer driver needed a clock-frequency property in compatible device-tree nodes. Another way is to reference a clock via a phandle. So now timer_pre_probe tries to get clock by reference through device tree. In case it is impossible to get clock device through the reference,