summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorZakharov Vlad <[email protected]>2016-12-09 17:18:32 +0300
committerTom Rini <[email protected]>2016-12-27 11:24:10 -0500
commita5acafb25598ef409f48a7884316a9a4e96c63a4 (patch)
tree07dfbc12afa1c0ff70ec4731e6cb3b9e02afc995 /scripts
parentbd2e9714c851770652253fab858cb50ecd95d329 (diff)
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 <[email protected]> Reviewed-by: Simon Glass <[email protected]>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions