From: Andrew Jeffery <andrew@codeconstruct.com.au>
To: Anirudh Srinivasan <anirudhsriniv@gmail.com>
Cc: joel@jms.id.au, openbmc@lists.ozlabs.org
Subject: Re: [PATCH] ARM: dts: aspeed: Add dts for ASUS Kommando IPMI card
Date: Wed, 25 Mar 2026 09:53:59 +1030 [thread overview]
Message-ID: <afdbdf52f644585ce6bf1df8bdf39a5ace5e4150.camel@codeconstruct.com.au> (raw)
In-Reply-To: <CAJ13v3QLjmikAYVuxU3CN-GNq+PMq-531x8MJEciV3B7HZc1dw@mail.gmail.com>
On Tue, 2026-03-24 at 00:08 -0500, Anirudh Srinivasan wrote:
> Hi Andrew
>
> On Mon, Mar 23, 2026 at 6:42 PM Andrew Jeffery
> <andrew@codeconstruct.com.au> wrote:
> >
> > Hi Anirudh,
> >
> > Sorry for the delay in reply to this thread.
> >
> > On Sat, 2026-03-21 at 17:24 -0500, Anirudh Srinivasan wrote:
> > > Helo Andrew,
> > >
> > > After doing some more reading and experimentation, I think I might
> > > have a clearer understanding of how things work.
> > >
> > > Andrew Lunn's suggestion in the patch series from Aspeed was to patch
> > > u-boot to not insert clock delays anymore. And then use rgmii-id as
> > > the phy mode in u-boot and linux for all new device trees.
> > >
> > > I tested this by setting the mac2 clk delays to 0 in the u-boot device
> > > tree like this
> > >
> > > &scu {
> > > mac2-clk-delay = <0 0
> > > 0 0
> > > 0 0>;
> > > };
> > >
> > > Setting the phy-mode to rgmii-id now gives us working networking in
> > > u-boot and linux.
> > >
> > > So how do you suggest we proceed here?
> > > 1. Add this DT to u-boot now, set phy mode to rgmii-id and set
> > > mac2-clk-delay values to 0. Networking will work in u-boot and linux.
> > > Update the DT to remove the clk delay values once Aspeed updates
> > > u-boot
> > > 2. Add this DT to u-boot now. set phy mode to rgmii-id. This means
> > > networking won't work in u-boot, but it works once you're in linux
> > > 3. Add this DT to u-boot now without networking. Add networking later
> > > when Aspeed updates u-boot based on the discussion in that thread.
> > > 3. Wait for aspeed to update u-boot, then add this DT to u-boot.
> > >
> > > In any of these cases, we can also now add networking to the linux DT
> > > for this card (it's missing currently) with phy-mode set to rgmii-id.
> > > No need to wait for Aspeed to update the linux driver (or I think
> > > they're not gonna make any updates at all if it's just u-boot that
> > > needs fixing).
> >
> > Working backwards here, yes, I think we should add the correct (but not
> > necessarily yet functional) description to the linux devicetree
> > (probably best to point out the lack of functionality in a comment in
> > the relevant devicetree node).
> >
> > Then, do your first option 3 above, except add the description of
> > option 1 in the commit message so people understand how to make
> > networking function for both environments. That way it's apparent that
> > anyone who has enabled networking in u-boot is also aware of the
> > (future) problems of doing so, as they likely will have read that
> > description. Please add links to the relevant discussions between
> > Andrew Lunn and Jacky to the commit message as well.
>
> Sounds good. I'll do things in this manner:
> 1. I'll send v2 of this u-boot patch without networking support, with
> a description of how to enable networking in the commit message.
> 2. I'll send a kernel patch to enable networking with rgmii-id as the
> phy mode. The commit message will mention that this requires patched
> u-boot without the clock delays (with a link to the above u-boot patch
> series).
>
> I'll add links to the discussion between Andrew and Jacky in both.
> Once aspeed updates u-boot, we can add networking in u-boot.
Sounds good!
Thanks,
Andrew
prev parent reply other threads:[~2026-03-24 23:24 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-01 4:00 [PATCH] ARM: dts: aspeed: Add dts for ASUS Kommando IPMI card Anirudh Srinivasan
2026-03-01 4:10 ` Anirudh Srinivasan
2026-03-02 0:35 ` Andrew Jeffery
2026-03-05 5:22 ` Andrew Jeffery
2026-03-06 0:32 ` Anirudh Srinivasan
2026-03-21 22:24 ` Anirudh Srinivasan
2026-03-23 23:42 ` Andrew Jeffery
2026-03-24 5:08 ` Anirudh Srinivasan
2026-03-24 23:23 ` Andrew Jeffery [this message]
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=afdbdf52f644585ce6bf1df8bdf39a5ace5e4150.camel@codeconstruct.com.au \
--to=andrew@codeconstruct.com.au \
--cc=anirudhsriniv@gmail.com \
--cc=joel@jms.id.au \
--cc=openbmc@lists.ozlabs.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