From: laurent.pinchart@ideasonboard.com (Laurent Pinchart)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 3/4] ARM: shmobile: marzen: Initialise SCIF devices using DT
Date: Wed, 30 Apr 2014 02:45:55 +0200 [thread overview]
Message-ID: <22937305.8Aq8zO6ih4@avalon> (raw)
In-Reply-To: <1398757406-30920-4-git-send-email-horms+renesas@verge.net.au>
Hi Simon,
Thank you for the patch.
On Tuesday 29 April 2014 16:43:25 Simon Horman wrote:
> Initialise SCIF devices using DT when booting marzen
> using multiplatform.
>
> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
> ---
> arch/arm/boot/dts/r8a7779-marzen.dts | 22 +++++++++++++++++++---
> arch/arm/mach-shmobile/setup-r8a7779.c | 10 +++++-----
> 2 files changed, 24 insertions(+), 8 deletions(-)
>
> diff --git a/arch/arm/boot/dts/r8a7779-marzen.dts
> b/arch/arm/boot/dts/r8a7779-marzen.dts index 769ae84..6e603db 100644
> --- a/arch/arm/boot/dts/r8a7779-marzen.dts
> +++ b/arch/arm/boot/dts/r8a7779-marzen.dts
> @@ -18,6 +18,11 @@
> model = "marzen";
> compatible = "renesas,marzen", "renesas,r8a7779";
>
> + aliases {
> + serial2 = &scif2;
> + serial4 = &scif4;
> + };
> +
> chosen {
> bootargs = "console=ttySC2,115200 ignore_loglevel root=/dev/nfs
ip=on";
> };
> @@ -73,9 +78,6 @@
> };
>
> &pfc {
> - pinctrl-0 = <&scif2_pins &scif4_pins>;
> - pinctrl-names = "default";
> -
> lan0_pins: lan0 {
> intc {
> renesas,groups = "intc_irq1_b";
> @@ -108,6 +110,20 @@
> };
> };
>
> +&scif2 {
> + pinctrl-0 = <&scif2_pins>;
> + pinctrl-names = "default";
> +
> + status = "okay";
> +};
> +
> +&scif4 {
> + pinctrl-0 = <&scif4_pins>;
> + pinctrl-names = "default";
> +
> + status = "okay";
> +};
> +
> &sdhi0 {
> pinctrl-0 = <&sdhi0_pins>;
> pinctrl-names = "default";
> diff --git a/arch/arm/mach-shmobile/setup-r8a7779.c
> b/arch/arm/mach-shmobile/setup-r8a7779.c index 3471a9b..0d2910c 100644
> --- a/arch/arm/mach-shmobile/setup-r8a7779.c
> +++ b/arch/arm/mach-shmobile/setup-r8a7779.c
> @@ -679,17 +679,17 @@ static void __init r8a7779_register_hpb_dmae(void)
> }
>
> static struct platform_device *r8a7779_devices_dt[] __initdata = {
> + &tmu00_device,
> + &tmu01_device,
> +};
> +
> +static struct platform_device *r8a7779_standard_devices[] __initdata = {
> &scif0_device,
> &scif1_device,
> &scif2_device,
> &scif3_device,
> &scif4_device,
> &scif5_device,
> - &tmu00_device,
> - &tmu01_device,
> -};
> -
> -static struct platform_device *r8a7779_standard_devices[] __initdata = {
> &i2c0_device,
> &i2c1_device,
> &i2c2_device,
--
Regards,
Laurent Pinchart
next prev parent reply other threads:[~2014-04-30 0:45 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-04-29 7:43 [PATCH/RFC 0/4] ARM: shmobile: marzen: Initialise SCIF devices using DT Simon Horman
2014-04-29 7:43 ` [PATCH 1/4] ARM: shmobile: r8a7779: Add scif nodes to dtsi Simon Horman
2014-04-30 0:42 ` Laurent Pinchart
2014-04-30 1:51 ` Simon Horman
2014-04-29 7:43 ` [PATCH 2/4] ARM: shmobile: marzen: Remove early_printk from command line Simon Horman
2014-04-30 0:45 ` Laurent Pinchart
2014-04-29 7:43 ` [PATCH 3/4] ARM: shmobile: marzen: Initialise SCIF devices using DT Simon Horman
2014-04-30 0:45 ` Laurent Pinchart [this message]
2014-04-29 7:43 ` [PATCH 4/4] ARM: shmobile: marzen: Use disabled variant of clock workaround for scif devices Simon Horman
2014-04-29 13:40 ` Magnus Damm
2014-04-29 23:51 ` Simon Horman
2014-04-30 0:47 ` Laurent Pinchart
2014-04-30 1:50 ` Simon Horman
2014-04-30 4:49 ` Magnus Damm
2014-04-30 5:31 ` 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=22937305.8Aq8zO6ih4@avalon \
--to=laurent.pinchart@ideasonboard.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