Commit 81a77ee9 authored by Ludovic Barre's avatar Ludovic Barre Committed by Ulf Hansson

mmc: mmci: add sdio datactrl mask for sdmmc revisions

This patch adds datactrl_mask_sdio for sdmmc revisions.
sdmmc revisions used same bit of previous ST variant.
Signed-off-by: default avatarLudovic Barre <ludovic.barre@st.com>
Link: https://lore.kernel.org/r/20200611132839.4515-1-ludovic.barre@st.comSigned-off-by: default avatarUlf Hansson <ulf.hansson@linaro.org>
parent c99e1d0c
...@@ -267,6 +267,7 @@ static struct variant_data variant_stm32_sdmmc = { ...@@ -267,6 +267,7 @@ static struct variant_data variant_stm32_sdmmc = {
.datalength_bits = 25, .datalength_bits = 25,
.datactrl_blocksz = 14, .datactrl_blocksz = 14,
.datactrl_any_blocksz = true, .datactrl_any_blocksz = true,
.datactrl_mask_sdio = MCI_DPSM_ST_SDIOEN,
.stm32_idmabsize_mask = GENMASK(12, 5), .stm32_idmabsize_mask = GENMASK(12, 5),
.busy_timeout = true, .busy_timeout = true,
.busy_detect = true, .busy_detect = true,
...@@ -292,6 +293,7 @@ static struct variant_data variant_stm32_sdmmcv2 = { ...@@ -292,6 +293,7 @@ static struct variant_data variant_stm32_sdmmcv2 = {
.datalength_bits = 25, .datalength_bits = 25,
.datactrl_blocksz = 14, .datactrl_blocksz = 14,
.datactrl_any_blocksz = true, .datactrl_any_blocksz = true,
.datactrl_mask_sdio = MCI_DPSM_ST_SDIOEN,
.stm32_idmabsize_mask = GENMASK(16, 5), .stm32_idmabsize_mask = GENMASK(16, 5),
.dma_lli = true, .dma_lli = true,
.busy_timeout = true, .busy_timeout = true,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment