mbox series

[v2,0/8] Convert mvebu_mmc driver to driver model

Message ID 20210330081942.2606627-1-harm.berntsen@nedap.com
Headers show
Series Convert mvebu_mmc driver to driver model | expand

Message

Harm Berntsen March 30, 2021, 8:19 a.m. UTC
This series converts the existing mvebu_mmc driver to the driver model.
Only two boards in the u-boot tree were using this: openrd and
sheevaplug. The openrd board does currently not support driver model at
all. Given the deadlines for conversion, this patch series drops MMC
support for that board. The sheevaplug should still work but I don't
have hardware to test it on. I've tested the driver on an out of tree
Kirkwood board.

CC: Rick Thomas <rick.thomas@pobox.com>
CC: Chris Packham <judge.packham@gmail.com>
CC: Vagrant Cascadian <vagrant@debian.org>

Thanks for the feedback :)!
Changes in v2:
- Fixed patch style by sending patch through patman + git send-email
- Add commit text

Harm Berntsen (8):
  configs: remove unused CONFIG_SYS_MMC_BASE defs
  configs: openrd: remove non-dm MMC driver
  configs: sheevaplug: remove non-dm MMC driver
  arm: kirkwood: remove non-dm MMC driver init
  configs: remove obsolete CONFIG_SYS_MMC_BASE
  configs: remove obsolete CONFIG_MVEBU_MMC
  mmc: mvebu: convert to driver model
  configs: sheevaplug: enable driver-model based MMC

 arch/arm/mach-kirkwood/cpu.c      |   7 -
 configs/sheevaplug_defconfig      |   2 +
 drivers/mmc/Kconfig               |   9 +
 drivers/mmc/mvebu_mmc.c           | 309 ++++++++++++++++++------------
 include/configs/clearfog.h        |   5 -
 include/configs/controlcenterdc.h |   5 -
 include/configs/db-88f6820-gp.h   |   5 -
 include/configs/helios4.h         |   5 -
 include/configs/openrd.h          |   5 -
 include/configs/sheevaplug.h      |   8 -
 include/mvebu_mmc.h               |  13 +-
 scripts/config_whitelist.txt      |   2 -
 12 files changed, 196 insertions(+), 179 deletions(-)

Comments

Stefan Roese April 8, 2021, 8:53 a.m. UTC | #1
On 30.03.21 10:19, Harm Berntsen wrote:
> This series converts the existing mvebu_mmc driver to the driver model.
> Only two boards in the u-boot tree were using this: openrd and
> sheevaplug. The openrd board does currently not support driver model at
> all. Given the deadlines for conversion, this patch series drops MMC
> support for that board. The sheevaplug should still work but I don't
> have hardware to test it on. I've tested the driver on an out of tree
> Kirkwood board.
> 
> CC: Rick Thomas <rick.thomas@pobox.com>
> CC: Chris Packham <judge.packham@gmail.com>
> CC: Vagrant Cascadian <vagrant@debian.org>
> 
> Thanks for the feedback :)!
> Changes in v2:
> - Fixed patch style by sending patch through patman + git send-email
> - Add commit text
> 
> Harm Berntsen (8):
>    configs: remove unused CONFIG_SYS_MMC_BASE defs
>    configs: openrd: remove non-dm MMC driver
>    configs: sheevaplug: remove non-dm MMC driver
>    arm: kirkwood: remove non-dm MMC driver init
>    configs: remove obsolete CONFIG_SYS_MMC_BASE
>    configs: remove obsolete CONFIG_MVEBU_MMC
>    mmc: mvebu: convert to driver model
>    configs: sheevaplug: enable driver-model based MMC
> 
>   arch/arm/mach-kirkwood/cpu.c      |   7 -
>   configs/sheevaplug_defconfig      |   2 +
>   drivers/mmc/Kconfig               |   9 +
>   drivers/mmc/mvebu_mmc.c           | 309 ++++++++++++++++++------------
>   include/configs/clearfog.h        |   5 -
>   include/configs/controlcenterdc.h |   5 -
>   include/configs/db-88f6820-gp.h   |   5 -
>   include/configs/helios4.h         |   5 -
>   include/configs/openrd.h          |   5 -
>   include/configs/sheevaplug.h      |   8 -
>   include/mvebu_mmc.h               |  13 +-
>   scripts/config_whitelist.txt      |   2 -
>   12 files changed, 196 insertions(+), 179 deletions(-)
> 

Applied to u-boot-marvell/master (whole series)

Thanks,
Stefan