[PATCH V2 0/5] Add mmc-pwrseq file to use common function

Jaehoon Chung jh80.chung at samsung.com
Tue Feb 16 02:16:51 CET 2021


Some Socs need to use H/W power-reset before probing eMMC.
Its function can be resued with same behavior.

Changelog on V2:
- Not enable CONFIG_MMC_PWRSEQ by default when CONFIG_PWRSEQ is enabled.
- Remove unused variable in each drivers.

Jaehoon Chung (5):
  mmc: pwrseq: add mmc-pwrseq file to provide a generic interface
  mmc: meson_gx_mmc: use mmc_pwrseq instead of meson_mmc_pwrseq
  mmc: rockchip_dw_mmc: use mmc_pwrseq instead of rockchip_mmc_pwrseq
  ARM: mach-meson: select MMC_PWRSEQ config
  configs: enable CONFIG_MMC_PWRSEQ configuration

 arch/arm/mach-meson/Kconfig         |  1 +
 configs/chromebit_mickey_defconfig  |  1 +
 configs/chromebook_bob_defconfig    |  1 +
 configs/chromebook_jerry_defconfig  |  1 +
 configs/chromebook_minnie_defconfig |  1 +
 configs/chromebook_speedy_defconfig |  1 +
 drivers/mmc/Kconfig                 |  7 ++++
 drivers/mmc/Makefile                |  1 +
 drivers/mmc/meson_gx_mmc.c          | 45 ++-----------------------
 drivers/mmc/mmc-pwrseq.c            | 51 +++++++++++++++++++++++++++++
 drivers/mmc/rockchip_dw_mmc.c       | 42 ++----------------------
 include/mmc.h                       | 14 ++++++++
 12 files changed, 85 insertions(+), 81 deletions(-)
 create mode 100644 drivers/mmc/mmc-pwrseq.c

-- 
2.29.0



More information about the U-Boot mailing list