commit | 0425947155de84ed8f7ceb8149d1a7aeccf1fd04 | [log] [tgz] |
---|---|---|
author | Yang Xiwen <forbidden405@outlook.com> | Thu Feb 01 22:05:42 2024 +0800 |
committer | Jaehoon Chung <jh80.chung@samsung.com> | Mon Apr 15 16:01:15 2024 +0900 |
tree | a011fdaf6ca6b2ed7e6a1dda23c2574a981ecc7b | |
parent | 67c77f99f0ef76890e277b34af91372c4a9c4900 [diff] |
mmc: hi6220-dwmmc: handle clocks and resets if CONFIG_CLK and CONFIG_DM_RESET enabled This can avoid hardcoding a clock rate in driver. Also can enable the clocks and deassert the resets if the pre-bootloader does not do this for us. Currently only enabled for Hi3798MV200. Signed-off-by: Yang Xiwen <forbidden405@outlook.com> Reviewed-by: Jaehoon Chung <jh80.chung@samsung.com>