Searched hist:"577 a294eea5e25282801ab30bae20998a64c3149" (Results 1 – 1 of 1) sorted by relevance
| /rk3399_rockchip-uboot/drivers/mtd/nand/raw/ |
| H A D | denali_dt.c | 577a294eea5e25282801ab30bae20998a64c3149 Wed Dec 19 11:03:17 UTC 2018 Masahiro Yamada <yamada.masahiro@socionext.com> UPSTREAM: 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.
Change-Id: Ib1b3913554f5a3cad89f6ca919a3ca8e020bb1ad Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Signed-off-by: Jon Lin <jon.lin@rock-chips.com> (cherry picked from commit a13fe7afe9cd79060ecb8ac03265a27ceb7d91eb)
|