Commit 2029e714 authored by Chintan Vankar's avatar Chintan Vankar Committed by Vinod Koul
Browse files

phy: ti: j721e-wiz: Add SGMII support in WIZ driver for J784S4



Enable full rate divider configuration support for J784S4_WIZ_10G
for SGMII.

Signed-off-by: default avatarChintan Vankar <c-vankar@ti.com>
Reviewed-by: default avatarRoger Quadros <rogerq@kernel.org>
Link: https://lore.kernel.org/r/20231221102956.754617-2-c-vankar@ti.com


Signed-off-by: default avatarVinod Koul <vkoul@kernel.org>
parent d719915a
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1240,6 +1240,7 @@ static int wiz_phy_fullrt_div(struct wiz *wiz, int lane)
	case J721E_WIZ_10G:
	case J7200_WIZ_10G:
	case J721S2_WIZ_10G:
	case J784S4_WIZ_10G:
		if (wiz->lane_phy_type[lane] == PHY_TYPE_SGMII)
			return regmap_field_write(wiz->p0_fullrt_div[lane], 0x2);
		break;