mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH net-next v3 0/4] net: phy: dp83822: Add support for changing the MAC series termination
@ 2025-04-16 17:14 Dimitri Fedrau via B4 Relay
  2025-04-16 17:14 ` [PATCH net-next v3 1/4] dt-bindings: net: ethernet-phy: add property mac-termination-ohms Dimitri Fedrau via B4 Relay
                   ` (4 more replies)
  0 siblings, 5 replies; 9+ messages in thread
From: Dimitri Fedrau via B4 Relay @ 2025-04-16 17:14 UTC (permalink / raw)
  To: Andrew Lunn, Heiner Kallweit, Russell King, David S. Miller,
	Eric Dumazet, Jakub Kicinski, Paolo Abeni, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Florian Fainelli, Andrew Lunn,
	Andrew Davis
  Cc: netdev, devicetree, linux-kernel, Dimitri Fedrau, Dimitri Fedrau,
	Russell King (Oracle)

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@liebherr.com>
---
Changes in v3:
- Add maximum to mac-termination-ohms in ethernet-phy.yaml
- Add allowed values for mac-termination-ohms in ti,dp83822.yaml
- Added mac-termination-ohms in sample in ti,dp83822.yaml
- Link to v2: https://lore.kernel.org/r/20250408-dp83822-mac-impedance-v2-0-fefeba4a9804@liebherr.com

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@liebherr.com

---
Dimitri Fedrau (4):
      dt-bindings: net: ethernet-phy: add property mac-termination-ohms
      dt-bindings: net: dp83822: add constraints for 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      | 10 +++++++
 .../devicetree/bindings/net/ti,dp83822.yaml        |  4 +++
 drivers/net/phy/dp83822.c                          | 33 ++++++++++++++++++++++
 drivers/net/phy/phy_device.c                       | 15 ++++++++++
 include/linux/phy.h                                |  3 ++
 5 files changed, 65 insertions(+)
---
base-commit: ac1df712442c64b50cfdbe01da0e5aca8319b559
change-id: 20250305-dp83822-mac-impedance-840435b0c9e6

Best regards,
-- 
Dimitri Fedrau <dimitri.fedrau@liebherr.com>



^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2025-04-23  1:09 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-04-16 17:14 [PATCH net-next v3 0/4] net: phy: dp83822: Add support for changing the MAC series termination Dimitri Fedrau via B4 Relay
2025-04-16 17:14 ` [PATCH net-next v3 1/4] dt-bindings: net: ethernet-phy: add property mac-termination-ohms Dimitri Fedrau via B4 Relay
2025-04-21 22:23   ` Rob Herring (Arm)
2025-04-16 17:14 ` [PATCH net-next v3 2/4] dt-bindings: net: dp83822: add constraints for mac-termination-ohms Dimitri Fedrau via B4 Relay
2025-04-17 19:21   ` Andrew Lunn
2025-04-21 22:23   ` Rob Herring (Arm)
2025-04-16 17:14 ` [PATCH net-next v3 3/4] net: phy: Add helper for getting MAC termination resistance Dimitri Fedrau via B4 Relay
2025-04-16 17:14 ` [PATCH net-next v3 4/4] net: phy: dp83822: Add support for changing the MAC termination Dimitri Fedrau via B4 Relay
2025-04-23  1:10 ` [PATCH net-next v3 0/4] net: phy: dp83822: Add support for changing the MAC series termination patchwork-bot+netdevbpf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®