
9 Nov
2015
9 Nov
'15
9:23 p.m.
Hi Lin,
On 9 November 2015 at 00:02, Lin Huang hl@rock-chips.com wrote:
rk3036 mmc driver is similar to dw_mmc, but use external dma, this patch implment fifo mode, need to do dma mode in future.
What is the plan to merge this driver with the dwmmc one? Also the other code seems very similar to rockchip_dw_mmc.c - can we combine these?
Signed-off-by: Lin Huang hl@rock-chips.com
Changes in v1:
- clean copyright announcement
Changes in v2:
- modify code suggest by Simon:
- use get_time() to do timeout
Changes in v3:
- extend read and write data timeout time
- fix write data read fifo length bug
Changes in v4: None
drivers/mmc/Kconfig | 9 + drivers/mmc/Makefile | 1 + drivers/mmc/rockchip_3036_dw_mmc.c | 485 +++++++++++++++++++++++++++++++++++++ 3 files changed, 495 insertions(+) create mode 100644 drivers/mmc/rockchip_3036_dw_mmc.c
Regards, Simon