net/phy: Add support for CS4315/CS4340 PHY
authorShengzhou Liu <Shengzhou.Liu@freescale.com>
Mon, 10 Nov 2014 10:32:29 +0000 (18:32 +0800)
committerYork Sun <yorksun@freescale.com>
Fri, 5 Dec 2014 16:06:11 +0000 (08:06 -0800)
commit9b18e5199ec42f9dc62c0da7f4fe7554e199980d
tree4e008751897a988bf271b26814b5a2a8db775e8d
parent84baed2a2bdde3b2bf876d36cc966bd41ac67a6d
net/phy: Add support for CS4315/CS4340 PHY

Add support for Cortina CS4315/CS4340 10G PHY.
- This driver loads CS43xx firmware from NOR/NAND/SPI/SD device
  to initialize Cortina PHY.
- Cortina PHY has non-standard offset of PHY ID registers, thus
  we define own get_phy_id() to override default get_phy_id().
- To define macro CONFIG_PHY_CORTINA will enable this driver.

Signed-off-by: Shengzhou Liu <Shengzhou.Liu@freescale.com>
Reviewed-by: York Sun <yorksun@freescale.com>
drivers/net/phy/Makefile
drivers/net/phy/cortina.c [new file with mode: 0644]
drivers/net/phy/phy.c
include/cortina.h [new file with mode: 0644]
include/phy.h