mirror-linux/drivers/net/pse-pd
Kory Maincent (Dent Project) 56cfc97635 net: pse-pd: tps23881: Add support for static port priority feature
This patch enhances PSE callbacks by introducing support for the static
port priority feature. It extends interrupt management to handle and report
detection, classification, and disconnection events. Additionally, it
introduces the pi_get_pw_req() callback, which provides information about
the power requested by the Powered Devices.

Interrupt support is essential for the proper functioning of the TPS23881
controller. Without it, after a power-on (PWON), the controller will
no longer perform detection and classification. This could lead to
potential hazards, such as connecting a non-PoE device after a PoE device,
which might result in magic smoke.

Signed-off-by: Kory Maincent (Dent Project) <kory.maincent@bootlin.com>
Reviewed-by: Oleksij Rempel <o.rempel@pengutronix.de>
Link: https://patch.msgid.link/20250617-feature_poe_port_prio-v14-12-78a1a645e2ee@bootlin.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2025-06-18 19:00:18 -07:00
..
Kconfig net: pse-pd: Kconfig: Fix missing firmware loader config select 2024-06-21 11:29:52 +01:00
Makefile net: pse-pd: Add TI TPS23881 PSE controller driver 2024-04-18 18:27:39 -07:00
pd692x0.c net: pse-pd: pd692x0: Add support for controller and manager power supplies 2025-06-18 19:00:18 -07:00
pse_core.c net: pse-pd: Add support for budget evaluation strategies 2025-06-18 19:00:17 -07:00
pse_regulator.c net: pse-pd: Remove is_enabled callback from drivers 2025-01-14 13:56:32 +01:00
tps23881.c net: pse-pd: tps23881: Add support for static port priority feature 2025-06-18 19:00:18 -07:00