net: Add support for Power over Ethernet (PoE)
Status from this message: This series was applied to netdev/net-next.git (main)
Get series with b4
b4 am [email protected] change-id 20231024-feature_poe-139490e73403Versions newest first
- v9 Latest14 patches 4 repliesApplied 14/14
- v817 patches 10 repliesSuperseded 3 of 17 applied
- v717 patches 3 repliesSuperseded
Earlier versions · 6
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v6 | 17 patches | 35 replies | Superseded | |
| v5 | 17 patches | 24 replies | Superseded | |
| v4 | 17 patches | 21 replies | Superseded | |
| v3 | 17 patches | 28 replies | Superseded | |
| v2 | 8 patches | 46 replies | Superseded | |
| v1 | 9 patches | 42 replies | Superseded |
Changes in v9 from the cover letter
- Fix few kdoc return description missing.
- Fix a reference leak.
- Link to v8: https://lore.kernel.org/r/[email protected]
Patches in v9 All 14 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/14 | ethtool: Expand Ethernet Power Equipment with c33 (PoE) alongside PoDLDocumentation/ Documentation/ Documentation/ +3 more | +138 | 0 replies | Applied |
| 2/14 | net: pse-pd: Introduce PSE types enumerationdrivers/ drivers/ include/ +1 more | +40 | 0 replies | Applied |
| 3/14 | net: ethtool: pse-pd: Expand pse commands with the PSE PoE interfaceDocumentation/ net/ | +70 | 0 replies | Applied |
| 4/14 | netlink: specs: Modify pse attribute prefixDocumentation/ | +9 | 0 replies | Applied |
| 5/14 | netlink: specs: Expand the pse netlink command with PoE interfaceDocumentation/ | +15 | 0 replies | Applied |
| 6/14 | MAINTAINERS: Add myself to pse networking maintainerMAINTAINERS | +1 | 0 replies | Applied |
| 7/14 | net: pse-pd: Add support for PSE PIsDocumentation/ Documentation/ drivers/ +1 more | +566 | 0 replies | Applied |
| 8/14 | dt-bindings: net: pse-pd: Add another way of describing several PSE PIsDocumentation/ | +98 | 3 replies | Applied |
| 9/14 | net: pse-pd: Add support for setup_pi_matrix callbackdrivers/ include/ | +8 | 0 replies | Applied |
| 10/14 | net: pse-pd: Use regulator framework within PSE frameworkdrivers/ drivers/ include/ | +267 | 0 replies | Applied |
| 11/14 | dt-bindings: net: pse-pd: Add bindings for PD692x0 PSE controllerDocumentation/ | +169 | 0 replies | Applied |
| 12/14 | net: pse-pd: Add PD692x0 PSE controller driverdrivers/ drivers/ drivers/ | +1235 | 0 replies | Applied |
| 13/14 | dt-bindings: net: pse-pd: Add bindings for TPS23881 PSE controllerDocumentation/ | +95 | 0 replies | Applied |
| 14/14 | net: pse-pd: Add TI TPS23881 PSE controller driverdrivers/ drivers/ drivers/ | +830 | 0 replies | Applied |
Reviews trailers per patch
12 of 14 patches have a Reviewed-by or Acked-by.
| Patch | Andrew Lunn | Oleksij Rempel |
|---|---|---|
| 1/14 | R-b | R-b |
| 2/14 | R-b | |
| 3/14 | R-b | |
| 4/14 | R-b | |
| 5/14 | R-b | |
| 6/14 | R-b | |
| 7/14 | R-b | |
| 8/14 | ||
| 9/14 | R-b | |
| 10/14 | R-b | |
| 11/14 | R-b | |
| 12/14 | R-b | |
| 13/14 | R-b | |
| 14/14 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH net-next v9 00/14] net: Add support for Power over Ethernet (PoE)
From: Kory Maincent (Dent Project) <[email protected]>
This patch series aims at adding support for PoE (Power over Ethernet), based on the already existing support for PoDL (Power over Data Line) implementation. In addition, it adds support for two specific PoE controller, the Microchip PD692x0 and the TI TPS23881.
3 patches has already been merged thanks to Jakub.
In detail:
- Patch 1 to 10 prepare net to support PoE devices.
- Patch 11 and 12 add PD692x0 PoE PSE controller driver and its binding.
- Patch 13 and 14 add TI TPS23881 PSE controller driver and its binding.
Changes in v9:
- Fix few kdoc return description missing.
- Fix a reference leak.
- Link to v8: https://lore.kernel.org/r/[email protected]
Changes in v8:
- Fix a build error due to an artifact from an ancient version of the series.
- Link to v7: https://lore.kernel.org/r/[email protected]
Changes in v7:
- Fix code, doc and kdoc nit.
- Fix few pd692x0 dt binding issues.
- Rename *flash_fw* functions to *flash_sram_fw* in tps23881 driver.
- Link to v6: https://lore.kernel.org/r/[email protected]
Changes in v6:
- TPS23881 fix firmware management release missing.
- Use pcdev device pointer as regulator consumer and provider.
- Rename of_legacy to no_of_pse_pi.
- Add kdoc, and separate functions for better readability.
- Add vpwr-supply regulator parent.
- Link to v5: https://lore.kernel.org/r/[email protected]
Changes in v5:
- Fix bindings nit.
- Add supported-polarity parameter to bindings.
- Fix yamllint binding errors.
- Remove the nested lock brought by the use of regulator framework.
- Link to v4: https://lore.kernel.org/r/[email protected]
Changes in v4:
- Replaced sponsored-by tag by a simple sentence.
- Fix pse_pi node bindings.
- Add pse pi documentation written by Oleksij.
- Link to v3: https://lore.kernel.org/r/[email protected]
Changes in v3:
- Add patches to add Oleksij and myself to PSE MAINTAINERS.
- Add patches to add pse devlink.
- Add TI TPS23881 PSE controller driver with its binding.
- Replace pse_get_types helper by pse_has_podl and pse_has_c33
- Changed the PSE core bindings.
- Add a setup_pi_matrix callback.
- Register regulator for each PSE PI (Power Interface).
- Changed the PD692x0 bindings.
- Updated PD692x0 drivers to new bindings and PSE PI description.
- Updated PD692x0 drivers according to the reviews and made fixes.
- Link to v2: https://lore.kernel.org/r/[email protected]
Changes in v2:
- Extract "firmware_loader: Expand Firmware upload error codes patches" to send it alone and get it merge in an immutable branch.
- Add "c33" prefix for PoE variables and enums.
- Enhance few comments.
- Add PSE Documentation.
- Make several changes in pd692x0 driver, mainly for readibility.
- Link to v1: https://lore.kernel.org/r/[email protected]
---
Kory Maincent (14):
ethtool: Expand Ethernet Power Equipment with c33 (PoE) alongside PoDL
net: pse-pd: Introduce PSE types enumeration
net: ethtool: pse-pd: Expand pse commands with the PSE PoE interface
netlink: specs: Modify pse attribute prefix
netlink: specs: Expand the pse netlink command with PoE interface
MAINTAINERS: Add myself to pse networking maintainer
net: pse-pd: Add support for PSE PIs
dt-bindings: net: pse-pd: Add another way of describing several PSE PIs
net: pse-pd: Add support for setup_pi_matrix callback
net: pse-pd: Use regulator framework within PSE framework
dt-bindings: net: pse-pd: Add bindings for PD692x0 PSE controller
net: pse-pd: Add PD692x0 PSE controller driver
dt-bindings: net: pse-pd: Add bindings for TPS23881 PSE controller
net: pse-pd: Add TI TPS23881 PSE controller driver
.../bindings/net/pse-pd/microchip,pd692x0.yaml | 169 +++ .../bindings/net/pse-pd/pse-controller.yaml | 101 +- .../bindings/net/pse-pd/ti,tps23881.yaml | 95 ++ Documentation/netlink/specs/ethtool.yaml | 33 +- Documentation/networking/ethtool-netlink.rst | 20 + Documentation/networking/index.rst | 1 + Documentation/networking/pse-pd/index.rst | 10 + Documentation/networking/pse-pd/introduction.rst | 73 ++ Documentation/networking/pse-pd/pse-pi.rst | 302 +++++ MAINTAINERS | 1 + drivers/net/pse-pd/Kconfig | 20 + drivers/net/pse-pd/Makefile | 2 + drivers/net/pse-pd/pd692x0.c | 1223 ++++++++++++++++++++ drivers/net/pse-pd/pse_core.c | 515 ++++++++- drivers/net/pse-pd/pse_regulator.c | 49 +- drivers/net/pse-pd/tps23881.c | 820 +++++++++++++ include/linux/pse-pd/pse.h | 79 +- include/uapi/linux/ethtool.h | 55 + include/uapi/linux/ethtool_netlink.h | 3 + net/ethtool/pse-pd.c | 60 +- 20 files changed, 3534 insertions(+), 97 deletions(-)
---
base-commit: 4103ffb31295dee66eaa0deba04b36c5051a2db4
change-id: 20231024-feature_poe-139490e73403
Best regards,
Signature · 3 lines
K�ry Maincent, Bootlin Embedded Linux and kernel engineering https://bootlin.com