summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGrzegorz Jaszczyk <jaz@semihalf.com>2018-09-07 10:46:50 +0200
committerKostya Porotchkin <kostap@marvell.com>2018-09-16 10:37:04 +0300
commit5623a2f45d1f8ffabfab7db2c593cde933a0e6ed (patch)
treef3f1c617fe984e87b704bac558df1ff57e6908de
parentda86990f5cdc84b81cec5e36802bfbff1350d146 (diff)
mvebu: a3700: add extra USB3H mode since some existing consumers uses it
Both USB3H and USB are equivalent from 3700-comphy perspective and some consumers (various version on Linux was using them interchangeably). To not break compatibility with various consumers version, the equivalent mode is added. Change-Id: I52526b4e64ddf57281fc956a375d199a1c42e835 Signed-off-by: Grzegorz Jaszczyk <jaz@semihalf.com> Reviewed-on: http://vgitil04.il.marvell.com:8080/59824 Tested-by: iSoC Platform CI <ykjenk@marvell.com> Reviewed-by: Kostya Porotchkin <kostap@marvell.com>
-rw-r--r--drivers/marvell/comphy/phy-comphy-3700.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/marvell/comphy/phy-comphy-3700.c b/drivers/marvell/comphy/phy-comphy-3700.c
index 25a07672..53a59b0f 100644
--- a/drivers/marvell/comphy/phy-comphy-3700.c
+++ b/drivers/marvell/comphy/phy-comphy-3700.c
@@ -844,6 +844,7 @@ int mvebu_3700_comphy_power_on(uint8_t comphy_index, uint32_t comphy_mode)
comphy_mode);
break;
case (COMPHY_USB3_MODE):
+ case (COMPHY_USB3H_MODE):
ret = mvebu_a3700_comphy_usb3_power_on(comphy_index,
comphy_mode);
break;
@@ -906,6 +907,7 @@ int mvebu_3700_comphy_power_off(uint8_t comphy_index, uint32_t comphy_mode)
switch (mode) {
case (COMPHY_USB3_MODE):
+ case (COMPHY_USB3H_MODE):
err = mvebu_a3700_comphy_usb3_power_off();
break;
case (COMPHY_SATA_MODE):