mbox series

[net-next,v4,0/2] net: micrel: Add support for lan8841 PHY

Message ID 20230207105212.1275396-1-horatiu.vultur@microchip.com
Headers show
Series net: micrel: Add support for lan8841 PHY | expand

Message

Horatiu Vultur Feb. 7, 2023, 10:52 a.m. UTC
Add support for lan8841 PHY.

The first patch add the support for lan8841 PHY which can run at
10/100/1000Mbit. It also has support for other features, but they are not
added in this series.

The second patch updates the documentation for the dt-bindings which is
similar to the ksz9131.

v3->v4:
- add space between defines and function names
- inside lan8841_config_init use only ret variable

v2->v3:
- reuse ksz9131_config_init
- allow only open-drain configuration
- change from single patch to a patch series

v1->v2:
- Remove hardcoded values
- Fix typo in commit message

Horatiu Vultur (2):
  net: micrel: Add support for lan8841 PHY
  dt-bindings: net: micrel-ksz90x1.txt: Update for lan8841

 .../bindings/net/micrel-ksz90x1.txt           |   1 +
 drivers/net/phy/micrel.c                      | 189 +++++++++++++++++-
 include/linux/micrel_phy.h                    |   1 +
 3 files changed, 182 insertions(+), 9 deletions(-)

Comments

Andrew Lunn Feb. 7, 2023, 1:27 p.m. UTC | #1
On Tue, Feb 07, 2023 at 11:52:11AM +0100, Horatiu Vultur wrote:
> The LAN8841 is completely integrated triple-speed (10BASE-T/ 100BASE-TX/
> 1000BASE-T) Ethernet physical layer transceivers for transmission and
> reception of data on standard CAT-5, as well as CAT-5e and CAT-6,
> unshielded twisted pair (UTP) cables.
> The LAN8841 offers the industry-standard GMII/MII as well as the RGMII.
> Some of the features of the PHY are:
> - Wake on LAN
> - Auto-MDIX
> - IEEE 1588-2008 (V2)
> - LinkMD Capable diagnosis
> 
> Currently the patch offers support only for link configuration.
> 
> Signed-off-by: Horatiu Vultur <horatiu.vultur@microchip.com>

Reviewed-by: Andrew Lunn <andrew@lunn.ch>

    Andrew
patchwork-bot+netdevbpf@kernel.org Feb. 8, 2023, 9:20 a.m. UTC | #2
Hello:

This series was applied to netdev/net-next.git (master)
by David S. Miller <davem@davemloft.net>:

On Tue, 7 Feb 2023 11:52:10 +0100 you wrote:
> Add support for lan8841 PHY.
> 
> The first patch add the support for lan8841 PHY which can run at
> 10/100/1000Mbit. It also has support for other features, but they are not
> added in this series.
> 
> The second patch updates the documentation for the dt-bindings which is
> similar to the ksz9131.
> 
> [...]

Here is the summary with links:
  - [net-next,v4,1/2] net: micrel: Add support for lan8841 PHY
    https://git.kernel.org/netdev/net-next/c/a8f1a19d27ef
  - [net-next,v4,2/2] dt-bindings: net: micrel-ksz90x1.txt: Update for lan8841
    https://git.kernel.org/netdev/net-next/c/33e581d76e35

You are awesome, thank you!