]> git.baikalelectronics.ru Git - uboot.git/commit
phy: marvell: a3700: Fix configuring polarity invert bits
authorPali Rohár <pali@kernel.org>
Fri, 24 Sep 2021 14:11:56 +0000 (16:11 +0200)
committerStefan Roese <sr@denx.de>
Fri, 8 Oct 2021 06:33:52 +0000 (08:33 +0200)
commit10b4f2d76fe08a22b4002456b216e6ac4149fd64
tree9323ce147013a97334c2d54520d373edbb024f77
parentcc6749d6859afae6933c495dc2f8d5fa946b8541
phy: marvell: a3700: Fix configuring polarity invert bits

phy_txd_inv or phy_rxd_inv needs to be set only in case when
appropriate polarity is inverted. Otherwise these bits should be
cleared.

Same change was included in TF-A project:
https://review.trustedfirmware.org/c/TF-A/trusted-firmware-a/+/9406

Signed-off-by: Pali Rohár <pali@kernel.org>
Reviewed-by: Stefan Roese <sr@denx.de>
drivers/phy/marvell/comphy_a3700.c