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)
commit7334b3e47aeed5a84ccd6bbc3431a5f69651e107
treee5c676d96668ad467bcabf9460080265382cb8c7
parent9a4c803748250f34213e50f42db832c6b7aa05ea
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]