]> www.infradead.org Git - users/hch/misc.git/commit
net: pse-pd: tps23881: Add support for power limit and measurement features
authorKory Maincent <kory.maincent@bootlin.com>
Fri, 10 Jan 2025 09:40:29 +0000 (10:40 +0100)
committerPaolo Abeni <pabeni@redhat.com>
Tue, 14 Jan 2025 12:56:33 +0000 (13:56 +0100)
commit7f076ce3f17334964590c2cce49a02c0851c099a
tree1931a45c33d2903557efb6ae288a0ee2daa19d81
parent4640a1f0d8f2246f34d6e74330d7e7d2cf75605b
net: pse-pd: tps23881: Add support for power limit and measurement features

Expand PSE callbacks to support the newly introduced
pi_get/set_pw_limit() and pi_get_voltage() functions. These callbacks
allow for power limit configuration in the TPS23881 controller.

Additionally, the patch includes the pi_get_pw_class() the
pi_get_actual_pw(), and the pi_get_pw_limit_ranges') callbacks providing
more comprehensive PoE status reporting.

Acked-by: Oleksij Rempel <o.rempel@pengutronix.de>
Signed-off-by: Kory Maincent <kory.maincent@bootlin.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/net/pse-pd/tps23881.c