linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: andrew@lunn.ch (Andrew Lunn)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 1/1] ARM: kirkwood: Convert mplcec4 board to pinctrl
Date: Mon, 19 Nov 2012 11:44:43 +0100	[thread overview]
Message-ID: <20121119104443.GG10259@lunn.ch> (raw)
In-Reply-To: <6179db81ec8e8760511f776f460e9ed408a95390.1353319919.git.s.peter@mpl.ch>

On Mon, Nov 19, 2012 at 11:26:45AM +0100, Stefan Peter wrote:
> 
> Signed-off-by: Stefan Peter <s.peter@mpl.ch>
> ---
> diff --git a/arch/arm/boot/dts/kirkwood-mplcec4.dts b/arch/arm/boot/dts/kirkwood-mplcec4.dts
> index ac3c080..e692e90 100644
> --- a/arch/arm/boot/dts/kirkwood-mplcec4.dts
> +++ b/arch/arm/boot/dts/kirkwood-mplcec4.dts
> @@ -1,6 +1,7 @@
>  /dts-v1/;
>  
>  /include/ "kirkwood.dtsi"
> +/include/ "kirkwood-6281.dtsi"
>  
>  / {
>  	model = "MPL CEC4";
> @@ -16,6 +17,69 @@
>          };
>  
>  	ocp at f1000000 {
> +		pinctrl: pinctrl at 10000 {
> +
> +			pinctrl-0 = < &pmx_nand &pmx_uart0
> +				      &pmx_led_health &pmx_sdio
> +				      &pmx_sata0 &pmx_sata1
> +				      &pmx_led_user1o
> +				      &pmx_led_user1g &pmx_led_user0o
> +				      &pmx_led_user0g &pmx_led_misc
> +				      &pmx_sdio_cd
> +				    >;
> +			pinctrl-names = "default";
> +
> +			pmx_led_health: pmx-led-health {
> +				marvell,pins = "mpp7";
> +				marvell,function = "gpo";
> +			};
> +
> +			pmx_sdio: pmx-sdio {
> +				marvell,pins = "mpp12", "mmp13", "mpp14",
> +					       "mpp15", "mpp16", "mpp17";
> +				marvell,function = "sdio";
> +			};

Please could you move this into kirkwood-6281.dtsi. It should be
generic so that other boards using sdio can use it.

	Thanks
		Andrew

  reply	other threads:[~2012-11-19 10:44 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-19 10:26 [PATCH 0/1] ARM: kirkwood: Convert the mplcec4 board to pinctrl Stefan Peter
2012-11-19 10:26 ` [PATCH 1/1] ARM: kirkwood: Convert " Stefan Peter
2012-11-19 10:44   ` Andrew Lunn [this message]
2012-11-19 11:18 ` [PATCH 0/1] ARM: kirkwood: Convert the " Andrew Lunn
2012-11-19 12:07   ` Stefan Peter
2012-11-19 12:18     ` Andrew Lunn
2012-11-19 13:01       ` Stefan Peter
2012-11-19 14:23         ` Thomas Petazzoni
2012-11-19 14:26         ` Andrew Lunn
2012-11-19 14:58           ` Stefan Peter

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=20121119104443.GG10259@lunn.ch \
    --to=andrew@lunn.ch \
    --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).