android_kernel_msm-6.1_noth.../include/linux/mmc
Heiner Kallweit 38d3216032 mmc: core: add helpers mmc_regulator_enable/disable_vqmmc
[ Upstream commit 8d91f3f8ae57e6292142ca89f322e90fa0d6ac02 ]

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.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Acked-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Link: https://lore.kernel.org/r/71586432-360f-9b92-17f6-b05a8a971bc2@gmail.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Stable-dep-of: 477865af60b2 ("mmc: sdhci-sprd: Fix vqmmc not shutting down after the card was pulled")
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-12-08 08:51:19 +01:00
..
card.h mmc: Add quirk MMC_QUIRK_BROKEN_CACHE_FLUSH for Micron eMMC Q2J54A 2023-11-28 17:07:11 +00:00
core.h mmc: core: improve API to make clear that mmc_sw_reset is for cards 2022-04-26 14:05:20 +02:00
host.h mmc: core: add helpers mmc_regulator_enable/disable_vqmmc 2023-12-08 08:51:19 +01:00
mmc.h mmc: core: Fix ambiguous TRIM and DISCARD arg 2022-11-18 10:39:22 +01:00
pm.h
sd.h
sdio.h mmc: core: Add support for SDIO wakeup interrupt 2022-07-26 16:58:31 +02:00
sdio_func.h
sdio_ids.h wifi: brcmfmac: add 43439 SDIO ids and initialization 2022-09-07 11:01:15 +03:00
slot-gpio.h