diff options
| author | Zakharov Vlad <[email protected]> | 2016-12-09 17:18:32 +0300 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2016-12-27 11:24:10 -0500 |
| commit | a5acafb25598ef409f48a7884316a9a4e96c63a4 (patch) | |
| tree | 07dfbc12afa1c0ff70ec4731e6cb3b9e02afc995 /scripts | |
| parent | bd2e9714c851770652253fab858cb50ecd95d329 (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
