public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [PATCH v1] arm: dts: s5p4418: fix "mmc write failed" e.g. at cmd saveenv
@ 2026-04-07 17:23 Stefan Bosch
  2026-04-07 17:26 ` Tom Rini
  0 siblings, 1 reply; 4+ messages in thread
From: Stefan Bosch @ 2026-04-07 17:23 UTC (permalink / raw)
  To: Tom Rini; +Cc: u-boot, Stefan Bosch

s5p4418-pinctrl.dtsi: Fix mmc bus definitions to fix "mmc write failed"
e.g. when cmd saveenv is executed. Initialize all four GPIO of the
mmc-buses instead of only the first one.

Signed-off-by: Stefan Bosch <stefan_b@posteo.net>
---

 arch/arm/dts/s5p4418-pinctrl.dtsi | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/arch/arm/dts/s5p4418-pinctrl.dtsi b/arch/arm/dts/s5p4418-pinctrl.dtsi
index 0768d80fc95..639b6d2ca6d 100644
--- a/arch/arm/dts/s5p4418-pinctrl.dtsi
+++ b/arch/arm/dts/s5p4418-pinctrl.dtsi
@@ -35,7 +35,7 @@ pinctrl@C0010000 {
 	};
 
 	mmc0_bus4: mmc0-bus-width4 {
-		pins = "gpiob-1, gpiob-3, gpiob-5, gpiob-7";
+		pins = "gpiob-1", "gpiob-3", "gpiob-5", "gpiob-7";
 		pin-function = <1>;
 		pin-pull = <2>;
 		pin-strength = <1>;
@@ -56,7 +56,7 @@ pinctrl@C0010000 {
 	};
 
 	mmc1_bus4: mmc1-bus-width4 {
-		pins = "gpiod-24, gpiod-25, gpiod-26, gpiod-27";
+		pins = "gpiod-24", "gpiod-25", "gpiod-26", "gpiod-27";
 		pin-function = <1>;
 		pin-pull = <2>;
 		pin-strength = <1>;
@@ -77,7 +77,7 @@ pinctrl@C0010000 {
 	};
 
 	mmc2_bus4: mmc2-bus-width4 {
-		pins = "gpioc-20, gpioc-21, gpioc-22, gpioc-23";
+		pins = "gpioc-20", "gpioc-21", "gpioc-22", "gpioc-23";
 		pin-function = <2>;
 		pin-pull = <2>;
 		pin-strength = <1>;
-- 
2.17.1


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

* Re: [PATCH v1] arm: dts: s5p4418: fix "mmc write failed" e.g. at cmd saveenv
  2026-04-07 17:23 [PATCH v1] arm: dts: s5p4418: fix "mmc write failed" e.g. at cmd saveenv Stefan Bosch
@ 2026-04-07 17:26 ` Tom Rini
  2026-04-08 17:59   ` Stefan Bosch
  0 siblings, 1 reply; 4+ messages in thread
From: Tom Rini @ 2026-04-07 17:26 UTC (permalink / raw)
  To: Stefan Bosch; +Cc: u-boot

[-- Attachment #1: Type: text/plain, Size: 570 bytes --]

On Tue, Apr 07, 2026 at 05:23:19PM +0000, Stefan Bosch wrote:

> s5p4418-pinctrl.dtsi: Fix mmc bus definitions to fix "mmc write failed"
> e.g. when cmd saveenv is executed. Initialize all four GPIO of the
> mmc-buses instead of only the first one.
> 
> Signed-off-by: Stefan Bosch <stefan_b@posteo.net>
> ---
> 
>  arch/arm/dts/s5p4418-pinctrl.dtsi | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)

Hey, I'm curious what it would take to move this to using OF_UPSTREAM,
where I assume this problem has already been fixed? Thanks!

-- 
Tom

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]

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

* Re: [PATCH v1] arm: dts: s5p4418: fix "mmc write failed" e.g. at cmd saveenv
  2026-04-07 17:26 ` Tom Rini
@ 2026-04-08 17:59   ` Stefan Bosch
  2026-04-08 18:05     ` Tom Rini
  0 siblings, 1 reply; 4+ messages in thread
From: Stefan Bosch @ 2026-04-08 17:59 UTC (permalink / raw)
  To: Tom Rini; +Cc: u-boot

Hi Tom,

On 07.04.26 19:26, Tom Rini wrote:
> On Tue, Apr 07, 2026 at 05:23:19PM +0000, Stefan Bosch wrote:
> 
>> s5p4418-pinctrl.dtsi: Fix mmc bus definitions to fix "mmc write failed"
>> e.g. when cmd saveenv is executed. Initialize all four GPIO of the
>> mmc-buses instead of only the first one.
>>
>> Signed-off-by: Stefan Bosch <stefan_b@posteo.net>
>> ---
>>
>>   arch/arm/dts/s5p4418-pinctrl.dtsi | 6 +++---
>>   1 file changed, 3 insertions(+), 3 deletions(-)
> 
> Hey, I'm curious what it would take to move this to using OF_UPSTREAM,
> where I assume this problem has already been fixed? Thanks!
> 
If I'm not mistaken, using OF_UPSTREAM is not possible because I think 
the s5p4418 SoC is not in the Linux kernel source tree and therefore 
also not in the devicetree-rebasing repo.

Regards
Stefan

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

* Re: [PATCH v1] arm: dts: s5p4418: fix "mmc write failed" e.g. at cmd saveenv
  2026-04-08 17:59   ` Stefan Bosch
@ 2026-04-08 18:05     ` Tom Rini
  0 siblings, 0 replies; 4+ messages in thread
From: Tom Rini @ 2026-04-08 18:05 UTC (permalink / raw)
  To: Stefan Bosch; +Cc: u-boot

[-- Attachment #1: Type: text/plain, Size: 995 bytes --]

On Wed, Apr 08, 2026 at 05:59:27PM +0000, Stefan Bosch wrote:
> Hi Tom,
> 
> On 07.04.26 19:26, Tom Rini wrote:
> > On Tue, Apr 07, 2026 at 05:23:19PM +0000, Stefan Bosch wrote:
> > 
> > > s5p4418-pinctrl.dtsi: Fix mmc bus definitions to fix "mmc write failed"
> > > e.g. when cmd saveenv is executed. Initialize all four GPIO of the
> > > mmc-buses instead of only the first one.
> > > 
> > > Signed-off-by: Stefan Bosch <stefan_b@posteo.net>
> > > ---
> > > 
> > >   arch/arm/dts/s5p4418-pinctrl.dtsi | 6 +++---
> > >   1 file changed, 3 insertions(+), 3 deletions(-)
> > 
> > Hey, I'm curious what it would take to move this to using OF_UPSTREAM,
> > where I assume this problem has already been fixed? Thanks!
> > 
> If I'm not mistaken, using OF_UPSTREAM is not possible because I think the
> s5p4418 SoC is not in the Linux kernel source tree and therefore also not in
> the devicetree-rebasing repo.

Ah. That would be higher bar to clear. OK, thanks!

-- 
Tom

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]

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

end of thread, other threads:[~2026-04-08 18:05 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-07 17:23 [PATCH v1] arm: dts: s5p4418: fix "mmc write failed" e.g. at cmd saveenv Stefan Bosch
2026-04-07 17:26 ` Tom Rini
2026-04-08 17:59   ` Stefan Bosch
2026-04-08 18:05     ` Tom Rini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox