summaryrefslogtreecommitdiff
path: root/drivers/marvell/comphy/phy-comphy-cp110.h
diff options
context:
space:
mode:
authorGrzegorz Jaszczyk <jaz@semihalf.com>2020-01-21 17:02:29 +0100
committerMarcin Wojtas <mw@semihalf.com>2020-10-04 15:56:01 +0200
commitff9cfdc0e2de57bb8bdd7173bb1b924a09501f39 (patch)
tree8203d16d1a42444290d9718627e0ee017568a935 /drivers/marvell/comphy/phy-comphy-cp110.h
parent38f6daca7a1ebdd9336d4618d8da906a14c4f0c3 (diff)
downloadarm-trusted-firmware-ff9cfdc0e2de57bb8bdd7173bb1b924a09501f39.tar.gz
marvell: comphy: cp110: add support for USB comphy polarity invert
The polarity inversion for USB was not tested due to lack of hw design which requires it. Currently all supported boards doesn't require USB phy polarity inversion, therefore COMPHY_POLARITY_NO_INVERT is set for all boards. Enable the option for the ones that need it. Change-Id: Ia5f2ee313a93962e94963e2dd8a759ef6d9da369 Signed-off-by: Grzegorz Jaszczyk <jaz@semihalf.com>
Diffstat (limited to 'drivers/marvell/comphy/phy-comphy-cp110.h')
-rw-r--r--drivers/marvell/comphy/phy-comphy-cp110.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/marvell/comphy/phy-comphy-cp110.h b/drivers/marvell/comphy/phy-comphy-cp110.h
index 1dc3aa253..b4a210242 100644
--- a/drivers/marvell/comphy/phy-comphy-cp110.h
+++ b/drivers/marvell/comphy/phy-comphy-cp110.h
@@ -81,6 +81,10 @@ struct sata_params {
_Bool valid;
};
+struct usb_params {
+ uint8_t polarity_invert;
+};
+
int mvebu_cp110_comphy_is_pll_locked(uint64_t comphy_base,
uint8_t comphy_index);
int mvebu_cp110_comphy_power_off(uint64_t comphy_base,