]> git.baikalelectronics.ru Git - uboot.git/commit
mmc: rockchip_sdhci: add phy and clock config for rk3399
authorYifeng Zhao <yifeng.zhao@rock-chips.com>
Tue, 29 Jun 2021 08:24:41 +0000 (16:24 +0800)
committerKever Yang <kever.yang@rock-chips.com>
Wed, 11 Aug 2021 10:02:07 +0000 (18:02 +0800)
commit98a215fb58f0fa2b6b65be2490666476fa2ed0dc
tree0af99d7479e457d3a1bb405f9f2bad546e53ffb3
parentba6e3f080b46cad11af9b70ee2627baf78fb5c1d
mmc: rockchip_sdhci: add phy and clock config for rk3399

Add clock, phy and other configuration, it is convenient to support
new controller. Here a short summary of the changes:
- Add mmc_of_parse to parse dts config.
- Remove OF_PLATDATA related code.
- Reorder header inclusion.
- Add phy ops.
- add ops set_ios_post to modify the parameters of phy when the
  clock changes.
- Add execute tuning api for hs200 tuning.

Signed-off-by: Yifeng Zhao <yifeng.zhao@rock-chips.com>
Reviewed-by: Jaehoon Chung <jh80.chung@samsung.com>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
drivers/mmc/rockchip_sdhci.c