mbox series

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

Message ID cover.1718213918.git.limings@nvidia.com (mailing list archive)
Headers show
Series eMMC RST_N support on BlueField-2 SoC | expand

Message

Liming Sun June 12, 2024, 10:52 p.m. UTC
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(-)