mmc: renesas-sdhi: add support for R-Car Gen3 SDHI DMAC
authorSimon Horman <horms+renesas@verge.net.au>
Wed, 21 Jun 2017 14:00:29 +0000 (16:00 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Wed, 30 Aug 2017 12:01:21 +0000 (14:01 +0200)
commit2a68ea7896e3277d875c5d5e7f34cf2937cb55c3
tree9c3d5c106e7c9fb555821a54f65f596884e34259
parent92d0f925e6344a24b12a6eeb4f1030ec0e70e8d1
mmc: renesas-sdhi: add support for R-Car Gen3 SDHI DMAC

Add a new variant of the SDHI driver to support R-Car Gen3 with DMA via
on-chip bus mastering.  Since the DMAC is in a part of the SDHI module it
is not suitable to be used via DMA Engine.

Clearing of DM_CM_INFO1 after DMA thanks to Dirk Behme

Cc: Dirk Behme <dirk.behme@de.bosch.com>
Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Signed-off-by: Ai Kyuse <ai.kyuse.uw@renesas.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Reviewed-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/Kconfig
drivers/mmc/host/Makefile
drivers/mmc/host/renesas_sdhi_internal_dmac.c [new file with mode: 0644]
drivers/mmc/host/renesas_sdhi_sys_dmac.c
drivers/mmc/host/tmio_mmc.h