mbox series

[net-next,V3,0/2] net: ks8851: Add KS8851 PHY support

Message ID 20210105141151.122922-1-marex@denx.de (mailing list archive)
Headers show
Series net: ks8851: Add KS8851 PHY support | expand

Message

Marek Vasut Jan. 5, 2021, 2:11 p.m. UTC
The KS8851 has a reduced internal PHY, which is accessible through its
registers at offset 0xe4. The PHY is compatible with KS886x PHY present
in Micrel switches, including the PHY ID Low/High registers swap, which
is present both in the MAC and the switch.

Marek Vasut (2):
  net: phy: micrel: Add KS8851 PHY support
  net: ks8851: Register MDIO bus and the internal PHY

 drivers/net/ethernet/micrel/ks8851.h        |   2 +
 drivers/net/ethernet/micrel/ks8851_common.c | 112 +++++++++++++++++---
 drivers/net/phy/micrel.c                    |   2 +-
 3 files changed, 99 insertions(+), 17 deletions(-)

Cc: Andrew Lunn <andrew@lunn.ch>
Cc: Heiner Kallweit <hkallweit1@gmail.com>
Cc: Lukas Wunner <lukas@wunner.de>

Comments

David Miller Jan. 6, 2021, 1:06 a.m. UTC | #1
From: Marek Vasut <marex@denx.de>
Date: Tue,  5 Jan 2021 15:11:49 +0100

> The KS8851 has a reduced internal PHY, which is accessible through its
> registers at offset 0xe4. The PHY is compatible with KS886x PHY present
> in Micrel switches, including the PHY ID Low/High registers swap, which
> is present both in the MAC and the switch.

Series applied, thanks.