SUPERH platform development
 help / color / mirror / Atom feed
* [PATCH] ARM: shmobile: marzen: Board specific serial port order
@ 2015-08-07  2:45 Magnus Damm
  2015-08-07  7:13 ` Geert Uytterhoeven
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Magnus Damm @ 2015-08-07  2:45 UTC (permalink / raw)
  To: linux-sh

From: Magnus Damm <damm+renesas@opensource.se>

Convert Marzen to use board-specific serial0 and serial1 instead
of the older shared SoC-specific SCIF index.

Signed-off-by: Magnus Damm <damm+renesas@opensource.se>
---

 Cooked up against renesas-devel-20150807-v4.2-rc5

 arch/arm/boot/dts/r8a7779-marzen.dts |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

--- 0001/arch/arm/boot/dts/r8a7779-marzen.dts
+++ work/arch/arm/boot/dts/r8a7779-marzen.dts	2015-08-07 11:04:37.432366518 +0900
@@ -19,12 +19,12 @@
 	compatible = "renesas,marzen", "renesas,r8a7779";
 
 	aliases {
-		serial2 = &scif2;
-		serial4 = &scif4;
+		serial0 = &scif2;
+		serial1 = &scif4;
 	};
 
 	chosen {
-		bootargs = "console=ttySC2,115200 ignore_loglevel root=/dev/nfs ip=on";
+		bootargs = "ignore_loglevel root=/dev/nfs ip=on";
 		stdout-path = &scif2;
 	};
 

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

* Re: [PATCH] ARM: shmobile: marzen: Board specific serial port order
  2015-08-07  2:45 [PATCH] ARM: shmobile: marzen: Board specific serial port order Magnus Damm
@ 2015-08-07  7:13 ` Geert Uytterhoeven
  2015-08-07 10:19 ` Laurent Pinchart
  2015-08-12  2:21 ` Simon Horman
  2 siblings, 0 replies; 4+ messages in thread
From: Geert Uytterhoeven @ 2015-08-07  7:13 UTC (permalink / raw)
  To: linux-sh

Hi Magnus,

On Fri, Aug 7, 2015 at 4:45 AM, Magnus Damm <magnus.damm@gmail.com> wrote:
> From: Magnus Damm <damm+renesas@opensource.se>
>
> Convert Marzen to use board-specific serial0 and serial1 instead
> of the older shared SoC-specific SCIF index.

Thank you for your patch!

Please note that this is a user-visible change.
Hardcoded "ttySC2" in e.g. kernel boot command line and /etc/inittab must be
changed to ttySC0.

> Signed-off-by: Magnus Damm <damm+renesas@opensource.se>

Nevertheless:
Acked-by: Geert Uytterhoeven <geert+renesas@glider.be>

> --- 0001/arch/arm/boot/dts/r8a7779-marzen.dts
> +++ work/arch/arm/boot/dts/r8a7779-marzen.dts   2015-08-07 11:04:37.432366518 +0900
> @@ -19,12 +19,12 @@
>         compatible = "renesas,marzen", "renesas,r8a7779";
>
>         aliases {
> -               serial2 = &scif2;
> -               serial4 = &scif4;
> +               serial0 = &scif2;
> +               serial1 = &scif4;
>         };
>
>         chosen {
> -               bootargs = "console=ttySC2,115200 ignore_loglevel root=/dev/nfs ip=on";

The "console=..." part can indeed be removed, now legacy marzen is gone.

> +               bootargs = "ignore_loglevel root=/dev/nfs ip=on";
>                 stdout-path = &scif2;
>         };




-- 
Gr{oetje,eeting}s,

                        Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

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

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

