From: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
To: linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH 3/3] ARM: shmobile: lager: Enable SCIF0 and SCIF1 serial ports in DT
Date: Tue, 29 Oct 2013 18:09:34 +0000 [thread overview]
Message-ID: <526FF9DE.9090909@cogentembedded.com> (raw)
In-Reply-To: <1383060193-1505-4-git-send-email-laurent.pinchart+renesas@ideasonboard.com>
On 29-10-2013 19:23, Laurent Pinchart wrote:
> SCIF0 and SCIF1 are used as debug serial ports. Enable them and
> configure pinmuxing appropriately. We can now remove the clkdev
> registration hack for SCIF devices from the Lager reference board file.
> Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
> ---
> arch/arm/boot/dts/r8a7790-lager.dts | 24 ++++++++++++++++++++----
> arch/arm/mach-shmobile/board-lager-reference.c | 18 ++----------------
> 2 files changed, 22 insertions(+), 20 deletions(-)
> diff --git a/arch/arm/boot/dts/r8a7790-lager.dts b/arch/arm/boot/dts/r8a7790-lager.dts
> index a923ab6..9830c87 100644
> --- a/arch/arm/boot/dts/r8a7790-lager.dts
> +++ b/arch/arm/boot/dts/r8a7790-lager.dts
> @@ -16,8 +16,13 @@
> model = "Lager";
> compatible = "renesas,lager", "renesas,r8a7790";
>
> + aliases {
> + serial0 = &scif0;
> + serial1 = &scif1;
> + };
> +
> chosen {
> - bootargs = "console=ttySC6,115200 ignore_loglevel rw root=/dev/nfs ip=dhcp";
> + bootargs = "console=ttySC0,115200 ignore_loglevel rw root=/dev/nfs ip=dhcp";
Hm... is the rename a by-product of the SCIF device tree enablement?
[...]
> diff --git a/arch/arm/mach-shmobile/board-lager-reference.c b/arch/arm/mach-shmobile/board-lager-reference.c
> index bc3d0d2..1f5d6e2 100644
> --- a/arch/arm/mach-shmobile/board-lager-reference.c
> +++ b/arch/arm/mach-shmobile/board-lager-reference.c
> @@ -36,24 +36,10 @@ static void __init lager_init_time(void)
> static void __init lager_add_standard_devices(void)
> {
> /*
> - * This is a really crude hack to provide clkdev support to the SCIF
> - * and CMT devices until they get moved to DT.
> + * This is a really crude hack to provide clkdev support to the CMT
> + * CMT device until it gets moved to DT.
Minor nit: "CMT" repeated twice.
WBR, Sergei
next prev parent reply other threads:[~2013-10-29 18:09 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-10-29 15:23 [PATCH 0/3] ARM: shmobile: Lager reference serial port support Laurent Pinchart
2013-10-29 15:23 ` [PATCH 1/3] ARM: shmobile: r8a7790: Add early debugging support Laurent Pinchart
2014-01-08 16:31 ` [PATCH 1/3] ARM: shmobile: r8a7790: Add VIN clock support Valentine Barshak
2014-01-09 8:14 ` Simon Horman
2014-01-09 14:26 ` Valentine
2014-06-10 2:33 ` [PATCH 1/3] ARM: shmobile: r8a7790: add MSTP10 support on DTSI Kuninori Morimoto
2014-06-10 7:32 ` Geert Uytterhoeven
2014-06-10 7:35 ` Geert Uytterhoeven
2014-06-10 7:48 ` Kuninori Morimoto
2014-06-10 8:10 ` Geert Uytterhoeven
2014-06-10 8:23 ` Kuninori Morimoto
2015-01-27 9:13 ` [PATCH 1/3] ARM: shmobile: r8a7790: Add IPMMU DT nodes Laurent Pinchart
2013-10-29 15:23 ` [PATCH 2/3] ARM: shmobile: r8a7790: Add serial ports to the device tree Laurent Pinchart
2013-10-29 15:23 ` [PATCH 3/3] ARM: shmobile: lager: Enable SCIF0 and SCIF1 serial ports in DT Laurent Pinchart
2013-10-29 18:09 ` Sergei Shtylyov [this message]
2013-10-29 18:30 ` Laurent Pinchart
2013-10-30 0:24 ` Simon Horman
2013-10-31 5:31 ` [PATCH 0/3] ARM: shmobile: Lager reference serial port support Simon Horman
2013-10-31 12:21 ` Laurent Pinchart
2013-11-01 0:16 ` Simon Horman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=526FF9DE.9090909@cogentembedded.com \
--to=sergei.shtylyov@cogentembedded.com \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).