Skip to content

mmc: add pwrseq-based hw_reset

Kevin Hilman linux-amlogic linux-mmc 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest0 of 4 patches 0 repliesNew

Patches in v1 No applies recorded yet

None of the 4 patches the cover letter announces are in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/4] mmc: add pwrseq-based hw_reset

Ulf,

Quoted 3 lines · Heiner Kallweit

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.

Do you have any thoughts on this series?

Kevin

Quoted 16 lines

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(+)