[PATCH net-next v2 0/3] net: phy: dp83822: Add support for changing the MAC series termination
From: Dimitri Fedrau via B4 Relay
Date: Tue Apr 08 2025 - 03:47:13 EST
The dp83822 provides the possibility to set the resistance value of the
the MAC series termination. Modifying the resistance to an appropriate
value can reduce signal reflections and therefore improve signal quality.
Signed-off-by: Dimitri Fedrau <dimitri.fedrau@xxxxxxxxxxxx>
---
Changes in v2:
- Renamed "mac-series-termination-ohms" to "mac-termination-ohms"
- Added description for "mac-termination-ohms"
- Renamed "phy_get_mac_series_termination" to "phy_get_mac_termination"
- Dropped "mac_series_termination_modify" from dp83822_private
- Init mac_termination_index in dp8382x_probe
- Renamed "mac_series_termination" to "mac_termination"
- Link to v1: https://lore.kernel.org/r/20250307-dp83822-mac-impedance-v1-0-bdd85a759b45@xxxxxxxxxxxx
---
Dimitri Fedrau (3):
dt-bindings: net: ethernet-phy: add property mac-termination-ohms
net: phy: Add helper for getting MAC termination resistance
net: phy: dp83822: Add support for changing the MAC termination
.../devicetree/bindings/net/ethernet-phy.yaml | 9 ++++++
drivers/net/phy/dp83822.c | 33 ++++++++++++++++++++++
drivers/net/phy/phy_device.c | 15 ++++++++++
include/linux/phy.h | 3 ++
4 files changed, 60 insertions(+)
---
base-commit: 61f96e684edd28ca40555ec49ea1555df31ba619
change-id: 20250305-dp83822-mac-impedance-840435b0c9e6
Best regards,
--
Dimitri Fedrau <dimitri.fedrau@xxxxxxxxxxxx>