[PATCH master] mci: stm32_sdmmc2: add STM32MP131 AMBA primecell peripheral ID

Sascha Hauer sha at pengutronix.de
Fri Apr 29 00:16:56 PDT 2022


On Tue, Apr 26, 2022 at 04:15:04PM +0200, Ahmad Fatoum wrote:
> v5.18-rc1 device tree now features different peripheral ID. As
> peripheral IDs have no fallbacks, this meant broken SD on STM32MP131.
> 
> Add new peripheral ID without special handling as IP is
> backwards-compatible. DT also contains a st,stm32-sdmmc2 compatible,
> which we could match against in future, but for now this isn't
> necessary.
> 
> Fixes: b01786baa849 ("dts: update to v5.18-rc1")
> Signed-off-by: Ahmad Fatoum <a.fatoum at pengutronix.de>
> ---
>  drivers/mci/stm32_sdmmc2.c | 5 +++++
>  1 file changed, 5 insertions(+)

Applied, thanks

Sascha

> 
> diff --git a/drivers/mci/stm32_sdmmc2.c b/drivers/mci/stm32_sdmmc2.c
> index 0c620427ee44..40ffc17908b2 100644
> --- a/drivers/mci/stm32_sdmmc2.c
> +++ b/drivers/mci/stm32_sdmmc2.c
> @@ -643,6 +643,11 @@ static struct amba_id stm32_sdmmc2_ids[] = {
>  		.id     = 0x00253180,
>  		.mask	= 0xf0ffffff,
>  	},
> +	/* ST Micro STM32MP13 */
> +	{
> +		.id     = 0x20253180,
> +		.mask	= 0xf0ffffff,
> +	},
>  	{ 0, 0 },
>  };
>  
> -- 
> 2.30.2
> 
> 
> _______________________________________________
> barebox mailing list
> barebox at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox
> 

-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list