[PATCH v1 0/2] eMMC RST_N support on BlueField-2 SoC

From: Liming Sun
Date: Wed Jun 12 2024 - 18:54:17 EST


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