public inbox for openbmc@ozlabs.org
 help / color / mirror / Atom feed
From: Andrew Jeffery <andrew@codeconstruct.com.au>
To: Marc Olberding <molberding@nvidia.com>
Cc: joel@jms.id.au, openbmc@lists.ozlabs.org
Subject: Re: [PATCH u-boot 1/2] Add a new board for the gigabyte msx4
Date: Tue, 02 Dec 2025 10:13:40 +1030	[thread overview]
Message-ID: <281f88870fa52a5ebeafe01f85c366b2513856c1.camel@codeconstruct.com.au> (raw)
In-Reply-To: <aS4l24MfyI7XOUbY@molberding.nvidia.com>

On Mon, 2025-12-01 at 15:33 -0800, Marc Olberding wrote:
> On Tue, Dec 02, 2025 at 09:44:54AM +1030, Andrew Jeffery wrote:
> > On Tue, 2025-11-25 at 17:30 -0800, Marc Olberding wrote:
> > > On Wed, Nov 26, 2025 at 11:00:33AM +1030, Andrew Jeffery wrote:
> > > > On Fri, 2025-11-21 at 16:02 -0800, Marc Olberding wrote:
> > > are you okay with something like:
> > > ```
> > > &fmc {
> > > 	status = "okay";
> > > 	fmc-wdt2-disable;
> > > ....
> > > };
> > > ```
> > > 
> > > as the target config? or potentially drop the extra fmc...
> > 
> > It would be best to prefix it. What do you think of `aspeed,disable-
> > watchdog`?
> 
> I'm fine with aspeed,disable-watchdog. My only concern is that watchdog
> is a little ambiguous for this, but maybe there is value in being
> able to reuse the bindings for other things. This is a special watchdog
> for the FMC, as opposed to the general purpose watchdogs present elsewhere.

Right, however the idea is we specify it with respect to the fmc
compatible strings, so that itself limits the scope of the property (in
that it's only applicable on the FMC DT node and not any other node
such as the generic watchdog nodes).

> 
> maybe `aspeed,disable-fmc-watchdog` ?
> 
> That said, I'm not ready to fight to the grave, whatever you think is reasonable
> is fine with me. I'm more interested in having this work and being reusable
> for people.
> 
> > > 
> > > It's functionally the same, and to be honest this code is proliferated across
> > > at least 3 board files. I can certainly make a helper function,
> > > but I don't have access to test all of the boards. If you're happy with
> > > it being "correct by inspection that it does the same thing" and "it builds",
> > > I can move these board files over to using the common helper.
> > 
> > Let's get the code centralised, make the MSX4 using that centralised
> > code, and then follow with patches converting the other platforms. Make
> > sure to CC maintainers of the other affected platforms where you can,
> > and if things are okay by inspection and no-one screams, I'll apply
> > them all. Otherwise we can just apply the first couple and quibble over
> > what we do about the other platforms in slow-time.
> > 
> > Andrew
> 
> ACK. with the change for the FMC WDT2 to be handled by the driver,
> we can actually just reuse the 2600evb board file (which is the default
> for openbmc builds as far as I can tell). I can move the evb code over
> to using this, test that on the MSX4 and then we can slow roll the rest.
> 

Sounds great.

Thanks,

Andrew


  reply	other threads:[~2025-12-01 23:43 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-11-22  0:02 [PATCH u-boot 0/2] aspeed: Add support for msx4 Marc Olberding
2025-11-22  0:02 ` [PATCH u-boot 1/2] Add a new board for the gigabyte msx4 Marc Olberding
2025-11-26  0:30   ` Andrew Jeffery
2025-11-26  1:30     ` Marc Olberding
2025-12-01 23:14       ` Andrew Jeffery
2025-12-01 23:33         ` Marc Olberding
2025-12-01 23:43           ` Andrew Jeffery [this message]
2025-11-22  0:02 ` [PATCH u-boot 2/2] arch: arm: dts: Add dts for the nvidia msx4 board Marc Olberding
2025-11-26  0:22 ` [PATCH u-boot 0/2] aspeed: Add support for msx4 Andrew Jeffery
2025-11-26  1:20   ` Marc Olberding
2025-12-01 23:24     ` Andrew Jeffery

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=281f88870fa52a5ebeafe01f85c366b2513856c1.camel@codeconstruct.com.au \
    --to=andrew@codeconstruct.com.au \
    --cc=joel@jms.id.au \
    --cc=molberding@nvidia.com \
    --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