]> git.dujemihanovic.xyz Git - u-boot.git/commit
phy: marvell: add RX training command
authorIgal Liberman <igall@marvell.com>
Tue, 23 Mar 2021 10:57:57 +0000 (11:57 +0100)
committerStefan Roese <sr@denx.de>
Thu, 29 Apr 2021 05:45:24 +0000 (07:45 +0200)
commite49cdbe10b082980029b8e215842be4fbbd13f5f
tree7caba88aef484f1eaf277acfdf0c098b440ee8f6
parent7b27e608f8f75946c896a63db3528c05941cc808
phy: marvell: add RX training command

This patch adds support for running RX training using new command called
"rx_training"
Usage:
rx_training - rx_training <cp id> <comphy id>

RX training allows to improve link quality (for SFI mode)
by running training sequence between us and the link partner,
this allows to reach better link quality then using static configuration.

Change-Id: I818fe67ccaf19a87af50d4c34a9db7d6802049a5
Signed-off-by: Igal Liberman <igall@marvell.com>
Signed-off-by: Marcin Wojtas <mw@semihalf.com>
cmd/mvebu/Kconfig
cmd/mvebu/Makefile
cmd/mvebu/rx_training.c [new file with mode: 0644]
configs/mvebu_db_armada8k_defconfig
drivers/phy/marvell/comphy_core.c
drivers/phy/marvell/comphy_core.h
drivers/phy/marvell/comphy_cp110.c
drivers/phy/marvell/comphy_hpipe.h
include/mvebu/comphy.h