From: Siddharth Vadapalli Date: Thu, 9 Mar 2023 09:24:34 +0000 (+0530) Subject: phy: ti: j721e-wiz: Add SGMII support in WIZ driver for J721E X-Git-Tag: v6.6.7~2897^2~3 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ec318c51b686841e36c924bc0e5a13a75e75b27b;p=platform%2Fkernel%2Flinux-starfive.git phy: ti: j721e-wiz: Add SGMII support in WIZ driver for J721E Enable full rate divider configuration support for J721E_WIZ_16G for SGMII. Signed-off-by: Siddharth Vadapalli Reviewed-by: Roger Quadros Link: https://lore.kernel.org/r/20230309092434.443550-1-s-vadapalli@ti.com Signed-off-by: Vinod Koul --- diff --git a/drivers/phy/ti/phy-j721e-wiz.c b/drivers/phy/ti/phy-j721e-wiz.c index d599184..d919237 100644 --- a/drivers/phy/ti/phy-j721e-wiz.c +++ b/drivers/phy/ti/phy-j721e-wiz.c @@ -1234,6 +1234,8 @@ static int wiz_phy_fullrt_div(struct wiz *wiz, int lane) if (wiz->lane_phy_type[lane] == PHY_TYPE_PCIE) return regmap_field_write(wiz->p0_fullrt_div[lane], 0x1); break; + + case J721E_WIZ_16G: case J721E_WIZ_10G: case J7200_WIZ_10G: case J721S2_WIZ_10G: