[U-Boot] [U-Boot,v3] timer: Support clocks via phandle
Tom Rini
trini at konsulko.com
Tue Dec 27 23:56:15 CET 2016
On Fri, Dec 09, 2016 at 05:18:32PM +0300, Zakharov Vlad 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 through device
> tree. In case it is impossible to get clock device through the
> reference, clock-frequency property of the timer node is read to provide
> backward compatibility.
>
> Signed-off-by: Vlad Zakharov <vzakhar at synopsys.com>
> Reviewed-by: Simon Glass <sjg at chromium.org>
Applied to u-boot/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20161227/913c1694/attachment.sig>
More information about the U-Boot
mailing list