linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ARM: dts: microchip: sama7d65: Force SDMMC Legacy mode
@ 2025-08-19 17:05 Ryan.Wanner
  2025-08-22 14:56 ` Nicolas Ferre
  0 siblings, 1 reply; 2+ messages in thread
From: Ryan.Wanner @ 2025-08-19 17:05 UTC (permalink / raw)
  To: robh, krzk+dt, conor+dt, nicolas.ferre, alexandre.belloni,
	claudiu.beznea
  Cc: devicetree, linux-arm-kernel, linux-kernel, Ryan Wanner

From: Ryan Wanner <Ryan.Wanner@microchip.com>

The SDMMC in this IP currently only supports legacy mode
due to a hardware quirk, setting the flags to reflect the limitation.

Signed-off-by: Ryan Wanner <Ryan.Wanner@microchip.com>
---
 arch/arm/boot/dts/microchip/at91-sama7d65_curiosity.dts | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/arm/boot/dts/microchip/at91-sama7d65_curiosity.dts b/arch/arm/boot/dts/microchip/at91-sama7d65_curiosity.dts
index 7eaf6ca233ec..d086437f5e6f 100644
--- a/arch/arm/boot/dts/microchip/at91-sama7d65_curiosity.dts
+++ b/arch/arm/boot/dts/microchip/at91-sama7d65_curiosity.dts
@@ -387,6 +387,8 @@ &rtt {
 
 &sdmmc1 {
 	bus-width = <4>;
+	no-1-8-v;
+	sdhci-caps-mask = <0x0 0x00200000>;
 	pinctrl-names = "default";
 	pinctrl-0 = <&pinctrl_sdmmc1_default>;
 	status = "okay";
-- 
2.43.0


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] ARM: dts: microchip: sama7d65: Force SDMMC Legacy mode
  2025-08-19 17:05 [PATCH] ARM: dts: microchip: sama7d65: Force SDMMC Legacy mode Ryan.Wanner
@ 2025-08-22 14:56 ` Nicolas Ferre
  0 siblings, 0 replies; 2+ messages in thread
From: Nicolas Ferre @ 2025-08-22 14:56 UTC (permalink / raw)
  To: Ryan.Wanner, robh, krzk+dt, conor+dt, alexandre.belloni,
	claudiu.beznea, Aubin Constans
  Cc: devicetree, linux-arm-kernel, linux-kernel

On 19/08/2025 at 19:05, Ryan.Wanner@microchip.com wrote:
> From: Ryan Wanner <Ryan.Wanner@microchip.com>
> 
> The SDMMC in this IP currently only supports legacy mode

... but we're working on it ;-)

> due to a hardware quirk, setting the flags to reflect the limitation.
> 
> Signed-off-by: Ryan Wanner <Ryan.Wanner@microchip.com>

That's fair enough for the time being:
Acked-by: Nicolas Ferre <nicolas.ferre@microchip.com>

Regards,
   Nicolas

> ---
>   arch/arm/boot/dts/microchip/at91-sama7d65_curiosity.dts | 2 ++
>   1 file changed, 2 insertions(+)
> 
> diff --git a/arch/arm/boot/dts/microchip/at91-sama7d65_curiosity.dts b/arch/arm/boot/dts/microchip/at91-sama7d65_curiosity.dts
> index 7eaf6ca233ec..d086437f5e6f 100644
> --- a/arch/arm/boot/dts/microchip/at91-sama7d65_curiosity.dts
> +++ b/arch/arm/boot/dts/microchip/at91-sama7d65_curiosity.dts
> @@ -387,6 +387,8 @@ &rtt {
>   
>   &sdmmc1 {
>   	bus-width = <4>;
> +	no-1-8-v;
> +	sdhci-caps-mask = <0x0 0x00200000>;
>   	pinctrl-names = "default";
>   	pinctrl-0 = <&pinctrl_sdmmc1_default>;
>   	status = "okay";


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-08-22 14:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-08-19 17:05 [PATCH] ARM: dts: microchip: sama7d65: Force SDMMC Legacy mode Ryan.Wanner
2025-08-22 14:56 ` Nicolas Ferre

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).