phy: add A3700 COMPHY support
authorMiquel Raynal <miquel.raynal@bootlin.com>
Tue, 8 Jan 2019 16:31:20 +0000 (17:31 +0100)
committerKishon Vijay Abraham I <kishon@ti.com>
Thu, 7 Feb 2019 05:41:01 +0000 (11:11 +0530)
commit9695375a3f4a604406f2e61f2b735eca1de931ed
treef9e144942468953a23d6e1250ce8a8989abb18f4
parentae4c5d69acc012ba40680cf8b63a2845622cc7c7
phy: add A3700 COMPHY support

Add a driver to support COMPHY, a hardware block providing shared
serdes PHYs on Marvell Armada 3700. This driver uses SMC calls and
rely on having an up-to-date firmware.

SATA, PCie and USB3 host mode have been tested successfully with an
ESPRESSObin. (HS)SGMII mode cannot be tested with this platform.

Evan worked on the original driver structure and Grzegorz on the SMC
calls rework. The structure of this driver has been copied from
Antoine Tenart work on CP110 COMPHY driver.

Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Co-developed-by: Evan Wang <xswang@marvell.com>
Signed-off-by: Evan Wang <xswang@marvell.com>
Co-developed-by: Grzegorz Jaszczyk <jaz@semihalf.com>
Signed-off-by: Grzegorz Jaszczyk <jaz@semihalf.com>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
drivers/phy/marvell/Kconfig
drivers/phy/marvell/Makefile
drivers/phy/marvell/phy-mvebu-a3700-comphy.c [new file with mode: 0644]