]> git.baikalelectronics.ru Git - kernel.git/commit
net: phy: Add Meson GXL Internal PHY driver
authorNeil Armstrong <narmstrong@baylibre.com>
Fri, 4 Nov 2016 15:51:23 +0000 (16:51 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 9 Nov 2016 17:50:55 +0000 (12:50 -0500)
commit361c843ba5216e0c9e4596cc293dbb799301e733
treee5c676d96668ad467bcabf9460080265382cb8c7
parent432e939221a00677485c5a5a6092b2614498b8bc
net: phy: Add Meson GXL Internal PHY driver

Add driver for the Internal RMII PHY found in the Amlogic Meson GXL SoCs.

This PHY seems to only implement some standard registers and need some
workarounds to provide autoneg values from vendor registers.

Some magic values are currently used to configure the PHY, and this a
temporary setup until clarification about these registers names and
registers fields are provided by Amlogic.

Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/Kconfig
drivers/net/phy/Makefile
drivers/net/phy/meson-gxl.c [new file with mode: 0644]