net: phy: Add Cortina CS4340 driver
authorBogdan Purcareata <bogdan.purcareata@nxp.com>
Mon, 29 May 2017 09:11:30 +0000 (09:11 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 30 May 2017 16:42:27 +0000 (12:42 -0400)
commit15b9e5330f94ccd8202a3eacc79b5d27da82e1c6
treeac359925f05c9c2cb5a3617c71344da7376d0253
parenteb67e07ac63ca362d421bc44766140d9e008914d
net: phy: Add Cortina CS4340 driver

Add basic support for Cortina PHY drivers. Support only CS4340 for now.
The phys are not compatible with IEEE 802.3 clause 22/45 registers.

Implement proper read_status support. The generic 10G phy driver causes
bus register access errors.

The driver should be described using the "ethernet-phy-id" device tree
compatible.

Signed-off-by: Bogdan Purcareata <bogdan.purcareata@nxp.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/Kconfig
drivers/net/phy/Makefile
drivers/net/phy/cortina.c [new file with mode: 0644]