Skip to content

RFC Add support for the LTC4266 PSE Controller

Kyle Swenson linux-devicetree netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest2 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2dt-bindings: net: pse-pd: Describe the LTC4266 PSE chipsetDocumentation/devicetree/bindings/net/pse-pd/lltc,ltc4266.yaml+146 -03 replies
2/2net: pse-pd: Add LTC4266 PSE controller driverdrivers/net/pse-pd/Kconfig drivers/net/pse-pd/Makefile drivers/net/pse-pd/ltc4266.c+930 -02 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [RFC PATCH net-next 0/2] Add support for the LTC4266 PSE Controller

Hello,

This RFC series is intended as a starting point for adding support for the LTC4266, an older PSE (IEEE 802.3at+) chipset from Linear Technology.

This chip has four individually controllable ports, each with its own detection, classification and current-limiting abilities. Currently, this series integrates with the PSE controller core and supports enable/disable, current and voltage reporting, classification results and will power up a valid IEEE 802.3at or IEEE802.3af powered device.

It also (poorly) supports the power-limiting functionality in the PSE core. The complexity here is that the LTC4266 only supports limiting the current, and so deriving a "current limit" from this power limit while staying compliant with the IEEE 802.3at/af specifications is tricky. I'm curious if folks have a better idea than the linear approximation I've used here.

It is RFC because I want to clarify some confusion I have around the system-level flow for a port's power allocation. It's very likely I've missed something, but it appears as though the port needs to be delivering power in order to set the power limit on the port.

Thanks for your time,
Kyle

Kyle Swenson (2):
dt-bindings: net: pse-pd: Describe the LTC4266 PSE chipset
net: pse-pd: Add LTC4266 PSE controller driver

 .../bindings/net/pse-pd/lltc,ltc4266.yaml     | 146 +++
 drivers/net/pse-pd/Kconfig                    |  10 +
 drivers/net/pse-pd/Makefile                   |   1 +
 drivers/net/pse-pd/ltc4266.c                  | 919 ++++++++++++++++++
 4 files changed, 1076 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/net/pse-pd/lltc,ltc4266.yaml
 create mode 100644 drivers/net/pse-pd/ltc4266.c
Signature · 1 line
2.47.0