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

Jaehoon Chung jh80.chung at samsung.com
Mon Feb 1 10:28:03 CET 2021


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

Jaehoon Chung (3):
  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

 drivers/mmc/Kconfig           |  8 ++++++
 drivers/mmc/Makefile          |  1 +
 drivers/mmc/meson_gx_mmc.c    | 41 +++-------------------------
 drivers/mmc/mmc-pwrseq.c      | 51 +++++++++++++++++++++++++++++++++++
 drivers/mmc/rockchip_dw_mmc.c | 41 +++-------------------------
 include/mmc.h                 | 14 ++++++++++
 6 files changed, 80 insertions(+), 76 deletions(-)
 create mode 100644 drivers/mmc/mmc-pwrseq.c

-- 
2.29.0



More information about the U-Boot mailing list