All of lore.kernel.org
 help / color / mirror / Atom feed
From: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
To: linux-sh@vger.kernel.org
Subject: Re: [PATCH] ARM: shmobile: r8a7790: switch from scif to scifa
Date: Wed, 17 Sep 2014 14:40:07 +0000	[thread overview]
Message-ID: <6272980.nZASeRAm1h@avalon> (raw)
In-Reply-To: <1410883837-5611-1-git-send-email-wsa@the-dreams.de>

Hi Wolfram,

On Tuesday 16 September 2014 18:10:37 Wolfram Sang wrote:
> From: Wolfram Sang <wsa+renesas@sang-engineering.com>
> 
> SCIF and SCIFA can be plexed onto the same wires on Lager board. The
> datasheet also describes the wires as SCIFA. So, to make use of the
> bigger FIFOs switch to SCIFA instead.
> 
> Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
> ---
> 
> Currently, I use this patch to check if the DMA RX issue is the same on SCIF
> and SCIFA (yes, it is). However, I still think it makes sense to use the
> bigger FIFOs. I will check this next week with Bastian's FIFO patches.
> Until then, I send this as RFC to collect opinions speaking for/against
> this change.

I have nothing against this change, but I believe the aliases should now be 
serial0 and serial1 to match the legacy code (OK, that's a lame excuse, we all 
know that I just want to change the aliases ;-)).

>  arch/arm/boot/dts/r8a7790-lager.dts | 24 ++++++++++++------------
>  1 file changed, 12 insertions(+), 12 deletions(-)
> 
> diff --git a/arch/arm/boot/dts/r8a7790-lager.dts
> b/arch/arm/boot/dts/r8a7790-lager.dts index 84dcafa7179b..782f0aa938b3
> 100644
> --- a/arch/arm/boot/dts/r8a7790-lager.dts
> +++ b/arch/arm/boot/dts/r8a7790-lager.dts
> @@ -19,8 +19,8 @@
>  	compatible = "renesas,lager", "renesas,r8a7790";
> 
>  	aliases {
> -		serial6 = &scif0;
> -		serial7 = &scif1;
> +		serial6 = &scifa0;
> +		serial7 = &scifa1;
>  	};
> 
>  	chosen {
> @@ -159,9 +159,9 @@
>  		renesas,function = "du";
>  	};
> 
> -	scif0_pins: serial0 {
> -		renesas,groups = "scif0_data";
> -		renesas,function = "scif0";
> +	scifa0_pins: serial0 {
> +		renesas,groups = "scifa0_data";
> +		renesas,function = "scifa0";
>  	};
> 
>  	ether_pins: ether {
> @@ -174,9 +174,9 @@
>  		renesas,function = "intc";
>  	};
> 
> -	scif1_pins: serial1 {
> -		renesas,groups = "scif1_data";
> -		renesas,function = "scif1";
> +	scifa1_pins: serial1 {
> +		renesas,groups = "scifa1_data";
> +		renesas,function = "scifa1";
>  	};
> 
>  	sdhi0_pins: sd0 {
> @@ -308,15 +308,15 @@
>  	};
>  };
> 
> -&scif0 {
> -	pinctrl-0 = <&scif0_pins>;
> +&scifa0 {
> +	pinctrl-0 = <&scifa0_pins>;
>  	pinctrl-names = "default";
> 
>  	status = "okay";
>  };
> 
> -&scif1 {
> -	pinctrl-0 = <&scif1_pins>;
> +&scifa1 {
> +	pinctrl-0 = <&scifa1_pins>;
>  	pinctrl-names = "default";
> 
>  	status = "okay";

-- 
Regards,

Laurent Pinchart


  reply	other threads:[~2014-09-17 14:40 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-16 16:10 [PATCH] ARM: shmobile: r8a7790: switch from scif to scifa Wolfram Sang
2014-09-17 14:40 ` Laurent Pinchart [this message]
2014-09-17 23:55 ` Simon Horman
2014-09-18  7:57 ` Laurent Pinchart
2014-09-19  3:28 ` Simon Horman
2014-09-30  4:30 ` Simon Horman
2014-09-30 10:40 ` Laurent Pinchart
2014-09-30 10:44 ` Geert Uytterhoeven
2014-09-30 10:48 ` Laurent Pinchart
2014-09-30 23:58 ` Simon Horman
2014-10-02  0:12 ` Simon Horman
2014-10-02 23:14 ` Khiem Nguyen
2014-10-03  0:13 ` Wolfram Sang
2014-10-03  3:25 ` Khiem Nguyen

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=6272980.nZASeRAm1h@avalon \
    --to=laurent.pinchart@ideasonboard.com \
    --cc=linux-sh@vger.kernel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.