]> git.dujemihanovic.xyz Git - u-boot.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)
commitac804143cfd128d144403ef2434344988c3fde9f
tree0af99d7479e457d3a1bb405f9f2bad546e53ffb3
parentd2a74ec91b6bcf1b83d9a437c63d6b56b166c85b
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