]> git.baikalelectronics.ru Git - kernel.git/commit
net: add framework to support Ethernet PSE and PDs devices
authorOleksij Rempel <o.rempel@pengutronix.de>
Mon, 3 Oct 2022 06:51:57 +0000 (08:51 +0200)
committerJakub Kicinski <kuba@kernel.org>
Tue, 4 Oct 2022 00:33:56 +0000 (17:33 -0700)
commitae9fb374e89a32409c3736edb1758c342ead0bfa
tree2a7e584e34f2559d6e7f68f9cbe93215a8ef564e
parentc087da82565085936571a60d0d7229528c2dcdb5
net: add framework to support Ethernet PSE and PDs devices

This framework was create with intention to provide support for Ethernet PSE
(Power Sourcing Equipment) and PDs (Powered Device).

At current step this patch implements generic PSE support for PoDL (Power over
Data Lines 802.3bu) specification with reserving name space for PD devices as
well.

This framework can be extended to support 802.3af and 802.3at "Power via the
Media Dependent Interface" (or PoE/Power over Ethernet)

Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/Kconfig
drivers/net/Makefile
drivers/net/pse-pd/Kconfig [new file with mode: 0644]
drivers/net/pse-pd/Makefile [new file with mode: 0644]
drivers/net/pse-pd/pse_core.c [new file with mode: 0644]
include/linux/pse-pd/pse.h [new file with mode: 0644]