RK3399 and RK3568 are use different sdhci controllers.
The drivers need to be updated to support these two platforms
and it's easy to support new platforms.
Changes in v3:
- Optimize hs200 tuning function.
- Add check for callback function.
- Add return value for tuning function.
- Fixed source clock rate with host->max_clk, the interface clock is divided
from the source clock.
- Config the interface clock by clk_set_rate directly
- Enable SDMA.
Changes in v2:
- Add mmc_of_parse to parse dts config.
- Used read_poll_timeout api to check dll lock status
- Add execute tuning api for hs200 tuning
- Used sdhci_set_clock api to set clock.
- Used read_poll_timeout api to check dll status.
Yifeng Zhao (3):
mmc: rockchip_sdhci: add phy and clock config for rk3399
mmc: rockchip_sdhci: Add support for RK3568
rockchip: config: evb-rk3399: add hs400 and SDMA support
configs/evb-rk3399_defconfig | 2 +
drivers/mmc/rockchip_sdhci.c | 422 ++++++++++++++++++++++++++++++++---
2 files changed, 388 insertions(+), 36 deletions(-)
--
2.17.1