mbox series

[v2,0/6] Update MMCI driver for STM32MP25

Message ID 20230619115120.64474-1-yann.gautier@foss.st.com (mailing list archive)
Headers show
Series Update MMCI driver for STM32MP25 | expand

Message

Yann Gautier June 19, 2023, 11:51 a.m. UTC
STM32MP25 is a new SoC from STMicroelectronics. The machine was
pushed by Alexandre [1] in his tree.
On this new SoC, the SDMMC peripheral, using PL18x/MMCI driver
has been updated to v3.
The driver has been updated to manage this new version, and the new
features it supports:
* FIFO size increased from 64B to 1kB
* IDMA size alignment/mask updated
* New block gap hardware flow control
* Delay block updated and dependent on SoC

This series was pushed on top of next branch in Ulf's mmc tree, as it
requires feedback clock update patch [2].

[1] https://lore.kernel.org/lkml/59f4a900-34ee-d991-c350-265d38e7c862@foss.st.com/T/
[2] https://lore.kernel.org/r/20230613150148.429828-1-yann.gautier@foss.st.com

Changes in v2:
- update dt-bindings file (remove bootloader reference and use enum)

Yann Gautier (6):
  dt-bindings: mmc: mmci: Add st,stm32mp25-sdmmc2 compatible
  mmc: mmci: add stm32_idmabsize_align parameter
  mmc: mmci: Add support for sdmmc variant revision v3.0
  mmc: mmci: stm32: manage block gap hardware flow control
  mmc: mmci: stm32: prepare other delay block support
  mmc: mmci: stm32: add delay block support for STM32MP25

 .../devicetree/bindings/mmc/arm,pl18x.yaml    |   7 +-
 drivers/mmc/host/mmci.c                       |  35 ++++
 drivers/mmc/host/mmci.h                       |   8 +-
 drivers/mmc/host/mmci_stm32_sdmmc.c           | 149 ++++++++++++++++--
 4 files changed, 179 insertions(+), 20 deletions(-)

Comments

Ulf Hansson June 20, 2023, 10:13 a.m. UTC | #1
On Mon, 19 Jun 2023 at 13:51, Yann Gautier <yann.gautier@foss.st.com> wrote:
>
> STM32MP25 is a new SoC from STMicroelectronics. The machine was
> pushed by Alexandre [1] in his tree.
> On this new SoC, the SDMMC peripheral, using PL18x/MMCI driver
> has been updated to v3.
> The driver has been updated to manage this new version, and the new
> features it supports:
> * FIFO size increased from 64B to 1kB
> * IDMA size alignment/mask updated
> * New block gap hardware flow control
> * Delay block updated and dependent on SoC
>
> This series was pushed on top of next branch in Ulf's mmc tree, as it
> requires feedback clock update patch [2].
>
> [1] https://lore.kernel.org/lkml/59f4a900-34ee-d991-c350-265d38e7c862@foss.st.com/T/
> [2] https://lore.kernel.org/r/20230613150148.429828-1-yann.gautier@foss.st.com
>
> Changes in v2:
> - update dt-bindings file (remove bootloader reference and use enum)
>
> Yann Gautier (6):
>   dt-bindings: mmc: mmci: Add st,stm32mp25-sdmmc2 compatible
>   mmc: mmci: add stm32_idmabsize_align parameter
>   mmc: mmci: Add support for sdmmc variant revision v3.0
>   mmc: mmci: stm32: manage block gap hardware flow control
>   mmc: mmci: stm32: prepare other delay block support
>   mmc: mmci: stm32: add delay block support for STM32MP25
>
>  .../devicetree/bindings/mmc/arm,pl18x.yaml    |   7 +-
>  drivers/mmc/host/mmci.c                       |  35 ++++
>  drivers/mmc/host/mmci.h                       |   8 +-
>  drivers/mmc/host/mmci_stm32_sdmmc.c           | 149 ++++++++++++++++--
>  4 files changed, 179 insertions(+), 20 deletions(-)
>

Applied for next, thanks!

Kind regards
Uffe