Skip to content

mmc: add and use helpers mmc_regulator_enable/disable_vqmmc

Heiner Kallweit linux-amlogic linux-arm-kernel linux-mmc 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2mmc: core: add helpers mmc_regulator_enable/disable_vqmmcdrivers/mmc/core/regulator.c include/linux/mmc/host.h+44 -01 reply
2/2mmc: meson-gx: use new helpers mmc_regulator_enable/disable_vqmmcdrivers/mmc/host/meson-gx-mmc.c+2 -161 reply

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchMartin Blumenstingl
1/2A-b
2/2A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] mmc: add and use helpers mmc_regulator_enable/disable_vqmmc

There's a number of drivers (e.g. dw_mmc, meson-gx, mmci, sunxi) using the same mechanism and a private flag vqmmc_enabled to deal with enabling/disabling the vqmmc regulator.

Move this to the core and create new helpers mmc_regulator_enable_vqmmc and mmc_regulator_disable_vqmmc. Make meson-gx the first user of the new helpers.

Heiner Kallweit (2):
mmc: core: add helpers mmc_regulator_enable/disable_vqmmc
mmc: meson-gx: use new helpers mmc_regulator_enable/disable_vqmmc

 drivers/mmc/core/regulator.c    | 41 +++++++++++++++++++++++++++++++++
 drivers/mmc/host/meson-gx-mmc.c | 18 ++-------------
 include/linux/mmc/host.h        |  3 +++
 3 files changed, 46 insertions(+), 16 deletions(-)
Signature · 1 line
2.39.2