Re: [PATCH net] net: pse-pd: realtek-pse-mcu: ensure MCU does dynamic power management

From: Kory Maincent

Date: Mon Nov 30 2026 - 10:09:49 EST


On 11/30/26 00:46, Jonas Jelonek wrote:
From: Russell Senior <russell@xxxxxxxxxxxxxxxxx>

The MCU may have any power management mode configuration by default
but the driver should ensure that the MCU performs dynamic power
management with priorities as advertised. On certain devices, the
default MCU configuration ships with another default, possibly
preventing any power delivery.

Both protocol generations define the mode-setting command, and no
firmware lacking it is known. Fail probe if the command fails rather
than register a controller advertising dynamic power management without
having established that policy in the MCU.

Select the mode before deasserting the hardware port gate, so a failure
to establish the management policy does not ungate the ports.

Reviewed-by: Kory Maincent <kory.maincent@xxxxxxxxxxx>

Thank you!
--
Köry Maincent, Bootlin
Embedded Linux and kernel engineering
https://bootlin.com