summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 5f41aaf)
raw | patch | inline | side by side (parent: 5f41aaf)
author | Christine Gharzuzi <chrisg@marvell.com> | |
Wed, 23 May 2018 09:10:36 +0000 (12:10 +0300) | ||
committer | Stefan Roese <sr@denx.de> | |
Thu, 29 Apr 2021 05:45:24 +0000 (07:45 +0200) |
- the default value of comphy pipe selector is set to PCIe (x4)
in case of unconnected comphy the default value remains 0x4
which may lead to several issues with comphy initialization.
- this patch adds SMC call that powers off the comphy lane in case of
unconnected comphy.
Change-Id: I196b2916518dd8df3b159ffa85e2989b8e483087
Signed-off-by: Christine Gharzuzi <chrisg@marvell.com>
Signed-off-by: Igal Liberman <igall@marvell.com>
Reviewed-by: Grzegorz Jaszczyk <jaz@semihalf.com>
in case of unconnected comphy the default value remains 0x4
which may lead to several issues with comphy initialization.
- this patch adds SMC call that powers off the comphy lane in case of
unconnected comphy.
Change-Id: I196b2916518dd8df3b159ffa85e2989b8e483087
Signed-off-by: Christine Gharzuzi <chrisg@marvell.com>
Signed-off-by: Igal Liberman <igall@marvell.com>
Reviewed-by: Grzegorz Jaszczyk <jaz@semihalf.com>
drivers/phy/marvell/comphy_cp110.c | patch | blob | history |
index 55202888194d4aab2f32427831b5e608f016f565..d9a94f9d0d09c73c9fe7ce6a2e308eb5006352bc 100644 (file)
}
switch (ptr_comphy_map->type) {
case COMPHY_TYPE_UNCONNECTED:
+ ret = comphy_smc(MV_SIP_COMPHY_POWER_OFF,
+ ptr_chip_cfg->comphy_base_addr,
+ lane,
+ ptr_comphy_map->type);
case COMPHY_TYPE_IGNORE:
continue;
break;