netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Yixun Lan <dlan@gentoo.org>
To: Chen-Yu Tsai <wens@csie.org>
Cc: Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>,
	Jernej Skrabec <jernej.skrabec@gmail.com>,
	Samuel Holland <samuel@sholland.org>,
	Maxime Ripard <mripard@kernel.org>,
	Andrew Lunn <andrew+netdev@lunn.ch>,
	"David S. Miller" <davem@davemloft.net>,
	Eric Dumazet <edumazet@google.com>,
	Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>,
	Andre Przywara <andre.przywara@arm.com>,
	Corentin Labbe <clabbe.montjoie@gmail.com>,
	devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
	linux-sunxi@lists.linux.dev, linux-kernel@vger.kernel.org,
	netdev@vger.kernel.org
Subject: Re: [PATCH v2 3/5] arm64: dts: allwinner: a523: Add EMAC0 ethernet MAC
Date: Fri, 25 Apr 2025 07:06:20 +0000	[thread overview]
Message-ID: <20250425070120-GYB50408@gentoo> (raw)
In-Reply-To: <CAGb2v66a4ERAf_YhPkMWJjm26SsfjO3ze_Zp=QqkXNDLaLnBRg@mail.gmail.com>

Hi Chen-Yu,

On 13:26 Fri 25 Apr     , Chen-Yu Tsai wrote:
> On Thu, Apr 24, 2025 at 6:09 PM Yixun Lan <dlan@gentoo.org> wrote:
> >
> > Add EMAC0 ethernet MAC support which found on A523 variant SoCs,
> > including the A527/T527 chips. MAC0 is compatible to the A64 chip which
> > requires an external PHY. This patch only add RGMII pins for now.
> >
> > Signed-off-by: Yixun Lan <dlan@gentoo.org>
> > ---
> >  arch/arm64/boot/dts/allwinner/sun55i-a523.dtsi | 40 ++++++++++++++++++++++++++
> >  1 file changed, 40 insertions(+)
> >
> > diff --git a/arch/arm64/boot/dts/allwinner/sun55i-a523.dtsi b/arch/arm64/boot/dts/allwinner/sun55i-a523.dtsi
> > index ee485899ba0af69f32727a53de20051a2e31be1d..c9a9b9dd479af05ba22fe9d783e32f6d61a74ef7 100644
> > --- a/arch/arm64/boot/dts/allwinner/sun55i-a523.dtsi
> > +++ b/arch/arm64/boot/dts/allwinner/sun55i-a523.dtsi
> > @@ -126,6 +126,15 @@ pio: pinctrl@2000000 {
> >                         interrupt-controller;
> >                         #interrupt-cells = <3>;
> >
> > +                       rgmii0_pins: rgmii0-pins {
> > +                               pins = "PH0", "PH1", "PH2", "PH3", "PH4",
> > +                                      "PH5", "PH6", "PH7", "PH9", "PH10",
> > +                                      "PH14", "PH15", "PH16", "PH17", "PH18";
> > +                               allwinner,pinmux = <5>;
> > +                               function = "emac0";
> > +                               drive-strength = <40>;
> 
> We should probably add
> 
>                                   bias-disable;
> 
> to explicitly turn off pull-up and pull-down.
> 
I will test this and address in v3
(saw your comment in v1, but I sent v2 too quickly)

-- 
Yixun Lan (dlan)

  reply	other threads:[~2025-04-25  7:06 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-04-24 10:08 [PATCH v2 0/5] allwinner: Add EMAC0 support to A523 variant SoC Yixun Lan
2025-04-24 10:08 ` [PATCH v2 1/5] dt-bindings: sram: sunxi-sram: Add A523 compatible Yixun Lan
2025-04-28  7:21   ` Krzysztof Kozlowski
2025-04-28 12:21     ` Yixun Lan
2025-04-28 12:44       ` Andre Przywara
2025-04-24 10:08 ` [PATCH v2 2/5] dt-bindings: arm: sunxi: Add A523 EMAC0 compatible Yixun Lan
2025-04-27  5:43   ` Chen-Yu Tsai
2025-04-28 12:31     ` Yixun Lan
2025-04-28  7:22   ` Krzysztof Kozlowski
2025-04-24 10:08 ` [PATCH v2 3/5] arm64: dts: allwinner: a523: Add EMAC0 ethernet MAC Yixun Lan
2025-04-24 19:17   ` Corentin Labbe
2025-04-24 23:19   ` Andre Przywara
2025-04-25  5:26   ` Chen-Yu Tsai
2025-04-25  7:06     ` Yixun Lan [this message]
2025-04-25  9:41     ` Andre Przywara
2025-04-25 14:35       ` Chen-Yu Tsai
2025-04-25 15:05         ` Andre Przywara
2025-05-09 11:50           ` Linus Walleij
2025-04-24 10:08 ` [PATCH v2 4/5] arm64: dts: allwinner: a527: add EMAC0 to Radxa A5E board Yixun Lan
2025-04-24 19:15   ` Corentin Labbe
2025-04-24 10:08 ` [PATCH v2 5/5] arm64: dts: allwinner: t527: add EMAC0 to Avaota-A1 board Yixun Lan

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=20250425070120-GYB50408@gentoo \
    --to=dlan@gentoo.org \
    --cc=andre.przywara@arm.com \
    --cc=andrew+netdev@lunn.ch \
    --cc=clabbe.montjoie@gmail.com \
    --cc=conor+dt@kernel.org \
    --cc=davem@davemloft.net \
    --cc=devicetree@vger.kernel.org \
    --cc=edumazet@google.com \
    --cc=jernej.skrabec@gmail.com \
    --cc=krzk+dt@kernel.org \
    --cc=kuba@kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-sunxi@lists.linux.dev \
    --cc=mripard@kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=pabeni@redhat.com \
    --cc=robh@kernel.org \
    --cc=samuel@sholland.org \
    --cc=wens@csie.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).