[PATCH 0/4] mmc: add pwrseq-based hw_reset
Heiner Kallweit
hkallweit1 at gmail.com
Wed Feb 8 13:45:52 PST 2017
For implementing ops hw_reset in struct meson_host_ops often we can
use what is available in pwrseq already, just with a small extension.
For example all existing pwrseq drivers parse DT for a reset GPIO.
Meson GX is the first user of this extension.
Heiner Kallweit (4):
mmc: pwrseq: add op reset to struct mmc_pwrseq_ops
mmc: pwrseq: implement reset operation in pwrseq_emmc
mmc: meson-gx: add pwrseq-based hw_reset
ARM64: dts: meson-gxbb-odroidc2: add hw-reset capability flag for emmc port
arch/arm64/boot/dts/amlogic/meson-gxbb-odroidc2.dts | 1 +
drivers/mmc/core/core.c | 6 ++++++
drivers/mmc/core/pwrseq.c | 8 ++++++++
drivers/mmc/core/pwrseq.h | 3 +++
drivers/mmc/core/pwrseq_emmc.c | 1 +
drivers/mmc/host/meson-gx-mmc.c | 1 +
include/linux/mmc/core.h | 1 +
7 files changed, 21 insertions(+)
--
2.11.0
More information about the linux-amlogic
mailing list