commit | 105db9593eb53ab85a48bcc2187ff8770b7958ec | [log] [tgz] |
---|---|---|
author | Lukasz Majewski <lukma@denx.de> | Mon Jun 24 15:50:38 2019 +0200 |
committer | Stefano Babic <sbabic@denx.de> | Fri Jul 19 14:50:30 2019 +0200 |
tree | 1cb7fbe26eac81fab7f3d4a35278f5480fb777c7 | |
parent | ec8f1c02dd0c2e8b7302072b3956a9c56139a139 [diff] |
clk: Extend struct clk to provide information regarding clock rate This commit extends the struct clk to provide information regarding the clock rate. As a result the clock tree traversal is performed at most once, and further reads are using the cached value. Signed-off-by: Lukasz Majewski <lukma@denx.de>