All of lore.kernel.org
 help / color / mirror / Atom feed
From: Philippe Schenker <philippe.schenker@toradex.com>
To: "Marcel Ziswiler" <marcel.ziswiler@toradex.com>,
	"Max Krummenacher" <max.krummenacher@toradex.com>,
	"stefan@agner.ch" <stefan@agner.ch>,
	"devicetree@vger.kernel.org" <devicetree@vger.kernel.org>,
	"Rob Herring" <robh+dt@kernel.org>,
	"Shawn Guo" <shawnguo@kernel.org>,
	"Mark Rutland" <mark.rutland@arm.com>,
	"Michal Vokáč" <michal.vokac@ysoft.com>,
	"Fabio Estevam" <festevam@gmail.com>
Cc: Philippe Schenker <philippe.schenker@toradex.com>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	"linux-arm-kernel@lists.infradead.org" 
	<linux-arm-kernel@lists.infradead.org>,
	Pengutronix Kernel Team <kernel@pengutronix.de>,
	NXP Linux Team <linux-imx@nxp.com>,
	Sascha Hauer <s.hauer@pengutronix.de>
Subject: [PATCH v4 04/21] ARM: dts: imx7-colibri: Add sleep mode to ethernet
Date: Mon, 12 Aug 2019 14:21:19 +0000	[thread overview]
Message-ID: <20190812142105.1995-5-philippe.schenker@toradex.com> (raw)
In-Reply-To: <20190812142105.1995-1-philippe.schenker@toradex.com>

Add sleep pinmux to the fec so it can properly sleep.

Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>

---

Changes in v4:
- Added Marcel Ziswiler's Ack

Changes in v3: None
Changes in v2: None

 arch/arm/boot/dts/imx7-colibri.dtsi | 19 ++++++++++++++++++-
 1 file changed, 18 insertions(+), 1 deletion(-)

diff --git a/arch/arm/boot/dts/imx7-colibri.dtsi b/arch/arm/boot/dts/imx7-colibri.dtsi
index 52046085ce6f..a8d992f3e897 100644
--- a/arch/arm/boot/dts/imx7-colibri.dtsi
+++ b/arch/arm/boot/dts/imx7-colibri.dtsi
@@ -101,8 +101,9 @@
 };
 
 &fec1 {
-	pinctrl-names = "default";
+	pinctrl-names = "default", "sleep";
 	pinctrl-0 = <&pinctrl_enet1>;
+	pinctrl-1 = <&pinctrl_enet1_sleep>;
 	clocks = <&clks IMX7D_ENET_AXI_ROOT_CLK>,
 		<&clks IMX7D_ENET_AXI_ROOT_CLK>,
 		<&clks IMX7D_ENET1_TIME_ROOT_CLK>,
@@ -463,6 +464,22 @@
 		>;
 	};
 
