From: Andrew Jeffery <andrew@codeconstruct.com.au>
To: Marc Olberding <molberding@nvidia.com>
Cc: Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>, Joel Stanley <joel@jms.id.au>,
devicetree@vger.kernel.org,
linux-arm-kernel@lists.infradead.org,
linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v3 2/2] dts: aspeed: Add a dts for the nvidia msx4 hpm
Date: Mon, 24 Nov 2025 15:06:56 +1030 [thread overview]
Message-ID: <b610d86a2f71bf8289deeaa1c361005146985d2a.camel@codeconstruct.com.au> (raw)
In-Reply-To: <aRbLqH8pLWCQryhu@molberding.nvidia.com>
On Thu, 2025-11-13 at 22:26 -0800, Marc Olberding wrote:
> On Fri, Nov 14, 2025 at 02:46:19PM +1030, Andrew Jeffery wrote:
> > > + model = "AST2600 MSX4 Kernel";
> >
> > I find this to be a curious model name :)
> >
> > Are there no other reasonable names?
> >
> For better or worse, this is the most accurate name, and matches the hpm hardware itself.
hpm?
> We may need multi-hpm support for the resulting firmware at some point, so matching
> the hpm to the device tree seemed like the simplest thing to do. If this doesn't
> match the way the kernel deals with this sort of thing, please let me know the best path forward.
I guess to clarify my concern: what does "Kernel" refer to here?
The devicetree describes the hardware, so references to things such as
"driver" and "kernel" tend to be a little suspicious.
For reference, here's a sample of other model names that have been
used:
> git grep model arch/arm/boot/dts/aspeed/ | shuf | head
arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-harma.dts: model = "Facebook Harma";
arch/arm/boot/dts/aspeed/aspeed-bmc-asrock-e3c256d4i.dts: model = "ASRock E3C256D4I BMC";
arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-minipack.dts: model = "Facebook Minipack 100 BMC";
arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-santabarbara.dts: model = "Facebook Santabarbara BMC";
arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-elbert.dts: model = "Facebook Elbert BMC";
arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-greatlakes.dts: model = "Facebook Greatlakes BMC";
arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-fuji.dts: model = "Fuji";
arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-cmm.dts: model = "Facebook Backpack CMM BMC";
arch/arm/boot/dts/aspeed/aspeed-bmc-ibm-balcones.dts: model = "Balcones";
arch/arm/boot/dts/aspeed/aspeed-bmc-vegman-rx20.dts: model = "YADRO VEGMAN Rx20 BMC";
These don't tend to reference either the SoC or the kernel, rather the
platform that the SoC sits in. "MSX4" might be enough?
>
> > > + compatible = "nvidia,msx4-bmc", "aspeed,ast2600";
> > > +
> > > + aliases {
> > > + serial0 = &uart1;
> > > + serial1 = &uart2;
> > > + serial2 = &uart3;
> > > + serial3 = &uart4;
> > > + serial4 = &uart5;
> >
> > Just checking whether you're actually using all of these? I guess the
> > uart nodes further down suggest so?
> >
>
> These UARTs are wired up on this platform. Userspace may not use them today,
> but we want to enable doing so without needing further device tree updates, in
> case they are needed for debug where a BMC firmware flash would be unpalatable.
>
> >
> > Seems curious to enable all of these I2C controllers yet have no
> > devices under them? Can you elaborate?
> >
> > Andrew
>
> Unfortunately, the devices that we need over i2c are not
> guaranteed to be available at BMC boot, and are probed in userspace through
> the new_device sysfs node from the i2c subsystem. The BMC doesn't
> have direct control over when these devices are accessible,
> they are available after the host has completed POST.
>
> As far as I can tell, there isn't a great way to defer probe for devices
> that the BMC doesn't have immediate control over whether its accessible.
> Regulators seem like a match, but it seems to assume that you can directly
> turn on the power domain that the device is tied to, which isn't the case here
> for various reasons.
>
> Please let me know if I'm ignorant of a way to deal with this issue.
No dramas, however, I'd appreciate a comment in the devicetree along
these lines.
Andrew
next prev parent reply other threads:[~2025-11-24 4:37 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-11-08 22:24 [PATCH v3 0/2] Add device tree for Nvidia BMC msx4 cx8 switchboard Marc Olberding
2025-11-08 22:24 ` [PATCH v3 1/2] dt-bindings: arm: aspeed: Add Nvidia msx4 board Marc Olberding
2025-11-08 22:24 ` [PATCH v3 2/2] dts: aspeed: Add a dts for the nvidia msx4 hpm Marc Olberding
2025-11-14 4:16 ` Andrew Jeffery
2025-11-14 6:26 ` Marc Olberding
2025-11-24 4:36 ` Andrew Jeffery [this message]
2025-11-10 14:34 ` [PATCH v3 0/2] Add device tree for Nvidia BMC msx4 cx8 switchboard Rob Herring (Arm)
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=b610d86a2f71bf8289deeaa1c361005146985d2a.camel@codeconstruct.com.au \
--to=andrew@codeconstruct.com.au \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=joel@jms.id.au \
--cc=krzk+dt@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-aspeed@lists.ozlabs.org \
--cc=linux-kernel@vger.kernel.org \
--cc=molberding@nvidia.com \
--cc=robh@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