Thread (13 messages) 13 messages, 6 authors, 2021-11-25

[PATCH v3 0/3] Add hs400 support for rk3399 and rk3568

flat view
STALE1781d

From: Yifeng Zhao <hidden>
Date: 2021-06-29 11:39:57

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


Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help