mbox series

[net-next,v2,0/3] net: phy: dp83822: Add support for changing the transmit amplitude voltage

Message ID 20250120-dp83822-tx-swing-v2-0-07c99dc42627@liebherr.com (mailing list archive)
Headers show
Series net: phy: dp83822: Add support for changing the transmit amplitude voltage | expand

Message

Dimitri Fedrau via B4 Relay Jan. 20, 2025, 1:50 p.m. UTC
Add support for changing the transmit amplitude voltage in 100BASE-TX mode.
Add support for configuration via DT.

Signed-off-by: Dimitri Fedrau <dimitri.fedrau@liebherr.com>
---
Changes in v2:
- Remove binding ti,tx-amplitude-100base-tx-millivolt from ti,dp83822.yaml
- Add binding tx-amplitude-100base-tx-gain-milli to ethernet-phy.yaml
- Add helper to get tx amplitude gain from DT
- Link to v1: https://lore.kernel.org/r/20250113-dp83822-tx-swing-v1-0-7ed5a9d80010@liebherr.com

---
Dimitri Fedrau (3):
      dt-bindings: net: ethernet-phy: add property tx-amplitude-100base-tx-gain-milli
      net: phy: Add helper for getting tx amplitude gain
      net: phy: dp83822: Add support for changing the transmit amplitude voltage

 .../devicetree/bindings/net/ethernet-phy.yaml      |  8 +++++
 drivers/net/phy/dp83822.c                          | 37 ++++++++++++++++++++++
 drivers/net/phy/phy_device.c                       | 20 +++++++++---
 include/linux/phy.h                                |  3 ++
 4 files changed, 64 insertions(+), 4 deletions(-)
---
base-commit: 64ff63aeefb03139ae27454bd4208244579ae88e
change-id: 20241213-dp83822-tx-swing-5ba6c1e9b065

Best regards,