phy: marvell: Support changing SERDES map in board file
authorMarek BehĂșn <marek.behun@nic.cz>
Fri, 17 Aug 2018 10:58:51 +0000 (12:58 +0200)
committerStefan Roese <sr@denx.de>
Wed, 19 Sep 2018 06:59:26 +0000 (08:59 +0200)
commit4b8cb84327a448f16b276769e0ffbc7869d6de4a
tree5ffd78ce20819b00712a5d7ba31e35cb80f81dbf
parent2fd4284051e33763e3424cbd7e106e0a75dfd16e
phy: marvell: Support changing SERDES map in board file

This adds a weak definition of comphy_update_map to comphy_core,
which does nothing. If this function is defined elsewhere, for example
in board file, the board file can change some parameters of SERDES
configuration.

This is needed on Turris Mox, where the SERDES speed on lane 1 has to
be set differently when SFP module is connected and when Topaz Switch
module is connected.

This is a temporary solution. When the comphy driver for armada-3720
will be added to the kernel, the comphy driver in u-boot shall also be
updated and this should be done differently then.

Signed-off-by: Marek Behun <marek.behun@nic.cz>
Signed-off-by: Stefan Roese <sr@denx.de>
MAINTAINERS
drivers/phy/marvell/comphy.h [deleted file]
drivers/phy/marvell/comphy_a3700.h
drivers/phy/marvell/comphy_core.c
drivers/phy/marvell/comphy_core.h [new file with mode: 0644]
drivers/phy/marvell/comphy_cp110.c
drivers/phy/marvell/comphy_mux.c
include/mvebu/comphy.h [new file with mode: 0644]