Re: [PATCH net-next 07/14] net: pse-pd: Use power limit at driver side instead of current limit

From: Oleksij Rempel
Date: Wed Jan 08 2025 - 06:13:38 EST


On Sat, Jan 04, 2025 at 11:27:32PM +0100, Kory Maincent wrote:
> From: Kory Maincent (Dent Project) <kory.maincent@xxxxxxxxxxx>
>
> The regulator framework uses current limits, but the PSE standard and
> known PSE controllers rely on power limits. Instead of converting
> current to power within each driver, perform the conversion in the PSE
> core. This avoids redundancy in driver implementation and aligns better
> with the standard, simplifying driver development.
>
> Remove at the same time the _pse_ethtool_get_status() function which is
> not needed anymore.
>
> Signed-off-by: Kory Maincent <kory.maincent@xxxxxxxxxxx>

Acked-by: Oleksij Rempel <o.rempel@xxxxxxxxxxxxxx>

Thank you!
--
Pengutronix e.K. | |
Steuerwalder Str. 21 | http://www.pengutronix.de/ |
31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |