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)
commit3114b075eb2531dea31a961944309485d6a53040
tree2a7e584e34f2559d6e7f68f9cbe93215a8ef564e
parente9554b31aff011c4d0f11a4692d2d45c92cb508d
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]