net: phy: generic polarity + LED support for qca808x
Status from this message: This series was applied to netdev/net-next.git (main)
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v10 Latest5 patches 3 repliesApplied 5/5
- v95 patches 11 repliesSuperseded
- v85 patches 5 repliesSuperseded
Earlier versions · 6
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v7 | 5 patches | 0 replies | Superseded | |
| v6 | 5 patches | 1 reply | Superseded | |
| v5 | 5 patches | 0 replies | Superseded | |
| v4 | 4 patches | 6 replies | Superseded | |
| v3 | 4 patches | 4 replies | Superseded | |
| v2 RFC | 4 patches | 3 replies | Superseded |
Patches in v10 All 5 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | dt-bindings: net: phy: Make LED active-low property commonDocumentation/ Documentation/ Documentation/ +3 more | +6 | 0 replies | Applied |
| 2/5 | dt-bindings: net: phy: Document LED inactive high impedance modeDocumentation/ | +6 | 0 replies | Applied |
| 3/5 | net: phy: add support for PHY LEDs polarity modesdrivers/ include/ | +38 | 3 replies | Applied |
| 4/5 | dt-bindings: net: Document QCA808x PHYsDocumentation/ | +54 | 0 replies | Applied |
| 5/5 | net: phy: at803x: add LED support for qca808xdrivers/ | +327 | 0 replies | Applied |
Reviews trailers per patch
All 5 patches have a Reviewed-by or Acked-by.
| Patch | Andrew Lunn | Lee Jones | Rob Herring |
|---|---|---|---|
| 1/5 | R-b | A-b | R-b |
| 2/5 | R-b | A-b | R-b |
| 3/5 | R-b | ||
| 4/5 | R-b | ||
| 5/5 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.
Cover letter [net-next PATCH v10 0/5] net: phy: generic polarity + LED support for qca808x
This small series add LEDs support for qca808x.
QCA808x apply on PHY reset a strange polarity settings and require some tweak to apply a more common configuration found on devices. On adding support for it, it was pointed out that a similar feature is also being implemented for a marvell PHY where LED polarity is set per LED (and not global) and also have a special mode where the LED is tristated.
The first 3 patch are to generalize this as we expect more PHY in the future to have a similar configuration.
The implementation is extensible to support additional special mode in the future with minimal changes and don't create regression on already implemented PHY drivers.
(changelog present in single patch)
Christian Marangi (5):
dt-bindings: net: phy: Make LED active-low property common
dt-bindings: net: phy: Document LED inactive high impedance mode
net: phy: add support for PHY LEDs polarity modes
dt-bindings: net: Document QCA808x PHYs
net: phy: at803x: add LED support for qca808x
.../devicetree/bindings/leds/common.yaml | 12 + .../bindings/leds/leds-bcm63138.yaml | 4 - .../bindings/leds/leds-bcm6328.yaml | 4 - .../devicetree/bindings/leds/leds-bcm6358.txt | 2 - .../bindings/leds/leds-pwm-multicolor.yaml | 4 - .../devicetree/bindings/leds/leds-pwm.yaml | 5 - .../devicetree/bindings/net/qca,qca808x.yaml | 54 +++ drivers/net/phy/at803x.c | 327 ++++++++++++++++++ drivers/net/phy/phy_device.c | 16 + include/linux/phy.h | 22 ++ 10 files changed, 431 insertions(+), 19 deletions(-) create mode 100644 Documentation/devicetree/bindings/net/qca,qca808x.yaml
Signature · 1 line
2.43.0