aboutsummaryrefslogtreecommitdiff
path: root/include/linux/mfd
diff options
context:
space:
mode:
authorYoshihiro Shimoda <[email protected]>2017-06-21 16:00:27 +0200
committerUlf Hansson <[email protected]>2017-08-30 14:01:21 +0200
commit603aa14d3daaa7073bab4c472025c4963030e0cc (patch)
treee4017147ab30285dd2cd3526ec8e6cd678ec986f /include/linux/mfd
parent6bba406445e6be29a736304f7dd2773665ef6d34 (diff)
mmc: tmio, renesas-sdhi: add max_{segs, blk_count} to tmio_mmc_data
Allow TMIO and SDHI driver implementations to provide values for max_segs and max_blk_count. A follow-up patch will set these values for Renesas Gen3 SoCs the using an SDHI driver. Signed-off-by: Yoshihiro Shimoda <[email protected]> Signed-off-by: Ai Kyuse <[email protected]> Signed-off-by: Simon Horman <[email protected]> Reviewed-by: Wolfram Sang <[email protected]> Signed-off-by: Ulf Hansson <[email protected]>
Diffstat (limited to 'include/linux/mfd')
-rw-r--r--include/linux/mfd/tmio.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/mfd/tmio.h b/include/linux/mfd/tmio.h
index 26e8f8c0a6db..18b17a39d465 100644
--- a/include/linux/mfd/tmio.h
+++ b/include/linux/mfd/tmio.h
@@ -128,6 +128,8 @@ struct tmio_mmc_data {
unsigned int cd_gpio;
int alignment_shift;
dma_addr_t dma_rx_offset;
+ unsigned int max_blk_count;
+ unsigned short max_segs;
void (*set_pwr)(struct platform_device *host, int state);
void (*set_clk_div)(struct platform_device *host, int state);
};