+	pinctrl_enet1_sleep: enet1sleepgrp {
+		fsl,pins = <
+			MX7D_PAD_ENET1_RGMII_RX_CTL__GPIO7_IO4		0x0
+			MX7D_PAD_ENET1_RGMII_RD0__GPIO7_IO0		0x0
+			MX7D_PAD_ENET1_RGMII_RD1__GPIO7_IO1		0x0
+			MX7D_PAD_ENET1_RGMII_RXC__GPIO7_IO5		0x0
+
+			MX7D_PAD_ENET1_RGMII_TX_CTL__GPIO7_IO10		0x0
+			MX7D_PAD_ENET1_RGMII_TD0__GPIO7_IO6		0x0
+			MX7D_PAD_ENET1_RGMII_TD1__GPIO7_IO7		0x0
+			MX7D_PAD_GPIO1_IO12__GPIO1_IO12			0x0
+			MX7D_PAD_SD2_CD_B__GPIO5_IO9			0x0
+			MX7D_PAD_SD2_WP__GPIO5_IO10			0x0
+		>;
+	};
+
 	pinctrl_ecspi3_cs: ecspi3-cs-grp {
 		fsl,pins = <
 			MX7D_PAD_I2C2_SDA__GPIO4_IO11		0x14
-- 
2.22.0


WARNING: multiple messages have this Message-ID (diff)
From: Philippe Schenker <philippe.schenker@toradex.com>
To: "Marcel Ziswiler" <marcel.ziswiler@toradex.com>,
	"Max Krummenacher" <max.krummenacher@toradex.com>,
	"stefan@agner.ch" <stefan@agner.ch>,
	"devicetree@vger.kernel.org" <devicetree@vger.kernel.org>,
	"Rob Herring" <robh+dt@kernel.org>,
	"Shawn Guo" <shawnguo@kernel.org>,
	"Mark Rutland" <mark.rutland@arm.com>,
	"Michal Vokáč" <michal.vokac@ysoft.com>,
	"Fabio Estevam" <festevam@gmail.com>
Cc: Sascha Hauer <s.hauer@pengutronix.de>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	Philippe Schenker <philippe.schenker@toradex.com>,
	NXP Linux Team <linux-imx@nxp.com>,
	Pengutronix Kernel Team <kernel@pengutronix.de>,
	"linux-arm-kernel@lists.infradead.org"
	<linux-arm-kernel@lists.infradead.org>
Subject: [PATCH v4 04/21] ARM: dts: imx7-colibri: Add sleep mode to ethernet
Date: Mon, 12 Aug 2019 14:21:19 +0000	[thread overview]
Message-ID: <20190812142105.1995-5-philippe.schenker@toradex.com> (raw)
In-Reply-To: <20190812142105.1995-1-philippe.schenker@toradex.com>

Add sleep pinmux to the fec so it can properly sleep.

Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>

---

Changes in v4:
- Added Marcel Ziswiler's Ack

Changes in v3: None
Changes in v2: None

 arch/arm/boot/dts/imx7-colibri.dtsi | 19 ++++++++++++++++++-
 1 file changed, 18 insertions(+), 1 deletion(-)

diff --git a/arch/arm/boot/dts/imx7-colibri.dtsi b/arch/arm/boot/dts/imx7-colibri.dtsi
index 52046085ce6f..a8d992f3e897 100644
--- a/arch/arm/boot/dts/imx7-colibri.dtsi
+++ b/arch/arm/boot/dts/imx7-colibri.dtsi
@@ -101,8 +101,9 @@
 };
 
 &fec1 {
-	pinctrl-names = "default";
+	pinctrl-names = "default", "sleep";
 	pinctrl-0 = <&pinctrl_enet1>;
+	pinctrl-1 = <&pinctrl_enet1_sleep>;
 	clocks = <&clks IMX7D_ENET_AXI_ROOT_CLK>,
 		<&clks IMX7D_ENET_AXI_ROOT_CLK>,
 		<&clks IMX7D_ENET1_TIME_ROOT_CLK>,
@@ -463,6 +464,22 @@
 		>;
 	};
 
