]> git.baikalelectronics.ru Git - uboot.git/commit
phy: marvell: cp110: let the firmware configure the comphy
authorGrzegorz Jaszczyk <jaz@semihalf.com>
Sun, 18 Oct 2020 14:11:11 +0000 (17:11 +0300)
committerStefan Roese <sr@denx.de>
Thu, 29 Oct 2020 07:00:12 +0000 (08:00 +0100)
commitdfb551cbf6c129b8ee4783aa3234ab328589d8cd
treeac2e30880cdb0f116ce719b0d792617aec36fa1e
parentec7cd76409b361d66a1f10370f90d3440df10f60
phy: marvell: cp110: let the firmware configure the comphy

Replace all comphy initialization with appropriate smc calls. It will
result with triggering synchronous exception that is handled by Secure
Monitor code in EL3. Then the Secure Monitor code will dispatch each smc
call (by parsing the smc function identifier) and triggers appropriate
comphy initialization.

This patch reworks serdes handling for: SATA, SGMII, HS-SGMII and SFI
interfaces.

Signed-off-by: Grzegorz Jaszczyk <jaz@semihalf.com>
Reviewed-by: Igal Liberman <igall@marvell.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
drivers/phy/marvell/comphy_cp110.c