All of lore.kernel.org
 help / color / mirror / Atom feed
From: Simon Horman <horms+renesas@verge.net.au>
To: linux-renesas-soc@vger.kernel.org
Cc: linux-arm-kernel@lists.infradead.org,
	Magnus Damm <magnus.damm@gmail.com>,
	Geert Uytterhoeven <geert+renesas@glider.be>,
	Simon Horman <horms+renesas@verge.net.au>
Subject: [PATCH 03/11] arm64: dts: renesas: ulcb: Add EthernetAVB PHY reset
Date: Fri, 22 Dec 2017 11:29:14 +0100	[thread overview]
Message-ID: <ef4a3bc8dab721a3dbea871f35e0217643aa860c.1513936761.git.horms+renesas@verge.net.au> (raw)
In-Reply-To: <cover.1513936760.git.horms+renesas@verge.net.au>

From: Geert Uytterhoeven <geert+renesas@glider.be>

Describe the GPIO used to reset the Ethernet PHY for EthernetAVB.
This allows the driver to reset the PHY during probe and after system
resume.

On ULCB, the enable pin of the regulator providing PHY power is always
pulled high, but the driver may still need to reset the PHY if this
wasn't done by the bootloader before.

Inspired by patches in the BSP for the individual Salvator-X/XS boards
by Kazuya Mizuguchi.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
---
 arch/arm64/boot/dts/renesas/ulcb.dtsi | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm64/boot/dts/renesas/ulcb.dtsi b/arch/arm64/boot/dts/renesas/ulcb.dtsi
index 0d85b315ce71..be91016e0b48 100644
--- a/arch/arm64/boot/dts/renesas/ulcb.dtsi
+++ b/arch/arm64/boot/dts/renesas/ulcb.dtsi
@@ -154,6 +154,7 @@
 		reg = <0>;
 		interrupt-parent = <&gpio2>;
 		interrupts = <11 IRQ_TYPE_LEVEL_LOW>;
+		reset-gpios = <&gpio2 10 GPIO_ACTIVE_LOW>;
 	};
 };
 
-- 
2.11.0

WARNING: multiple messages have this Message-ID (diff)
From: horms+renesas@verge.net.au (Simon Horman)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 03/11] arm64: dts: renesas: ulcb: Add EthernetAVB PHY reset
Date: Fri, 22 Dec 2017 11:29:14 +0100	[thread overview]
Message-ID: <ef4a3bc8dab721a3dbea871f35e0217643aa860c.1513936761.git.horms+renesas@verge.net.au> (raw)
In-Reply-To: <cover.1513936760.git.horms+renesas@verge.net.au>

From: Geert Uytterhoeven <geert+renesas@glider.be>

Describe the GPIO used to reset the Ethernet PHY for EthernetAVB.
This allows the driver to reset the PHY during probe and after system
resume.

On ULCB, the enable pin of the regulator providing PHY power is always
pulled high, but the driver may still need to reset the PHY if this
wasn't done by the bootloader before.

Inspired by patches in the BSP for the individual Salvator-X/XS boards
by Kazuya Mizuguchi.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
---
 arch/arm64/boot/dts/renesas/ulcb.dtsi | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm64/boot/dts/renesas/ulcb.dtsi b/arch/arm64/boot/dts/renesas/ulcb.dtsi
index 0d85b315ce71..be91016e0b48 100644
--- a/arch/arm64/boot/dts/renesas/ulcb.dtsi
+++ b/arch/arm64/boot/dts/renesas/ulcb.dtsi
@@ -154,6 +154,7 @@
 		reg = <0>;
 		interrupt-parent = <&gpio2>;
 		interrupts = <11 IRQ_TYPE_LEVEL_LOW>;
+		reset-gpios = <&gpio2 10 GPIO_ACTIVE_LOW>;
 	};
 };
 
-- 
2.11.0

  parent reply	other threads:[~2017-12-22 10:29 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-12-22 10:29 [GIT PULL] Second Round of Renesas ARM64 Based SoC DT Updates for v4.16 Simon Horman
2017-12-22 10:29 ` Simon Horman
2017-12-22 10:29 ` [PATCH 01/11] arm64: dts: renesas: r8a7795: Move nodes which have no reg property out of bus Simon Horman
2017-12-22 10:29   ` Simon Horman
2017-12-22 10:29 ` [PATCH 02/11] arm64: dts: renesas: salvator-common: Add EthernetAVB PHY reset Simon Horman
2017-12-22 10:29   ` Simon Horman
2017-12-22 10:29 ` Simon Horman [this message]
2017-12-22 10:29   ` [PATCH 03/11] arm64: dts: renesas: ulcb: " Simon Horman
2017-12-22 10:29 ` [PATCH 04/11] arm64: dts: renesas: r8a7795: sort subnodes of root node alphabetically Simon Horman
2017-12-22 10:29   ` Simon Horman
2017-12-22 10:29 ` [PATCH 05/11] arm64: dts: renesas: r8a7796: " Simon Horman
2017-12-22 10:29   ` Simon Horman
2017-12-22 10:29 ` [PATCH 06/11] arm64: dts: renesas: r8a7796: move nodes which have no reg property out of bus Simon Horman
2017-12-22 10:29   ` Simon Horman
2017-12-22 10:29 ` [PATCH 07/11] arm64: dts: renesas: r8a7796: add reg properties to pciec[01] nodes Simon Horman
2017-12-22 10:29   ` Simon Horman
2017-12-22 10:29 ` [PATCH 08/11] arm64: dts: renesas: r8a7795: add usb3_phy node Simon Horman
2017-12-22 10:29   ` Simon Horman
2017-12-22 10:29 ` [PATCH 09/11] arm64: dts: renesas: r8a7796: " Simon Horman
2017-12-22 10:29   ` Simon Horman
2017-12-22 10:29 ` [PATCH 10/11] arm64: dts: renesas: salvator-common: enable usb3_phy0 node Simon Horman
2017-12-22 10:29   ` Simon Horman
2017-12-22 10:29 ` [PATCH 11/11] arm64: dts: renesas: salvator-common: enable usb3_peri0 Simon Horman
2017-12-22 10:29   ` Simon Horman
2018-01-05  6:39 ` [GIT PULL] Second Round of Renesas ARM64 Based SoC DT Updates for v4.16 Olof Johansson
2018-01-05  6:39   ` Olof Johansson

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=ef4a3bc8dab721a3dbea871f35e0217643aa860c.1513936761.git.horms+renesas@verge.net.au \
    --to=horms+renesas@verge.net.au \
    --cc=geert+renesas@glider.be \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-renesas-soc@vger.kernel.org \
    --cc=magnus.damm@gmail.com \
    /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.