mmc: mmci: Add support for sdmmc variant revision v2.2
authorYann Gautier <yann.gautier@foss.st.com>
Wed, 15 Dec 2021 14:17:24 +0000 (15:17 +0100)
committerUlf Hansson <ulf.hansson@linaro.org>
Tue, 21 Dec 2021 12:05:48 +0000 (13:05 +0100)
The change is only hardware, and does not need driver change:
Added hardware flow control during transmit packet with variable delay.
The new id is then added to the ids list structure.

Signed-off-by: Yann Gautier <yann.gautier@foss.st.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/20211215141727.4901-2-yann.gautier@foss.st.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/mmci.c

index c9cacd4d5b22f7c6bef9f5c5b47b4dac05b6c019..c0478dfa61b9bba294d9437bdb8c933359943163 100644 (file)
@@ -2435,6 +2435,11 @@ static const struct amba_id mmci_ids[] = {
                .mask   = 0xf0ffffff,
                .data   = &variant_stm32_sdmmcv2,
        },
+       {
+               .id     = 0x20253180,
+               .mask   = 0xf0ffffff,
+               .data   = &variant_stm32_sdmmcv2,
+       },
        /* Qualcomm variants */
        {
                .id     = 0x00051180,