summaryrefslogtreecommitdiff
path: root/include/linux/mfd/tmio.h
diff options
context:
space:
mode:
authorChris Brandt <chris.brandt@renesas.com>2016-09-12 10:15:06 -0400
committerUlf Hansson <ulf.hansson@linaro.org>2016-11-29 09:00:53 +0100
commit8185e51f358a8dd4801b67e8c66f03eb9eeaba75 (patch)
treebe239a93fd696bfe128f0fc23c996e8215c397d1 /include/linux/mfd/tmio.h
parentf19417f38264f9a2f7b4627aa4060133c237b211 (diff)
mmc: tmio-mmc: add support for 32bit data port
For the r7s72100 SOC, the DATA_PORT register was changed to 32-bits wide. Therefore a new flag has been created that will allow 32-bit reads/writes to the DATA_PORT register instead of 16-bit (because 16-bits accesses are not supported). Signed-off-by: Chris Brandt <chris.brandt@renesas.com> Reviewed-by: Wolfram Sang <wsa+renesas@sang-engineering.com> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'include/linux/mfd/tmio.h')
-rw-r--r--include/linux/mfd/tmio.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/mfd/tmio.h b/include/linux/mfd/tmio.h
index 7a26286db895..fba44abd05ba 100644
--- a/include/linux/mfd/tmio.h
+++ b/include/linux/mfd/tmio.h
@@ -100,6 +100,11 @@
#define TMIO_MMC_SDIO_STATUS_QUIRK (1 << 8)
/*
+ * Some controllers have a 32-bit wide data port register
+ */
+#define TMIO_MMC_32BIT_DATA_PORT (1 << 9)
+
+/*
* Some controllers allows to set SDx actual clock
*/
#define TMIO_MMC_CLK_ACTUAL (1 << 10)