All of lore.kernel.org
 help / color / mirror / Atom feed
From: Oliver Graute <oliver.graute@gmail.com>
To: Fabio Estevam <festevam@gmail.com>
Cc: "Marc Gonzalez" <marc.w.gonzalez@free.fr>,
	"Andrew Lunn" <andrew@lunn.ch>, "Peng Fan" <peng.fan@nxp.com>,
	"Florian Fainelli" <f.fainelli@gmail.com>,
	"Anson Huang" <anson.huang@nxp.com>,
	"André Draszik" <git@andred.net>,
	LKML <linux-kernel@vger.kernel.org>,
	"Russell King" <rmk+kernel@armlinux.org.uk>,
	dl-linux-imx <linux-imx@nxp.com>,
	"Linux ARM" <linux-arm-kernel@lists.infradead.org>,
	"Heiner Kallweit" <hkallweit1@gmail.com>
Subject: Re: [PATCH] arm64: defconfig: Change CONFIG_AT803X_PHY from m to y
Date: Thu, 28 Nov 2019 11:06:57 +0100	[thread overview]
Message-ID: <20191128100657.GB2460@optiplex> (raw)
In-Reply-To: <CAOMZO5AeMgUjH4pxC4B1OFqHZDgtXs3dAiFazKEa9_txd81v6A@mail.gmail.com>

On 27/11/19, Fabio Estevam wrote:
> Hi Oliver,
> 
> On Wed, Nov 27, 2019 at 9:47 AM Oliver Graute <oliver.graute@gmail.com> wrote:
> 
> > I'am using this DTS which I'am currently working on:
> >
> > https://lists.infradead.org/pipermail/linux-arm-kernel/2019-October/689501.html
> > >
> > > I bet one dollar that 6d4cd041f0af triggered a latent bug in the DTS.
> >
> > So what should I fix in my device tree?
> 
> Some suggestions you could try:
> 
> - Try to use phy-mode = "rgmii-id"; instead,
> - The PHY address 0 does not match the reg value of 4, so you need to
> double check the PHY address and make the @ and reg values to match.

ok I fix that in my dts.

> - If you have a GPIO connected to the Ethernet PHY reset pin, then you
> should describe it in the dts and also provide a delay as per the
> AR803X datasheet.

it seems that currently no ethernet phy reset gpio is connected on that
advantech eval board. The vendor says there is a optional resistor which can
be mounted.

Best regards,

Oliver

WARNING: multiple messages have this Message-ID (diff)
From: Oliver Graute <oliver.graute@gmail.com>
To: Fabio Estevam <festevam@gmail.com>
Cc: "Andrew Lunn" <andrew@lunn.ch>, "Peng Fan" <peng.fan@nxp.com>,
	"Florian Fainelli" <f.fainelli@gmail.com>,
	"Anson Huang" <anson.huang@nxp.com>,
	"Marc Gonzalez" <marc.w.gonzalez@free.fr>,
	"André Draszik" <git@andred.net>,
	LKML <linux-kernel@vger.kernel.org>,
	"Russell King" <rmk+kernel@armlinux.org.uk>,
	dl-linux-imx <linux-imx@nxp.com>,
	"Linux ARM" <linux-arm-kernel@lists.infradead.org>,
	"Heiner Kallweit" <hkallweit1@gmail.com>
Subject: Re: [PATCH] arm64: defconfig: Change CONFIG_AT803X_PHY from m to y
Date: Thu, 28 Nov 2019 11:06:57 +0100	[thread overview]
Message-ID: <20191128100657.GB2460@optiplex> (raw)
In-Reply-To: <CAOMZO5AeMgUjH4pxC4B1OFqHZDgtXs3dAiFazKEa9_txd81v6A@mail.gmail.com>

On 27/11/19, Fabio Estevam wrote:
> Hi Oliver,
> 
> On Wed, Nov 27, 2019 at 9:47 AM Oliver Graute <oliver.graute@gmail.com> wrote:
> 
> > I'am using this DTS which I'am currently working on:
> >
> > https://lists.infradead.org/pipermail/linux-arm-kernel/2019-October/689501.html
> > >
> > > I bet one dollar that 6d4cd041f0af triggered a latent bug in the DTS.
> >
> > So what should I fix in my device tree?
> 
> Some suggestions you could try:
> 
> - Try to use phy-mode = "rgmii-id"; instead,
> - The PHY address 0 does not match the reg value of 4, so you need to
> double check the PHY address and make the @ and reg values to match.

ok I fix that in my dts.

> - If you have a GPIO connected to the Ethernet PHY reset pin, then you
> should describe it in the dts and also provide a delay as per the
> AR803X datasheet.

it seems that currently no ethernet phy reset gpio is connected on that
advantech eval board. The vendor says there is a optional resistor which can
be mounted.

Best regards,

Oliver

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

  reply	other threads:[~2019-11-28 10:08 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-11-04  6:19 [PATCH] arm64: defconfig: Change CONFIG_AT803X_PHY from m to y Peng Fan
2019-11-04  6:19 ` Peng Fan
2019-11-04  7:26 ` Shawn Guo
2019-11-04  7:26   ` Shawn Guo
2019-11-26 14:54 ` Oliver Graute
2019-11-26 14:54   ` Oliver Graute
2019-11-27  8:47   ` Marc Gonzalez
2019-11-27  8:47     ` Marc Gonzalez
2019-11-27 12:46     ` Oliver Graute
2019-11-27 12:46       ` Oliver Graute
2019-11-27 12:56       ` Fabio Estevam
2019-11-27 12:56         ` Fabio Estevam
2019-11-28 10:06         ` Oliver Graute [this message]
2019-11-28 10:06           ` Oliver Graute
2019-11-28  9:11       ` Marc Gonzalez
2019-11-28  9:11         ` Marc Gonzalez
2019-11-28 12:16         ` Oliver Graute
2019-11-28 12:16           ` Oliver Graute
2019-12-02  8:38   ` Shawn Guo
2019-12-02  8:38     ` 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=20191128100657.GB2460@optiplex \
    --to=oliver.graute@gmail.com \
    --cc=andrew@lunn.ch \
    --cc=anson.huang@nxp.com \
    --cc=f.fainelli@gmail.com \
    --cc=festevam@gmail.com \
    --cc=git@andred.net \
    --cc=hkallweit1@gmail.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-imx@nxp.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=marc.w.gonzalez@free.fr \
    --cc=peng.fan@nxp.com \
    --cc=rmk+kernel@armlinux.org.uk \
    /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.