]> git.baikalelectronics.ru Git - kernel.git/commit
net: phy: micrel: Add KS8851 PHY support
authorMarek Vasut <marex@denx.de>
Tue, 5 Jan 2021 14:11:50 +0000 (15:11 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 6 Jan 2021 01:05:11 +0000 (17:05 -0800)
commit074797a9ed01a8c4a292f650d11cf8ae771f89f8
tree34abf614c4c6fd8458c67c176727548114cb4f0f
parentd1fc7a17b8369d0513ce4506d1f31e912de63e33
net: phy: micrel: Add KS8851 PHY support

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.

Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Andrew Lunn <andrew@lunn.ch>
Cc: Heiner Kallweit <hkallweit1@gmail.com>
Cc: Lukas Wunner <lukas@wunner.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/micrel.c