summaryrefslogtreecommitdiffstats
path: root/drivers/mmc/host/mmci.h
diff options
context:
space:
mode:
authorLudovic Barre <ludovic.barre@st.com>2018-10-08 14:08:46 +0200
committerUlf Hansson <ulf.hansson@linaro.org>2018-10-09 09:13:04 +0200
commit9b279941244ce4eaa76d079314e9c174c80fabc3 (patch)
treea5dab5a9da95beee9010a7cd8ad74fda618fb28a /drivers/mmc/host/mmci.h
parent0f2448043eab644a939fc206e93032225d3ab6ce (diff)
downloadblackbird-obmc-linux-9b279941244ce4eaa76d079314e9c174c80fabc3.tar.gz
blackbird-obmc-linux-9b279941244ce4eaa76d079314e9c174c80fabc3.zip
mmc: mmci: add variant property to define dpsm bit
This patch adds datactrl variant property to define dpsm enable bit. Needed to support the STM32 variant (STM32 has no dpsm enable bit). Signed-off-by: Ludovic Barre <ludovic.barre@st.com> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'drivers/mmc/host/mmci.h')
-rw-r--r--drivers/mmc/host/mmci.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/mmc/host/mmci.h b/drivers/mmc/host/mmci.h
index 531c247e37be..04d021e83dd0 100644
--- a/drivers/mmc/host/mmci.h
+++ b/drivers/mmc/host/mmci.h
@@ -222,6 +222,7 @@ struct mmci_host;
* register
* @datactrl_mask_sdio: SDIO enable mask in datactrl register
* @datactrl_blksz: block size in power of two
+ * @datactrl_dpsm_enable: enable value for DPSM
* @pwrreg_powerup: power up value for MMCIPOWER register
* @f_max: maximum clk frequency supported by the controller.
* @signal_direction: input/out direction of bus signals can be indicated
@@ -258,6 +259,7 @@ struct variant_data {
unsigned int datactrl_mask_ddrmode;
unsigned int datactrl_mask_sdio;
unsigned int datactrl_blocksz;
+ unsigned int datactrl_dpsm_enable;
u8 st_sdio:1;
u8 st_clkdiv:1;
u8 blksz_datactrl16:1;
OpenPOWER on IntegriCloud