]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
net: pse-pd: Add support for PSE PIs
authorKory Maincent (Dent Project) <kory.maincent@bootlin.com>
Wed, 17 Apr 2024 14:39:55 +0000 (16:39 +0200)
committerJakub Kicinski <kuba@kernel.org>
Fri, 19 Apr 2024 01:27:33 +0000 (18:27 -0700)
commit9be9567a7c59b7314ea776f56945fe3fc28efe99
tree6555abe92c18d4393b6f82351f815055fbf3efaa
parentedd79f084ad40991c28341ae07c9f429fac799aa
net: pse-pd: Add support for PSE PIs

The Power Sourcing Equipment Power Interface (PSE PI) plays a pivotal role
in the architecture of Power over Ethernet (PoE) systems. It is essentially
a blueprint that outlines how one or multiple power sources are connected
to the eight-pin modular jack, commonly known as the Ethernet RJ45 port.
This connection scheme is crucial for enabling the delivery of power
alongside data over Ethernet cables.

This patch adds support for getting the PSE controller node through PSE PI
device subnode.

This supports adds a way to get the PSE PI id from the pse_pi devicetree
subnode of a PSE controller node simply by reading the reg property.

Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Kory Maincent <kory.maincent@bootlin.com>
Link: https://lore.kernel.org/r/20240417-feature_poe-v9-7-242293fd1900@bootlin.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Documentation/networking/pse-pd/index.rst
Documentation/networking/pse-pd/pse-pi.rst [new file with mode: 0644]
drivers/net/pse-pd/pse_core.c
include/linux/pse-pd/pse.h