linux-mmc.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v1 0/2] eMMC RST_N support on BlueField-2 SoC
@ 2024-06-12 22:52 Liming Sun
  2024-06-12 22:52 ` [PATCH v1 1/2] dw_mmc: support platform specific hw_reset() Liming Sun
  2024-06-12 22:52 ` [PATCH v1 2/2] dw_mmc-bluefield: add hw_reset() support Liming Sun
  0 siblings, 2 replies; 6+ messages in thread
From: Liming Sun @ 2024-06-12 22:52 UTC (permalink / raw)
  To: Adrian Hunter, Ulf Hansson, David Thompson
  Cc: Liming Sun, linux-mmc, linux-kernel

The dw_mmc driver supports eMMC RST_N recovery flow but doesn't work
on BlueField-2 SoC because the RST_N register is designed as secure
register. This patch series enhance the dw_mci_drv_data structure to
support platform-specific hw_reset(), then implements this function in
dw_mmc-bluefield.c to support RST_N via SMC call.

Liming Sun (2):
  dw_mmc: support platform specific hw_reset()
  dw_mmc-bluefield: add hw_reset() support

 drivers/mmc/host/dw_mmc-bluefield.c | 18 +++++++++++++++++-
 drivers/mmc/host/dw_mmc.c           |  6 ++++++
 drivers/mmc/host/dw_mmc.h           |  2 ++
 3 files changed, 25 insertions(+), 1 deletion(-)

-- 
2.30.1


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2024-07-08 13:16 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-12 22:52 [PATCH v1 0/2] eMMC RST_N support on BlueField-2 SoC Liming Sun
2024-06-12 22:52 ` [PATCH v1 1/2] dw_mmc: support platform specific hw_reset() Liming Sun
2024-06-12 22:52 ` [PATCH v1 2/2] dw_mmc-bluefield: add hw_reset() support Liming Sun
2024-06-20 14:22   ` Ulf Hansson
2024-06-25 19:13     ` Liming Sun
2024-07-08 13:15       ` Ulf Hansson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).