diff options
author | Zakharov Vlad <Vladislav.Zakharov@synopsys.com> | 2016-12-09 14:18:32 (GMT) |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2016-12-27 16:24:10 (GMT) |
commit | a5acafb25598ef409f48a7884316a9a4e96c63a4 (patch) | |
tree | 07dfbc12afa1c0ff70ec4731e6cb3b9e02afc995 /configs/sbc8548_defconfig | |
parent | bd2e9714c851770652253fab858cb50ecd95d329 (diff) | |
download | u-boot-fsl-qoriq-a5acafb25598ef409f48a7884316a9a4e96c63a4.tar.xz |
timer: Support clocks via phandle
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@synopsys.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'configs/sbc8548_defconfig')
0 files changed, 0 insertions, 0 deletions