+	pinctrl_enet1_sleep: enet1sleepgrp {
+		fsl,pins = <
+			MX7D_PAD_ENET1_RGMII_RX_CTL__GPIO7_IO4		0x0
+			MX7D_PAD_ENET1_RGMII_RD0__GPIO7_IO0		0x0
+			MX7D_PAD_ENET1_RGMII_RD1__GPIO7_IO1		0x0
+			MX7D_PAD_ENET1_RGMII_RXC__GPIO7_IO5		0x0
+
+			MX7D_PAD_ENET1_RGMII_TX_CTL__GPIO7_IO10		0x0
+			MX7D_PAD_ENET1_RGMII_TD0__GPIO7_IO6		0x0
+			MX7D_PAD_ENET1_RGMII_TD1__GPIO7_IO7		0x0
+			MX7D_PAD_GPIO1_IO12__GPIO1_IO12			0x0
+			MX7D_PAD_SD2_CD_B__GPIO5_IO9			0x0
+			MX7D_PAD_SD2_WP__GPIO5_IO10			0x0
+		>;
+	};
+
 	pinctrl_ecspi3_cs: ecspi3-cs-grp {
 		fsl,pins = <
 			MX7D_PAD_I2C2_SDA__GPIO4_IO11		0x14
-- 
2.22.0


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

  parent reply	other threads:[~2019-08-12 14:21 UTC|newest]

Thread overview: 130+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-08-12 14:21 [PATCH v4 00/21] Common patches from downstream development Philippe Schenker
2019-08-12 14:21 ` Philippe Schenker
2019-08-12 14:21 ` Philippe Schenker
2019-08-12 14:21 ` [PATCH v4 01/21] ARM: dts: imx7-colibri: make sure module supplies are always on Philippe Schenker
2019-08-12 14:21   ` Philippe Schenker
2019-08-12 14:21   ` Philippe Schenker
2019-08-19 10:58   ` Shawn Guo
2019-08-19 10:58     ` Shawn Guo
2019-08-12 14:21 ` [PATCH v4 02/21] ARM: dts: imx7-colibri: disable HS400 Philippe Schenker
2019-08-12 14:21   ` Philippe Schenker
2019-08-12 14:21   ` Philippe Schenker
2019-08-15 13:52   ` Oleksandr Suvorov
2019-08-15 13:52     ` Oleksandr Suvorov
2019-08-19 11:06   ` Shawn Guo
2019-08-19 11:06     ` Shawn Guo
2019-08-12 14:21 ` [PATCH v4 03/21] ARM: dts: imx7-colibri: prepare module device tree for FlexCAN Philippe Schenker
2019-08-12 14:21   ` Philippe Schenker
2019-08-12 14:21   ` Philippe Schenker
2019-08-19 11:09   ` Shawn Guo
2019-08-19 11:09     ` Shawn Guo
2019-08-19 11:09     ` Shawn Guo
2019-08-12 14:21 ` Philippe Schenker [this message]
2019-08-12 14:21   ` [PATCH v4 04/21] ARM: dts: imx7-colibri: Add sleep mode to ethernet Philippe Schenker
2019-08-12 14:21   ` Philippe Schenker
2019-08-19 11:12   ` Shawn Guo
2019-08-19 11:12     ` Shawn Guo
2019-08-12 14:21 ` [PATCH v4 05/21] ARM: dts: imx7-colibri: add recovery for I2C for iMX7 Philippe Schenker
2019-08-12 14:21   ` Philippe Schenker
2019-08-12 14:21   ` Philippe Schenker
2019-08-19 11:14   ` Shawn Guo
2019-08-19 11:14     ` Shawn Guo
2019-08-12 14:21 ` [PATCH v4 06/21] ARM: dts: imx7-colibri: add GPIO wakeup key Philippe Schenker
2019-08-12 14:21   ` Philippe Schenker
2019-08-12 14:21   ` Philippe Schenker
2019-08-19 11:17   ` Shawn Guo
2019-08-19 11:17     ` Shawn Guo
2019-08-12 14:21 ` [PATCH v4 07/21] ARM: dts: imx7-colibri: fix 1.8V/UHS support Philippe Schenker
2019-08-12 14:21   ` Philippe Schenker
2019-08-12 14:21   ` Philippe Schenker
2019-08-19 11:18   ` Shawn Guo
2019-08-19 11:18     ` Shawn Guo
2019-08-21 12:49     ` Philippe Schenker
2019-08-21 12:49       ` Philippe Schenker
2019-08-21 12:49       ` Philippe Schenker
2019-08-12 14:21 ` [PATCH v4 08/21] ARM: dts: imx7-colibri: Add touch controllers Philippe Schenker
2019-08-12 14:21   ` Philippe Schenker
2019-08-12 14:21   ` Philippe Schenker
2019-08-15 10:59   ` Oleksandr Suvorov
2019-08-15 10:59     ` Oleksandr Suvorov
2019-08-15 10:59     ` Oleksandr Suvorov
2019-08-19 11:21   ` Shawn Guo
2019-08-19 11:21     ` Shawn Guo
2019-08-21 12:51     ` Philippe Schenker
2019-08-21 12:51       ` Philippe Schenker
2019-08-21 12:51       ` Philippe Schenker
2019-08-12 14:21 ` [PATCH v4 09/21] ARM: dts: imx6qdl-colibri: add phy to fec Philippe Schenker
2019-08-12 14:21   ` Philippe Schenker
2019-08-12 14:21   ` Philippe Schenker
2019-08-19 11:22   ` Shawn Guo
2019-08-19 11:22     ` Shawn Guo
2019-08-19 11:22     ` Shawn Guo
2019-08-12 14:21 ` [PATCH v4 10/21] ARM: dts: imx6qdl-colibri: Add missing pin declaration in iomuxc Philippe Schenker
2019-08-12 14:21   ` Philippe Schenker
2019-08-12 14:21   ` Philippe Schenker
2019-08-19 11:25   ` Shawn Guo
2019-08-19 11:25     ` Shawn Guo
2019-08-12 14:21 ` [PATCH v4 11/21] ARM: dts: imx6qdl-apalis: Add sleep state to can interfaces Philippe Schenker
2019-08-12 14:21   ` Philippe Schenker
2019-08-12 14:21   ` Philippe Schenker
2019-08-19 11:27   ` Shawn Guo
2019-08-19 11:27     ` Shawn Guo
2019-08-21 13:15     ` Philippe Schenker
2019-08-21 13:15       ` Philippe Schenker
2019-08-21 13:15       ` Philippe Schenker
2019-08-12 14:21 ` [PATCH v4 12/21] ARM: dts: imx6-apalis: Add touchscreens used on Toradex eval boards Philippe Schenker
2019-08-12 14:21   ` Philippe Schenker
2019-08-12 14:21   ` Philippe Schenker
2019-08-15 10:57   ` Oleksandr Suvorov
2019-08-15 11:04     ` Oleksandr Suvorov
2019-08-15 10:57     ` Oleksandr Suvorov
2019-08-19 11:30   ` Shawn Guo
2019-08-19 11:30     ` Shawn Guo
2019-08-12 14:21 ` [PATCH v4 13/21] ARM: dts: imx6-colibri: Add missing pinmuxing to Toradex eval board Philippe Schenker
2019-08-12 14:21   ` Philippe Schenker
2019-08-12 14:21   ` Philippe Schenker
2019-08-15 11:00   ` Oleksandr Suvorov
2019-08-15 11:01     ` Oleksandr Suvorov
2019-08-12 14:21 ` [PATCH v4 14/21] ARM: dts: imx6ull-colibri: Add sleep mode to fec Philippe Schenker
2019-08-12 14:21   ` Philippe Schenker
2019-08-12 14:21   ` Philippe Schenker
2019-08-16  7:09   ` Oleksandr Suvorov
2019-08-16  7:15     ` Oleksandr Suvorov
2019-08-12 14:21 ` [PATCH v4 15/21] ARM: dts: imx6ull-colibri: reduce v_batt current in power off Philippe Schenker
2019-08-12 14:21   ` Philippe Schenker
2019-08-12 14:21   ` Philippe Schenker
2019-08-15  7:48   ` Oleksandr Suvorov
2019-08-15  7:55     ` Oleksandr Suvorov
2019-08-15  7:48     ` Oleksandr Suvorov
2019-08-12 14:21 ` [PATCH v4 16/21] ARM: dts: imx6ull-colibri: Add watchdog Philippe Schenker
2019-08-12 14:21   ` Philippe Schenker
2019-08-12 14:21   ` Philippe Schenker
2019-08-12 14:21 ` [PATCH v4 17/21] ARM: dts: imx6ull: improve can templates Philippe Schenker
2019-08-12 14:21   ` Philippe Schenker
2019-08-12 14:21   ` Philippe Schenker
2019-08-15  7:42   ` Oleksandr Suvorov
2019-08-15  7:42     ` Oleksandr Suvorov
2019-08-15  7:42     ` Oleksandr Suvorov
2019-08-12 14:21 ` [PATCH v4 18/21] ARM: dts: imx6ull-colibri: Add general wakeup key used on Colibri Philippe Schenker
2019-08-12 14:21   ` Philippe Schenker
2019-08-12 14:21   ` Philippe Schenker
2019-08-15 13:44   ` Oleksandr Suvorov
2019-08-15 13:50     ` Oleksandr Suvorov
2019-08-12 14:21 ` [PATCH v4 19/21] ARM: dts: imx6ull-colibri: Add touchscreen used with Eval Board Philippe Schenker
2019-08-12 14:21   ` Philippe Schenker
2019-08-12 14:21   ` Philippe Schenker
2019-08-15 10:55   ` Oleksandr Suvorov
2019-08-15 11:02     ` Oleksandr Suvorov
2019-08-15 10:55     ` Oleksandr Suvorov
2019-08-12 14:21 ` [PATCH v4 20/21] ARM: dts: imx7-colibri: Add UHS support to eval board Philippe Schenker
2019-08-12 14:21   ` Philippe Schenker
2019-08-12 14:21   ` Philippe Schenker
2019-08-16  6:44   ` Philippe Schenker
2019-08-16  6:44     ` Philippe Schenker
2019-08-16  6:44     ` Philippe Schenker
2019-08-12 14:21 ` [PATCH v4 21/21] ARM: dts: imx6qdl-colibri.dtsi: UHS-I support for v1.1a hw Philippe Schenker
2019-08-12 14:21   ` Philippe Schenker
2019-08-12 14:21   ` Philippe Schenker
2019-08-16  6:44   ` Philippe Schenker
2019-08-16  6:44     ` Philippe Schenker
2019-08-16  6:44     ` Philippe Schenker

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=20190812142105.1995-5-philippe.schenker@toradex.com \
    --to=philippe.schenker@toradex.com \
    --cc=devicetree@vger.kernel.org \
    --cc=festevam@gmail.com \
    --cc=kernel@pengutronix.de \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-imx@nxp.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=marcel.ziswiler@toradex.com \
    --cc=mark.rutland@arm.com \
    --cc=max.krummenacher@toradex.com \
    --cc=michal.vokac@ysoft.com \
    --cc=robh+dt@kernel.org \
    --cc=s.hauer@pengutronix.de \
    --cc=shawnguo@kernel.org \
    --cc=stefan@agner.ch \
    /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.