phy: marvell: cp110: add 5G XFI mode
authorIgal Liberman <igall@marvell.com>
Mon, 24 Apr 2017 15:45:28 +0000 (18:45 +0300)
committerStefan Roese <sr@denx.de>
Tue, 9 May 2017 11:38:18 +0000 (13:38 +0200)
commitb617a0d7b8b19cfd01c4dec6089886d3f897da5c
tree71c93d1989b497a716088f238e74236988fd4947
parentfdc9e88088a774c6de0382f5a05a32dd8684b0bb
phy: marvell: cp110: add 5G XFI mode

This patch adds the option to configure a comphy to 5G XFI mode.

In order to configure the comphy to 5G XFI, update
the comphy node in the device-tree:
phy2 {
phy-type = <PHY_TYPE_SFI>;
phy-speed = <PHY_SPEED_5_15625G>;
};

Signed-off-by: Igal Liberman <igall@marvell.com>
Signed-off-by: Stefan Roese <sr@denx.de>
Reviewed-by: Stefan Roese <sr@denx.de>
drivers/phy/marvell/comphy_cp110.c
drivers/phy/marvell/comphy_hpipe.h
include/dt-bindings/comphy/comphy_data.h