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 1/2] ARM: shmobile: ape6evm-reference: switch PFC to DT
Date: Mon, 22 Jul 2013 10:46:43 +0000	[thread overview]
Message-ID: <6806989.5dnuyRGYJh@avalon> (raw)
In-Reply-To: <Pine.LNX.4.64.1307191723470.26183@axis700.grange>

Hi Guennadi,

Thanks for the patch.

On Friday 19 July 2013 17:30:20 Guennadi Liakhovetski wrote:
> PFC pinctrl configuration can now be performed via DT. Update
> ape6evm-reference to use this.
> 
> Signed-off-by: Guennadi Liakhovetski <g.liakhovetski+renesas@gmail.com>

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

> ---
>  arch/arm/boot/dts/r8a73a4-ape6evm-reference.dts  |   10 ++++++++++
>  arch/arm/mach-shmobile/board-ape6evm-reference.c |    9 ---------
>  2 files changed, 10 insertions(+), 9 deletions(-)
> 
> diff --git a/arch/arm/boot/dts/r8a73a4-ape6evm-reference.dts
> b/arch/arm/boot/dts/r8a73a4-ape6evm-reference.dts index 6f4506e..bbd09d8
> 100644
> --- a/arch/arm/boot/dts/r8a73a4-ape6evm-reference.dts
> +++ b/arch/arm/boot/dts/r8a73a4-ape6evm-reference.dts
> @@ -53,3 +53,13 @@
> 
>  	>;
> 
>  	voltage-tolerance = <1>; /* 1% */
>  };
> +
> +&pfc {
> +	pinctrl-0 = <&scifa0_pins>;
> +	pinctrl-names = "default";
> +
> +	scifa0_pins: scifa0 {
> +		renesas,groups = "scifa0_data";
> +		renesas,function = "scifa0";
> +	};
> +};
> diff --git a/arch/arm/mach-shmobile/board-ape6evm-reference.c
> b/arch/arm/mach-shmobile/board-ape6evm-reference.c index 46b41de..52cc5fa
> 100644
> --- a/arch/arm/mach-shmobile/board-ape6evm-reference.c
> +++ b/arch/arm/mach-shmobile/board-ape6evm-reference.c
> @@ -29,12 +29,6 @@
>  #include <asm/mach-types.h>
>  #include <asm/mach/arch.h>
> 
> -static const struct pinctrl_map ape6evm_pinctrl_map[] = {
> -	/* SCIFA0 console */
> -	PIN_MAP_MUX_GROUP_DEFAULT("sh-sci.0", "pfc-r8a73a4",
> -				  "scifa0_data", "scifa0"),
> -};
> -
>  static void __init ape6evm_add_standard_devices(void)
>  {
> 
> @@ -52,9 +46,6 @@ static void __init ape6evm_add_standard_devices(void)
>  	clk_put(parent);
>  	clk_put(mp);
> 
> -	pinctrl_register_mappings(ape6evm_pinctrl_map,
> -				  ARRAY_SIZE(ape6evm_pinctrl_map));
> -	r8a73a4_pinmux_init();
>  	r8a73a4_add_dt_devices();
>  	of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL);
>  	platform_device_register_simple("cpufreq-cpu0", -1, NULL, 0);
-- 
Regards,

Laurent Pinchart


      reply	other threads:[~2013-07-22 10:46 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-19 15:30 [PATCH 1/2] ARM: shmobile: ape6evm-reference: switch PFC to DT Guennadi Liakhovetski
2013-07-22 10:46 ` Laurent Pinchart [this message]

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=6806989.5dnuyRGYJh@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.