From: Jonas Jelonek <jelonek.jonas@gmail.com>
To: Sander Vanheule <sander@svanheule.net>,
Oleksij Rempel <o.rempel@pengutronix.de>,
Kory Maincent <kory.maincent@bootlin.com>,
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>,
Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>
Cc: netdev@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org,
"Daniel Golle" <daniel@makrotopia.org>,
"Bjørn Mork" <bjorn@mork.no>,
"Conor Dooley" <conor.dooley@microchip.com>
Subject: Re: [PATCH net-next v8 1/4] dt-bindings: net: pse-pd: add bindings for Realtek PSE MCU
Date: Wed, 22 Jul 2026 21:49:24 +0200 [thread overview]
Message-ID: <3f71640b-9f22-4d0b-9c4d-dc64c397d286@gmail.com> (raw)
In-Reply-To: <b3456b41152613ed45bcfde92aff89d0c33fa243.camel@svanheule.net>
Hi,
On 22.07.26 19:49, Sander Vanheule wrote:
> [...]
>
>> + power-supply:
>> + description: Regulator supplying the PoE power rail.
> As I reported to Jonas earlier [1], I used this property to define a power
> supply for the 54V rail. While everything was working nicely, I still got this
> warning for the missing vpwr-supply property on the PSE-PI nodes:
>
> regulator regulator.2: supply vpwr not found, using dummy regulator
> Of course I don't like seeing warnings when everything is seemingly working
> fine, but I was also wondering if this duplicated way of providing the PoE power
> rail is a good way to go forward and if the generic pse-pi@n/vpwr-supply
> shouldn't just be used instead. The latter is admittedly more verbose, with a
> property on every node, but going forward offers a few advantages IMHO:
> * Being able to reserve "power-supply" on the main node for the MCU's actual
> 3.3V regulator (not needed anywhere at the moment AFAIK)
I would probably rename this, mirroring the PD692x0 naming. "power" is actually
too blurry, leaving too much room for interpretation. Still keeping its purpose
to reference the supply that serves the PoE rail for this MCU with its downstream
PSE. Reasoning below.
> * Being able to take advantage of the generic pse-pi framework evolving to take
> into account more properties of the parent regulator, such as requesting more
> power, or ensuring the parent supply is not overdrawn by the combined PSE-PI
> outputs.
Correct me if I'm wrong but from what I see, most of that budgeting machinery
isn't used in dynamic budget evaluation strategy, which is used here because the
MCU does budgeting on it's own. Using vpwr-supply on each PI still buys that the
supply is enabled and ref-counted by PSE-PD core, and keeps potential for what
might come. But no requesting, allocation or deallocation of power.
Given that, I had a closer look at PD692x0 and it seems, this has a similar setup.
The difference here being just that there's no multi-manager concept. There is
also a manager-level supply reference "vmain-supply" which the driver reads
and applies to the hardware, which does budgeting also in hardware.
Based on that, I would just adjust the binding to more suitable name for the
supply. Implementing the power budget application to the MCU is fine for a
follow-up. All boards I've worked with so far already have a pre-set safe budget
in their default configuration, avoiding any potential issues or physical damage
due to overload.
> [1] https://github.com/openwrt/openwrt/pull/23222#issuecomment-5032841546
>
> Best,
> Sander
Best,
Jonas
next prev parent reply other threads:[~2026-07-22 19:49 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-15 7:55 [PATCH net-next v8 0/4] net: pse-pd: add Realtek PSE MCU support Jonas Jelonek
2026-07-15 7:55 ` [PATCH net-next v8 1/4] dt-bindings: net: pse-pd: add bindings for Realtek PSE MCU Jonas Jelonek
2026-07-17 9:39 ` Kory Maincent
2026-07-22 17:49 ` Sander Vanheule
2026-07-22 19:49 ` Jonas Jelonek [this message]
2026-07-23 7:36 ` Oleksij Rempel
2026-07-15 7:55 ` [PATCH net-next v8 2/4] net: pse-pd: add Realtek PSE MCU core Jonas Jelonek
2026-07-17 9:41 ` Kory Maincent
2026-07-15 7:55 ` [PATCH net-next v8 3/4] net: pse-pd: realtek-pse-mcu: add I2C transport Jonas Jelonek
2026-07-17 9:45 ` Kory Maincent
2026-07-15 7:55 ` [PATCH net-next v8 4/4] net: pse-pd: realtek-pse-mcu: add UART transport Jonas Jelonek
2026-07-17 9:46 ` Kory Maincent
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=3f71640b-9f22-4d0b-9c4d-dc64c397d286@gmail.com \
--to=jelonek.jonas@gmail.com \
--cc=andrew+netdev@lunn.ch \
--cc=bjorn@mork.no \
--cc=conor+dt@kernel.org \
--cc=conor.dooley@microchip.com \
--cc=daniel@makrotopia.org \
--cc=davem@davemloft.net \
--cc=devicetree@vger.kernel.org \
--cc=edumazet@google.com \
--cc=kory.maincent@bootlin.com \
--cc=krzk+dt@kernel.org \
--cc=kuba@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=o.rempel@pengutronix.de \
--cc=pabeni@redhat.com \
--cc=robh@kernel.org \
--cc=sander@svanheule.net \
/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