mmc: rockchip: add SDHCI driver support for rockchip soc
authorKever Yang <kever.yang@rock-chips.com>
Mon, 18 Jul 2016 09:00:58 +0000 (17:00 +0800)
committerSimon Glass <sjg@chromium.org>
Tue, 26 Jul 2016 02:46:46 +0000 (20:46 -0600)
commit79c830653bab23bb0b6ce34793659b459cbacaa0
tree273332d2c07df7bde52799aeac6b54bd58b5c012
parentd26f375ae467ec633ac4f8ab31ad6337893c0fd3
mmc: rockchip: add SDHCI driver support for rockchip soc

Rockchip rk3399 using arasan sdhci-5.1 controller.
This patch add the controller support to enable mmc device
with full driver-model support, tested on rk3399 evb board.

According to my test result, this driver should be OK,
the command "part list mmc 0" can result in a right output,
but all the mmc command failed like this:
=> mmc info
No MMC device available
Command failed, result=1

The result of get_mmc_num in cmd/mmc.c is always 0?

Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
Acked-by: Simon Glass <sjg@chromium.org>
drivers/mmc/Kconfig
drivers/mmc/Makefile
drivers/mmc/rockchip_sdhci.c [new file with mode: 0644]