aboutsummaryrefslogtreecommitdiff
path: root/plat/marvell/octeontx
diff options
context:
space:
mode:
authorGrzegorz Jaszczyk <jaz@semihalf.com>2020-01-21 17:02:10 +0100
committerMarcin Wojtas <mw@semihalf.com>2020-10-04 15:55:39 +0200
commit38f6daca7a1ebdd9336d4618d8da906a14c4f0c3 (patch)
treeb7f9fbb89709c0ec15be934d0d6d587b2237a8ed /plat/marvell/octeontx
parent8fa134089229e86847bf17e820011340a36be7b7 (diff)
downloadtrusted-firmware-a-38f6daca7a1ebdd9336d4618d8da906a14c4f0c3.tar.gz
marvell: comphy: cp110: add support for SATA comphy polarity invert
The cp110 comphy has ability to invert RX and/or TX polarity. Polarity depends on board design. Currently all supported boards doesn't require SATA phy polarity invert, therefore COMPHY_POLARITY_NO_INVERT is set for all boards. Change-Id: Ifd0bc6aaf8a76a0928132b197422f3193cf020d5 Signed-off-by: Grzegorz Jaszczyk <jaz@semihalf.com>
Diffstat (limited to 'plat/marvell/octeontx')
-rw-r--r--plat/marvell/octeontx/otx2/t91/t9130/board/phy-porting-layer.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/plat/marvell/octeontx/otx2/t91/t9130/board/phy-porting-layer.h b/plat/marvell/octeontx/otx2/t91/t9130/board/phy-porting-layer.h
index a8660552e8..824465845d 100644
--- a/plat/marvell/octeontx/otx2/t91/t9130/board/phy-porting-layer.h
+++ b/plat/marvell/octeontx/otx2/t91/t9130/board/phy-porting-layer.h
@@ -131,6 +131,7 @@ SATA_PARAMS sata_static_values_tab[AP_NUM][CP_NUM][MAX_LANE_NR] = {
.g3_rx_selmupf = 0x2,
.g1_rx_selmupi = 0x0, .g2_rx_selmupi = 0x0,
.g3_rx_selmupi = 0x2,
+ .polarity_invert = COMPHY_POLARITY_NO_INVERT,
.valid = 0x1
},
};