diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2018-12-19 20:03:17 +0900 |
---|---|---|
committer | Masahiro Yamada <yamada.masahiro@socionext.com> | 2018-12-29 11:38:36 +0900 |
commit | a13fe7afe9cd79060ecb8ac03265a27ceb7d91eb (patch) | |
tree | ca90340fee133a1a558d1319d73745ee2e7f590b /drivers/clk/clk-uclass.c | |
parent | b32aa9ebc57b8db5052e3b97dc5a3349cd91636b (diff) |
mtd: rawnand: denali_dt: add more clocks based on IP datasheet
Based on Linux commit 6f1fe97bec349a1fd6c5a8c7c5998d759fe721d5
Currently, denali_dt.c requires a single anonymous clock, but
the Denali User's Guide requires three clocks for this IP:
- clk: controller core clock
- clk_x: bus interface clock
- ecc_clk: clock at which ECC circuitry is run
This commit supports these named clocks to represent the real hardware.
For the backward compatibility, the driver still accepts a single clock
just as before. The clk_x_rate is taken from the clock driver again if
the named clock "clk_x" is available. This will happen only for future
DT, hence the existing DT files are not affected.
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'drivers/clk/clk-uclass.c')
0 files changed, 0 insertions, 0 deletions