* Re: [PATCH] ARM: shmobile: marzen: Board specific serial port order
  2015-08-07  2:45 [PATCH] ARM: shmobile: marzen: Board specific serial port order Magnus Damm
  2015-08-07  7:13 ` Geert Uytterhoeven
@ 2015-08-07 10:19 ` Laurent Pinchart
  2015-08-12  2:21 ` Simon Horman
  2 siblings, 0 replies; 4+ messages in thread
From: Laurent Pinchart @ 2015-08-07 10:19 UTC (permalink / raw)
  To: linux-sh

On Friday 07 August 2015 09:13:08 Geert Uytterhoeven wrote:
> Hi Magnus,
> 
> On Fri, Aug 7, 2015 at 4:45 AM, Magnus Damm <magnus.damm@gmail.com> wrote:
> > From: Magnus Damm <damm+renesas@opensource.se>
> > 
> > Convert Marzen to use board-specific serial0 and serial1 instead
> > of the older shared SoC-specific SCIF index.
> 
> Thank you for your patch!
> 
> Please note that this is a user-visible change.
> Hardcoded "ttySC2" in e.g. kernel boot command line and /etc/inittab must be
> changed to ttySC0.
> 
> > Signed-off-by: Magnus Damm <damm+renesas@opensource.se>
> 
> Nevertheless:
> Acked-by: Geert Uytterhoeven <geert+renesas@glider.be>

And

Acked-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>

given how long I've been pushing for this :-)

> > --- 0001/arch/arm/boot/dts/r8a7779-marzen.dts
> > +++ work/arch/arm/boot/dts/r8a7779-marzen.dts   2015-08-07
> > 11:04:37.432366518 +0900 @@ -19,12 +19,12 @@
> >         compatible = "renesas,marzen", "renesas,r8a7779";
> >         
> >         aliases {
> > -               serial2 = &scif2;
> > -               serial4 = &scif4;
> > +               serial0 = &scif2;
> > +               serial1 = &scif4;
> >         };
> >         
> >         chosen {
> > -               bootargs = "console=ttySC2,115200 ignore_loglevel
> > root=/dev/nfs ip=on";
>
> The "console=..." part can indeed be removed, now legacy marzen is gone.
>
> > +               bootargs = "ignore_loglevel root=/dev/nfs ip=on";
> >                 stdout-path = &scif2;
> >         };

-- 
Regards,

Laurent Pinchart


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

* Re: [PATCH] ARM: shmobile: marzen: Board specific serial port order
  2015-08-07  2:45 [PATCH] ARM: shmobile: marzen: Board specific serial port order Magnus Damm
  2015-08-07  7:13 ` Geert Uytterhoeven
  2015-08-07 10:19 ` Laurent Pinchart
@ 2015-08-12  2:21 ` Simon Horman
  2 siblings, 0 replies; 4+ messages in thread
From: Simon Horman @ 2015-08-12  2:21 UTC (permalink / raw)
  To: linux-sh

On Fri, Aug 07, 2015 at 01:19:59PM +0300, Laurent Pinchart wrote:
> On Friday 07 August 2015 09:13:08 Geert Uytterhoeven wrote:
> > Hi Magnus,
> > 
> > On Fri, Aug 7, 2015 at 4:45 AM, Magnus Damm <magnus.damm@gmail.com> wrote:
> > > From: Magnus Damm <damm+renesas@opensource.se>
> > > 
> > > Convert Marzen to use board-specific serial0 and serial1 instead
> > > of the older shared SoC-specific SCIF index.
> > 
> > Thank you for your patch!
> > 
> > Please note that this is a user-visible change.
> > Hardcoded "ttySC2" in e.g. kernel boot command line and /etc/inittab must be
> > changed to ttySC0.
> > 
> > > Signed-off-by: Magnus Damm <damm+renesas@opensource.se>
> > 
> > Nevertheless:
> > Acked-by: Geert Uytterhoeven <geert+renesas@glider.be>
> 
> And
> 
> Acked-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
> 
> given how long I've been pushing for this :-)

Thanks, I have queued this up for v4.4.

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

end of thread, other threads:[~2015-08-12  2:21 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-07  2:45 [PATCH] ARM: shmobile: marzen: Board specific serial port order Magnus Damm
2015-08-07  7:13 ` Geert Uytterhoeven
2015-08-07 10:19 ` Laurent Pinchart
2015-08-12  2:21 ` Simon Horman

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