linux/drivers/mmc/core
Heiner Kallweit 38d3216032 mmc: core: add helpers mmc_regulator_enable/disable_vqmmc
[ Upstream commit 8d91f3f8ae ]

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: 477865af60 ("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
..
block.c mmc: block: Do not lose cache flush during CQE error recovery 2023-12-08 08:51:13 +01:00
block.h
bus.c mmc: core: Use mmc_card_* macro and add a new for the sd_combo type 2022-07-13 12:44:41 +02:00
bus.h
card.h mmc: Add quirk MMC_QUIRK_BROKEN_CACHE_FLUSH for Micron eMMC Q2J54A 2023-11-28 17:07:11 +00:00
core.c mmc: block: Be sure to wait while busy in CQE error recovery 2023-12-08 08:51:13 +01:00
core.h
crypto.c
crypto.h
debugfs.c mmc: debugfs: Fix file release memory leak 2022-07-12 12:25:36 +02:00
host.c mmc: core: Switch to basic workqueue API for sdio_irq_work 2022-09-14 11:53:47 +02:00
host.h
Kconfig
Makefile
mmc_ops.c mmc: core: Align to common busy polling behaviour for mmc ioctls 2023-11-02 09:35:21 +01:00
mmc_ops.h
mmc_test.c mmc: mmc_test: Fix removal of debugfs file 2022-11-25 11:51:44 +01:00
mmc.c mmc: Add quirk MMC_QUIRK_BROKEN_CACHE_FLUSH for Micron eMMC Q2J54A 2023-11-28 17:07:11 +00:00
pwrseq_emmc.c
pwrseq_sd8787.c mmc: pwrseq: sd8787: Fix WILC CHIP_EN and RESETN toggling order 2023-06-09 10:34:22 +02:00
pwrseq_simple.c
pwrseq.c
pwrseq.h
queue.c mmc: core: Fix WRITE_ZEROES CQE handling 2022-10-24 19:14:17 +02:00
queue.h
quirks.h mmc: Add quirk MMC_QUIRK_BROKEN_CACHE_FLUSH for Micron eMMC Q2J54A 2023-11-28 17:07:11 +00:00
regulator.c mmc: core: add helpers mmc_regulator_enable/disable_vqmmc 2023-12-08 08:51:19 +01:00
sd_ops.c
sd_ops.h
sd.c mmc: Add MMC_QUIRK_BROKEN_SD_CACHE for Kingston Canvas Go Plus from 11/2019 2023-07-19 16:21:10 +02:00
sd.h
sdio_bus.c mmc: sdio: fix possible resource leaks in some error paths 2023-02-22 12:59:47 +01:00
sdio_bus.h
sdio_cis.c mmc: sdio: fix possible resource leaks in some error paths 2023-02-22 12:59:47 +01:00
sdio_cis.h
sdio_io.c
sdio_irq.c mmc: core: Switch to basic workqueue API for sdio_irq_work 2022-09-14 11:53:47 +02:00
sdio_ops.c
sdio_ops.h
sdio_uart.c tty: Make ->set_termios() old ktermios const 2022-08-30 14:22:35 +02:00
sdio.c mmc: core: sdio: hold retuning if sdio in 1-bit mode 2023-10-25 12:03:13 +02:00
slot-gpio.c
slot-gpio.h