[U-Boot] [PATCH v2 0/5] Extend ARM_PL180_MMCI

patrice.chotard at st.com patrice.chotard at st.com
Mon Oct 23 08:57:29 UTC 2017


From: Patrice Chotard <patrice.chotard at st.com>

Currently this driver is used by VEXPRESS platform which doesn't support
Driver Model.
ARM_PL180_MMCI IP is embedded on STM32F4 and F7 platforms. In order to add 
SD support on these 2 STM32 family SoCs, the following reworks are needed:
	_ update arm_pl180_mmci_init() prototype to make this driver working with
	  DM and none DM platforms
	_ addapt driver to driver model
	_ add bus_width device tree support
	_ add clock support
	_ add .get_cd callback support

This series has been tested internally on both STM32F4 and STM32F7 SoCs
family. Future SD support for these 2 platforms will be added soon.

v2: _ add defines for clock min and max value in patch 2
	_ remove useless return in bus_width switch case in patch 3

Patrice Chotard (5):
  mmc: arm_pl180_mmci: update arm_pl180_mmci_init() prototype
  mmc: arm_pl180_mmci: adapt driver to DM usage
  mmc: arm_pl180_mmci: add bus_width DT property support
  mmc: arm_pl180_mmci: add clock support
  mmc: arm_pl180_mmci: add .getcd callback

 board/armltd/vexpress/vexpress_common.c |   3 +-
 drivers/mmc/Kconfig                     |   9 ++
 drivers/mmc/arm_pl180_mmci.c            | 187 +++++++++++++++++++++++++++++---
 drivers/mmc/arm_pl180_mmci.h            |   9 +-
 4 files changed, 189 insertions(+), 19 deletions(-)

-- 
1.9.1



More information about the U-Boot mailing list