mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH net-next v2 0/3] net: pse-pd: realtek-pse-mcu: establish power management configuration
@ 2026-11-16 11:52 Jonas Jelonek
  2026-11-16 11:52 ` [PATCH net-next v2 1/3] dt-bindings: net: pse-pd: realtek,pse-mcu: add VMAIN supply Jonas Jelonek
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Jonas Jelonek @ 2026-11-16 11:52 UTC (permalink / raw)
  To: Oleksij Rempel, Kory Maincent, Andrew Lunn, David S . Miller,
	Eric Dumazet, Jakub Kicinski, Paolo Abeni, netdev, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley
  Cc: linux-kernel, devicetree, Sander Vanheule, Russell Senior, Jonas Jelonek

Realtek PSE MCUs may start with a power-management configuration inherited
from firmware defaults or previous host configuration. This series
establishes an explicit configuration during probe: dynamic power management
with port priorities and, when a VMAIN regulator is provided, an aggregate
limit matching the board's usable PoE allowance.

The budget and management mode are configured before ungating ports.
VMAIN is used only for budget accounting, with managed reservation cleanup;
the rail is available independently of the host driver.

Validation includes W=1 builds and checkpatch.pl. OpenCode assisted with
review, implementation refinements and drafting this cover letter.

---
Changes in v2:
- Move the binding first and clarify accounting-only use of VMAIN.
- Preserved Acked-by from Rob and Reviewed-by from Kory
- Set the mode directly in the helper and shorten names to "mgmt".
- Remove explicit VMAIN enable/disable; retain managed budget cleanup.
- Drop the unrelated global-disable teardown patch.

v1: https://lore.kernel.org/netdev/20261103220312.860629-1-jonas@jonasjelonek.de/

---
Jonas Jelonek (2):
  dt-bindings: net: pse-pd: realtek,pse-mcu: add VMAIN supply
  net: pse-pd: realtek-pse-mcu: configure global power budget

Russell Senior (1):
  net: pse-pd: realtek-pse-mcu: ensure MCU does dynamic power management

 .../net/pse-pd/realtek,pse-mcu-gen1.yaml      |   9 +
 drivers/net/pse-pd/realtek-pse-mcu-core.c     | 155 +++++++++++++++++-
 drivers/net/pse-pd/realtek-pse-mcu.h          |   3 +
 3 files changed, 164 insertions(+), 3 deletions(-)


base-commit: 7ccc5e05043b1bb84326b19a2b05938d8f7a2ae6
-- 
2.53.0


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2026-11-16 11:53 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-16 11:52 [PATCH net-next v2 0/3] net: pse-pd: realtek-pse-mcu: establish power management configuration Jonas Jelonek
2026-11-16 11:52 ` [PATCH net-next v2 1/3] dt-bindings: net: pse-pd: realtek,pse-mcu: add VMAIN supply Jonas Jelonek
2026-11-16 11:52 ` [PATCH net-next v2 2/3] net: pse-pd: realtek-pse-mcu: ensure MCU does dynamic power management Jonas Jelonek
2026-11-16 11:52 ` [PATCH net-next v2 3/3] net: pse-pd: realtek-pse-mcu: configure global power budget Jonas Jelonek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®