mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Lothar Waßmann" <LW@KARO-electronics.de>
To: Fabio Estevam <fabio.estevam@nxp.com>,
	Mark Rutland <mark.rutland@arm.com>,
	Rob Herring <robh+dt@kernel.org>,
	Russell King <linux@armlinux.org.uk>,
	Sascha Hauer <kernel@pengutronix.de>,
	Shawn Guo <shawnguo@kernel.org>,
	devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
	linux-kernel@vger.kernel.org
Cc: "Lothar Waßmann" <LW@KARO-electronics.de>
Subject: [PATCH 2/7] ARM: dts: imx6ul-txul: specify ethernet phy reset post-delay
Date: Fri, 13 Oct 2017 12:42:58 +0200	[thread overview]
Message-ID: <1507891383-15452-3-git-send-email-LW@KARO-electronics.de> (raw)
In-Reply-To: <1507891383-15452-1-git-send-email-LW@KARO-electronics.de>

Under certain circumstances the ethernet PHY cannot be detected on
Ka-Ro electronics TXUL modules. Using a phy-reset-post-delay of > 5ms
alleviates this problem. Specify a value of 10ms to be on the safe side.

Signed-off-by: Lothar Waßmann <LW@KARO-electronics.de>
---
 arch/arm/boot/dts/imx6ul-tx6ul.dtsi | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/boot/dts/imx6ul-tx6ul.dtsi b/arch/arm/boot/dts/imx6ul-tx6ul.dtsi
index d30c4e05..9e2a966 100644
--- a/arch/arm/boot/dts/imx6ul-tx6ul.dtsi
+++ b/arch/arm/boot/dts/imx6ul-tx6ul.dtsi
@@ -308,6 +308,7 @@
 	pinctrl-0 = <&pinctrl_enet1 &pinctrl_enet1_mdio &pinctrl_etnphy0_rst>;
 	phy-mode = "rmii";
 	phy-reset-gpios = <&gpio5 6 GPIO_ACTIVE_LOW>;
+	phy-reset-post-delay = <10>;
 	phy-supply = <&reg_3v3_etn>;
 	phy-handle = <&etnphy0>;
 	status = "okay";
-- 
2.1.4

  parent reply	other threads:[~2017-10-13 10:43 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-10-13 10:42 [PATCH 0/7] ARM: dts: imx6ul: Update dts files for the Ka-Ro TXUL module series Lothar Waßmann
2017-10-13 10:42 ` [PATCH 1/7] ARM: dts: imx6ul-txul: enable I2C bus recovery Lothar Waßmann
2017-10-13 10:42 ` Lothar Waßmann [this message]
2017-10-13 10:42 ` [PATCH 3/7] ARM: dts: imx6ul: add support for TXUL-8013 Lothar Waßmann
2017-10-13 10:43 ` [PATCH 4/7] ARM: dts: imx6ul-txul: use panel-simple driver for LCD Lothar Waßmann
2017-10-14 15:38   ` Shawn Guo
2017-10-13 10:43 ` [PATCH 5/7] ARM: dts: imx6ul-txul: use interrupts-extended property Lothar Waßmann
2017-10-13 10:43 ` [PATCH 6/7] ARM: dts: imx6ul: add support for TXUL modules on TXUL-Mainboard Lothar Waßmann
2017-10-16 20:33   ` Fabio Estevam
2017-10-17  9:50     ` Lothar Waßmann
2017-10-13 10:43 ` [PATCH 7/7] ARM: dts: imx6ul-txul: add support for TXUL modules on MB7 baseboard Lothar Waßmann

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=1507891383-15452-3-git-send-email-LW@KARO-electronics.de \
    --to=lw@karo-electronics.de \
    --cc=devicetree@vger.kernel.org \
    --cc=fabio.estevam@nxp.com \
    --cc=kernel@pengutronix.de \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux@armlinux.org.uk \
    --cc=mark.rutland@arm.com \
    --cc=robh+dt@kernel.org \
    --cc=shawnguo@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

all inboxes | Powered by JetHome®