2024-04-17 11:21:01

by Prabhakar

[permalink] [raw]
Subject: [PATCH] arm64: dts: renesas: rzg3s-smarc-som: Enable eMMC by default

From: Lad Prabhakar <[email protected]>

Enable eMMC by default on the RZ/G3S SMARC platform, as previously done
on RZ/G2L boards and other Renesas platforms.

The SW_CONFIG2 setting selects between the uSD0 card and eMMC. By setting
SW_CONFIG2 to SW_OFF, we select eMMC by default.

Signed-off-by: Lad Prabhakar <[email protected]>
---
arch/arm64/boot/dts/renesas/rzg3s-smarc-som.dtsi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm64/boot/dts/renesas/rzg3s-smarc-som.dtsi b/arch/arm64/boot/dts/renesas/rzg3s-smarc-som.dtsi
index 1f87150a2e0a..8a3d302f1535 100644
--- a/arch/arm64/boot/dts/renesas/rzg3s-smarc-som.dtsi
+++ b/arch/arm64/boot/dts/renesas/rzg3s-smarc-som.dtsi
@@ -25,7 +25,7 @@
* SW_OFF - SD2 is connected to SoC
* SW_ON - SCIF1, SSI0, IRQ0, IRQ1 connected to SoC
*/
-#define SW_CONFIG2 SW_ON
+#define SW_CONFIG2 SW_OFF
#define SW_CONFIG3 SW_ON

/ {
--
2.34.1



2024-04-18 04:54:55

by Claudiu

[permalink] [raw]
Subject: Re: [PATCH] arm64: dts: renesas: rzg3s-smarc-som: Enable eMMC by default



On 17.04.2024 14:20, Prabhakar wrote:
> From: Lad Prabhakar <[email protected]>
>
> Enable eMMC by default on the RZ/G3S SMARC platform, as previously done
> on RZ/G2L boards and other Renesas platforms.
>
> The SW_CONFIG2 setting selects between the uSD0 card and eMMC. By setting
> SW_CONFIG2 to SW_OFF, we select eMMC by default.
>
> Signed-off-by: Lad Prabhakar <[email protected]>

Reviewed-by: Claudiu Beznea <[email protected]>

> ---
> arch/arm64/boot/dts/renesas/rzg3s-smarc-som.dtsi | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/arm64/boot/dts/renesas/rzg3s-smarc-som.dtsi b/arch/arm64/boot/dts/renesas/rzg3s-smarc-som.dtsi
> index 1f87150a2e0a..8a3d302f1535 100644
> --- a/arch/arm64/boot/dts/renesas/rzg3s-smarc-som.dtsi
> +++ b/arch/arm64/boot/dts/renesas/rzg3s-smarc-som.dtsi
> @@ -25,7 +25,7 @@
> * SW_OFF - SD2 is connected to SoC
> * SW_ON - SCIF1, SSI0, IRQ0, IRQ1 connected to SoC
> */
> -#define SW_CONFIG2 SW_ON
> +#define SW_CONFIG2 SW_OFF
> #define SW_CONFIG3 SW_ON
>
> / {

2024-04-18 15:21:52

by Geert Uytterhoeven

[permalink] [raw]
Subject: Re: [PATCH] arm64: dts: renesas: rzg3s-smarc-som: Enable eMMC by default

On Wed, Apr 17, 2024 at 1:20 PM Prabhakar <[email protected]> wrote:
> From: Lad Prabhakar <[email protected]>
>
> Enable eMMC by default on the RZ/G3S SMARC platform, as previously done
> on RZ/G2L boards and other Renesas platforms.
>
> The SW_CONFIG2 setting selects between the uSD0 card and eMMC. By setting
> SW_CONFIG2 to SW_OFF, we select eMMC by default.
>
> Signed-off-by: Lad Prabhakar <[email protected]>

Reviewed-by: Geert Uytterhoeven <[email protected]>
i.e. will queue in renesas-devel for v6.10.

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68korg

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds