• Ludovic Barre's avatar
    mmc: mmci: add stm32 sdmmc variant · 46b723dd
    Ludovic Barre authored
    This patch adds a stm32 sdmmc variant, rev 1.1.
    Introduces a new Manufacturer id "0x53, ascii 'S' to define
    new stm32 sdmmc family with clean range of amba
    revision/configurations bits (corresponding to sdmmc_ver
    register with major/minor fields).
    Add 2 variants properties:
    -dma_lli, to enable link list support.
    -stm32_idmabsize_mask, defines the range of SDMMC_IDMABSIZER register
     which specify the number bytes per buffer.
    
    DT properties for sdmmc:
    -Indicate signal directions (only one property
     for d0dir, d123dir, cmd_dir)
    -Select command and data phase relation.
    -Select "clock in" from an external driver.
    Signed-off-by: default avatarLudovic Barre <ludovic.barre@st.com>
    Signed-off-by: default avatarUlf Hansson <ulf.hansson@linaro.org>
    46b723dd
mmci.c 55.3 KB