adapting commit ac804143cf ("mmc: rockchip_sdhci: add phy and clock
config for rk3399") to fix the issue "Not found emmc phy device".
Signed-off-by: Yifeng Zhao
---
arch/arm/dts/rk3399-u-boot.dtsi | 4
1 file changed, 4 insertions(+)
diff --git a/arch/arm/dts/rk339
The default configuration of rk3399 EMMC PHY does not enable the
strobe line, and EMMC controller will got data transmission error
at HS400 mode.
Signed-off-by: Yifeng Zhao
---
drivers/mmc/rockchip_sdhci.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/mmc/rockchip_sdhci.c b
the
clock changes.
- Add execute tuning api for hs200 tuning.
Signed-off-by: Yifeng Zhao
---
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 divi
This patch adds support for the RK3568 platform to this driver.
Signed-off-by: Yifeng Zhao
---
Changes in v3:
- Config the interface clock by clk_set_rate directly
Changes in v2:
- Used sdhci_set_clock api to set clock.
- Used read_poll_timeout api to check dll status.
drivers/mmc
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
con
This enable hs400 and SDMA support for emmc on evb-rk3399.
Signed-off-by: Yifeng Zhao
---
Changes in v3:
- Enable SDMA.
configs/evb-rk3399_defconfig | 2 ++
1 file changed, 2 insertions(+)
diff --git a/configs/evb-rk3399_defconfig b/configs/evb-rk3399_defconfig
index 21477719dc..d5eba1d903
the
clock changes.
- Add execute tuning api for hs200 tuning
Signed-off-by: Yifeng Zhao
---
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
drivers/mmc/rockchip_sdhci.c | 310
This patch adds support for the RK3568 platform to this driver.
Signed-off-by: Yifeng Zhao
---
Changes in v2:
- Used sdhci_set_clock api to set clock.
- Used read_poll_timeout api to check dll status.
drivers/mmc/rockchip_sdhci.c | 117 +++
1 file changed, 117
This enable hs200 and hs400 support for emmc on evb-rk3399.
Signed-off-by: Yifeng Zhao
---
(no changes since v1)
configs/evb-rk3399_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/configs/evb-rk3399_defconfig b/configs/evb-rk3399_defconfig
index 909c68822c..687aeec26c 100644
i 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 hs200 and hs400 support
config
.
- The original bad block mask is not supported. It is recommended to
use the BBT(bad block table).
Signed-off-by: Yifeng Zhao
---
drivers/mtd/nand/raw/Kconfig| 16 +
drivers/mtd/nand/raw/Makefile |1 +
drivers/mtd/nand/raw/rockchip_nfc.c | 1253
set_ios_post to modify the parameters of phy when the
clock changes
Signed-off-by: Yifeng Zhao
---
drivers/mmc/rockchip_sdhci.c | 334 +++
1 file changed, 303 insertions(+), 31 deletions(-)
diff --git a/drivers/mmc/rockchip_sdhci.c b/drivers/mmc/rockchip_sdhci.c
index
This patch adds support for the RK3568 platform to this driver.
Signed-off-by: Yifeng Zhao
---
drivers/mmc/rockchip_sdhci.c | 103 +++
1 file changed, 103 insertions(+)
diff --git a/drivers/mmc/rockchip_sdhci.c b/drivers/mmc/rockchip_sdhci.c
index 05ed998eca
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.
Yifeng Zhao (2):
mmc: rockchip_sdhci: add phy and clock config for rk3399
mmc: rockchip_sdhci: Add support for RK3568
driver
14 matches
Mail list logo