[PATCH 1/8] mmc: sdhci-cadence: Add reset control support

Peng Fan peng.fan at oss.nxp.com
Tue Nov 18 06:09:24 CET 2025


On Mon, Nov 10, 2025 at 09:37:30AM -0800, Tanmay Kathpalia wrote:
>Add reset control functionality to the SDHCI Cadence driver to properly
>handle hardware reset sequences during probe. This ensures the controller
>is in a known state before initialization.
>
>Signed-off-by: Tanmay Kathpalia <tanmay.kathpalia at altera.com>
>Reviewed-by: Balsundar Ponnusamy <balsundar.ponnusamy at altera.com>
>---
> drivers/mmc/sdhci-cadence.c | 8 ++++++++
> 1 file changed, 8 insertions(+)
>
....
> 
>@@ -225,6 +227,12 @@ static int sdhci_cdns_probe(struct udevice *dev)
> 	if (!plat->hrs_addr)
> 		return -ENOMEM;
> 
>+	ret = reset_get_bulk(dev, &reset_bulk);

Should this be optional? Some in tree platforms may not have
the reset supported.

Regards
Peng


More information about the U-Boot mailing list