From: ipaton0@gmail.com (Iain Paton)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 1/6] ARM: dts: microsom-ar8035: MDIO pad must be set open drain
Date: Tue, 26 Aug 2014 13:16:46 +0100 [thread overview]
Message-ID: <53FC7AAE.8090803@gmail.com> (raw)
In-Reply-To: <20140826101538.GA28777@dragon>
On 26/08/14 11:15, Shawn Guo wrote:
> On Sun, Aug 24, 2014 at 10:44:54AM +0100, Iain Paton wrote:
>> On 23/08/14 10:11, Russell King wrote:
>>> From: Rabeeh Khoury <rabeeh@solid-run.com>
>>> To: Shawn Guo <shawn.guo@freescale.com>
>>>
>>> MDIO pad must be set open drain.
>>>
>>> Signed-off-by: Rabeeh Khoury <rabeeh@solid-run.com>
>>> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
>>> ---
>>> arch/arm/boot/dts/imx6qdl-microsom-ar8035.dtsi | 2 +-
>>> 1 file changed, 1 insertion(+), 1 deletion(-)
>>>
>>> diff --git a/arch/arm/boot/dts/imx6qdl-microsom-ar8035.dtsi b/arch/arm/boot/dts/imx6qdl-microsom-ar8035.dtsi
>>> index d16066608e21..db9f45b2c573 100644
>>> --- a/arch/arm/boot/dts/imx6qdl-microsom-ar8035.dtsi
>>> +++ b/arch/arm/boot/dts/imx6qdl-microsom-ar8035.dtsi
>>> @@ -17,7 +17,7 @@
>>> enet {
>>> pinctrl_microsom_enet_ar8035: microsom-enet-ar8035 {
>>> fsl,pins = <
>>> - MX6QDL_PAD_ENET_MDIO__ENET_MDIO 0x1b0b0
>>> + MX6QDL_PAD_ENET_MDIO__ENET_MDIO 0x1b8b0
>>> MX6QDL_PAD_ENET_MDC__ENET_MDC 0x1b0b0
>>> /* AR8035 reset */
>>> MX6QDL_PAD_KEY_ROW4__GPIO4_IO15 0x130b0
>>>
>>
>> Can you elaborate some more on the reasons for this?
>
> I just got the following text from Rabeeh explaining the change.
>
> "This patch is important for the MicroSOM implementation due to the
> following details -
>
> 1. VIH of the Atheros phy is 1.7V.
> 2. NVCC_ENET which is the power domain of the MDIO pad is driven by the
> PHY's LDO (i.e. either 1.8v or 2.5v).
> 3. The MicroSOM implements an onbouard 1.6kohm pull up to 3.3v (R3000).
>
> In the case the PHY's LDO was 1.8v then there would be only a 100mV
> margin for the signal to be acknowledged as high (1.8v-1.7v).
> Due to that setting the pad as an open drain will let the 1.6kohm pull
> that signal high to 3.3 that assures enough margins to the PHY to be
> acked as '1' logic.
>
> Notice that this change is not required to the SabreSD boards since that
> hardware drives the NVCC_EIM power island from a 3.3v power rail."
>
>>
>> I'd like to understand if it's something specific to the hardware on that
>> board, or if other i.MX6 boards using the ar8035 are doing it wrong as well.
>
> So from text above, it's a MicroSOM board specific change, I think.
Ok, that makes a lot of sense. Practical implementation reasons wins any
argument.
No objections from me to this, I think we understand the reasons now.
Iain
next prev parent reply other threads:[~2014-08-26 12:16 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-08-23 9:10 [PATCH 0/6] SolidRun Hummingboard/Cubox-i DT updates Russell King - ARM Linux
2014-08-23 9:11 ` [PATCH 1/6] ARM: dts: microsom-ar8035: MDIO pad must be set open drain Russell King
2014-08-24 9:44 ` Iain Paton
2014-08-24 9:58 ` Russell King - ARM Linux
2014-08-25 6:53 ` Eric Bénard
2014-08-26 12:08 ` Iain Paton
2014-08-26 10:15 ` Shawn Guo
2014-08-26 12:16 ` Iain Paton [this message]
2014-08-23 9:11 ` [PATCH 2/6] ARM: dts: hummingboard/cubox-i: add USB OC pinctrl configuration Russell King
2014-08-23 9:11 ` [PATCH 3/6] ARM: dts: hummingboard/cubox-i: change SPDIF output to be more descriptive Russell King
2014-08-23 9:11 ` [PATCH 4/6] ARM: dts: hummingboard: Split HummingBoard DT to support s/dl and d/q Russell King
2014-08-23 9:11 ` [PATCH 5/6] ARM: dts: hummingboard: add mSATA support for iMX6 quad/dual HummingBoard Russell King
2014-08-23 9:11 ` [PATCH 6/6] ARM: dts: hummingboard: gpio-ir on gpio 3,5 Russell King
2014-08-23 13:32 ` Fabio Estevam
2014-08-23 13:36 ` Russell King - ARM Linux
2014-08-23 13:56 ` Fabio Estevam
2014-08-23 14:33 ` Russell King - ARM Linux
2014-08-23 15:02 ` Fabio Estevam
2014-08-27 18:43 ` Russell King - ARM Linux
2014-08-28 8:42 ` Shawn Guo
2014-08-25 6:29 ` [PATCH 0/6] SolidRun Hummingboard/Cubox-i DT updates Shawn Guo
2014-08-25 9:51 ` Russell King - ARM Linux
2014-08-25 11:19 ` Shawn Guo
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=53FC7AAE.8090803@gmail.com \
--to=ipaton0@gmail.com \
--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).