]> www.infradead.org Git - users/jedix/linux-maple.git/commit
mmc: sdhci-of-dwcmshc: Add hw_reset() support for BlueField-3 SoC
authorLiming Sun <limings@nvidia.com>
Tue, 27 Aug 2024 16:40:16 +0000 (12:40 -0400)
committerUlf Hansson <ulf.hansson@linaro.org>
Wed, 28 Aug 2024 15:15:01 +0000 (17:15 +0200)
commit7eb42da6ab4a963677e3f692c4debdcc781cf4c9
treef4ec3465212102b2b078195109753599c9a19236
parentf5e1638bf3c785600e2ab53e5532007af5296581
mmc: sdhci-of-dwcmshc: Add hw_reset() support for BlueField-3 SoC

The eMMC RST_N register is implemented as secure register on
the BlueField-3 SoC and controlled by TF-A. This commit adds the
hw_reset() support which sends an SMC call to TF-A for the eMMC
HW reset.

Reviewed-by: David Thompson <davthompson@nvidia.com>
Signed-off-by: Liming Sun <limings@nvidia.com>
Link: https://lore.kernel.org/r/20240827164016.237617-1-limings@nvidia.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci-of-dwcmshc.c