Commit 9a2e2b05 authored by Kory Maincent's avatar Kory Maincent Committed by Greg Kroah-Hartman
Browse files

net: pse-pd: Use power limit at driver side instead of current limit



[ Upstream commit e0a5e2bb ]

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.

Acked-by: default avatarOleksij Rempel <o.rempel@pengutronix.de>
Signed-off-by: default avatarKory Maincent <kory.maincent@bootlin.com>
Signed-off-by: default avatarPaolo Abeni <pabeni@redhat.com>
Stable-dep-of: f6093c5e ("net: pse-pd: pd692x0: Fix power limit retrieval")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 414ce185
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment