[PATCH 5/6] phy: ti: phy-j721e-wiz: Add SGMII support in wiz driver for J721E

Siddharth Vadapalli posted 6 patches 3 years, 6 months ago
There is a newer version of this series
[PATCH 5/6] phy: ti: phy-j721e-wiz: Add SGMII support in wiz driver for J721E
Posted by Siddharth Vadapalli 3 years, 6 months ago
Enable full rate divider configuration support for J721E_WIZ_16G for
SGMII.

Signed-off-by: Siddharth Vadapalli <s-vadapalli@ti.com>
---
 drivers/phy/ti/phy-j721e-wiz.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/phy/ti/phy-j721e-wiz.c b/drivers/phy/ti/phy-j721e-wiz.c
index 20af142580ad..9a33aebdcbe5 100644
--- a/drivers/phy/ti/phy-j721e-wiz.c
+++ b/drivers/phy/ti/phy-j721e-wiz.c
@@ -1191,6 +1191,7 @@ static int wiz_phy_fullrt_div(struct wiz *wiz, int lane)
 			return regmap_field_write(wiz->p0_fullrt_div[lane], 0x1);
 		break;
 	case J721E_WIZ_10G:
+	case J721E_WIZ_16G:
 	case J7200_WIZ_10G:
 		if (wiz->lane_phy_type[lane] == PHY_TYPE_SGMII)
 			return regmap_field_write(wiz->p0_fullrt_div[lane], 0x2);
-- 
2.25.1