mbox series

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

Message ID 20250214-dp83822-tx-swing-v5-0-02ca72620599@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 Feb. 14, 2025, 2:14 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 v5:
- Remove default from binding
- Fix description in binding by defining what 100% gain means
- Switch to reverse christmas tree in phy_get_internal_delay
- Add kernel doc for phy_get_tx_amplitude_gain
- EXPORT_SYMBOL_GPL for phy_get_tx_amplitude_gain
- Link to v4: https://lore.kernel.org/r/20250211-dp83822-tx-swing-v4-0-1e8ebd71ad54@liebherr.com

Changes in v4:
- Remove type $ref from binding
- Remove '|' from description in binding
- Change helper function from:
    static int phy_get_int_delay_property(struct device *dev, const char *name)
  to:
    static int phy_get_u32_property(struct device *dev, const char *name, u32 *val)
- Apply helper function to phy_get_internal_delay
- Link to v3: https://lore.kernel.org/r/20250204-dp83822-tx-swing-v3-0-9798e96500d9@liebherr.com

Changes in v3:
- Switch to tx-amplitude-100base-tx-percent in bindings
- Link to v2: https://lore.kernel.org/r/20250120-dp83822-tx-swing-v2-0-07c99dc42627@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-percent
      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      |  6 +++
 drivers/net/phy/dp83822.c                          | 38 ++++++++++++++++
 drivers/net/phy/phy_device.c                       | 53 ++++++++++++++--------
 include/linux/phy.h                                |  4 ++
 4 files changed, 83 insertions(+), 18 deletions(-)
---
base-commit: 7a7e0197133d18cfd9931e7d3a842d0f5730223f
change-id: 20241213-dp83822-tx-swing-5ba6c1e9b065

Best regards,

Comments

patchwork-bot+netdevbpf@kernel.org Feb. 18, 2025, 1:20 a.m. UTC | #1
Hello:

This series was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@kernel.org>:

On Fri, 14 Feb 2025 15:14:08 +0100 you wrote:
> 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 v5:
> - Remove default from binding
> - Fix description in binding by defining what 100% gain means
> - Switch to reverse christmas tree in phy_get_internal_delay
> - Add kernel doc for phy_get_tx_amplitude_gain
> - EXPORT_SYMBOL_GPL for phy_get_tx_amplitude_gain
> - Link to v4: https://lore.kernel.org/r/20250211-dp83822-tx-swing-v4-0-1e8ebd71ad54@liebherr.com
> 
> [...]

Here is the summary with links:
  - [net-next,v5,1/3] dt-bindings: net: ethernet-phy: add property tx-amplitude-100base-tx-percent
    https://git.kernel.org/netdev/net-next/c/7fff5d958648
  - [net-next,v5,2/3] net: phy: Add helper for getting tx amplitude gain
    https://git.kernel.org/netdev/net-next/c/961ee5aeea04
  - [net-next,v5,3/3] net: phy: dp83822: Add support for changing the transmit amplitude voltage
    https://git.kernel.org/netdev/net-next/c/4f3735e82d8a

You are awesome, thank you!