netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Shawn Guo <shawn.guo@freescale.com>
To: Fugang Duan <b38611@freescale.com>
Cc: <davem@davemloft.net>, <linux-arm-kernel@lists.infradead.org>,
	<netdev@vger.kernel.org>, <kernel@pengutronix.de>,
	<b20596@freescale.com>
Subject: Re: [PATCH v1 1/2] ARM: dts: imx6sl: add fec sleep pinctrl for pin PM state
Date: Wed, 21 May 2014 14:56:07 +0800	[thread overview]
Message-ID: <20140521065606.GC25299@dragon> (raw)
In-Reply-To: <1400568645-10214-2-git-send-email-b38611@freescale.com>

On Tue, May 20, 2014 at 02:50:44PM +0800, Fugang Duan wrote:
> when system suspend, need to set pins to low power state to
> save IO power consumption, there are three states of pinctrl:
> "default", "idle" and "sleep". Currently enet supports default
> and sleep state.
> 
> Signed-off-by: Fugang Duan <B38611@freescale.com>

I understand that this dts patch can be applied independently.  So
patch applied, thanks.

Shawn

> ---
>  arch/arm/boot/dts/imx6sl-evk.dts |   16 +++++++++++++++-
>  1 files changed, 15 insertions(+), 1 deletions(-)
> 
> diff --git a/arch/arm/boot/dts/imx6sl-evk.dts b/arch/arm/boot/dts/imx6sl-evk.dts
> index a8d9a93..050786d 100644
> --- a/arch/arm/boot/dts/imx6sl-evk.dts
> +++ b/arch/arm/boot/dts/imx6sl-evk.dts
> @@ -116,8 +116,9 @@
>  };
>  
>  &fec {
> -	pinctrl-names = "default";
> +	pinctrl-names = "default", "sleep";
>  	pinctrl-0 = <&pinctrl_fec>;
> +	pinctrl-1 = <&pinctrl_fec_sleep>;
>  	phy-mode = "rmii";
>  	status = "okay";
>  };
> @@ -300,6 +301,19 @@
>  			>;
>  		};
>  
> +		pinctrl_fec_sleep: fecgrp-sleep {
> +			fsl,pins = <
> +				MX6SL_PAD_FEC_MDC__GPIO4_IO23      0x3080
> +				MX6SL_PAD_FEC_CRS_DV__GPIO4_IO25   0x3080
> +				MX6SL_PAD_FEC_RXD0__GPIO4_IO17     0x3080
> +				MX6SL_PAD_FEC_RXD1__GPIO4_IO18     0x3080
> +				MX6SL_PAD_FEC_TX_EN__GPIO4_IO22    0x3080
> +				MX6SL_PAD_FEC_TXD0__GPIO4_IO24     0x3080
> +				MX6SL_PAD_FEC_TXD1__GPIO4_IO16     0x3080
> +				MX6SL_PAD_FEC_REF_CLK__GPIO4_IO26  0x3080
> +			>;
> +		};
> +
>  		pinctrl_i2c1: i2c1grp {
>  			fsl,pins = <
>  				MX6SL_PAD_I2C1_SCL__I2C1_SCL	0x4001b8b1
> -- 
> 1.7.8
> 

  reply	other threads:[~2014-05-21  6:56 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-20  6:50 [PATCH v1 0/2] net: fec: Add fec sleep pinctrl for pin PM state Fugang Duan
2014-05-20  6:50 ` [PATCH v1 1/2] ARM: dts: imx6sl: add " Fugang Duan
2014-05-21  6:56   ` Shawn Guo [this message]
2014-05-20  6:50 ` [PATCH v1 2/2] net: fec: use pinctrl PM helpers Fugang Duan
2014-05-22 19:10 ` [PATCH v1 0/2] net: fec: Add fec sleep pinctrl for pin PM state David Miller
2014-05-27  9:04   ` fugang.duan

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=20140521065606.GC25299@dragon \
    --to=shawn.guo@freescale.com \
    --cc=b20596@freescale.com \
    --cc=b38611@freescale.com \
    --cc=davem@davemloft.net \
    --cc=kernel@pengutronix.de \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=netdev@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 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).