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

Siddharth Vadapalli posted 1 patch 2 years, 6 months ago
drivers/phy/ti/phy-j721e-wiz.c | 2 ++
1 file changed, 2 insertions(+)
[PATCH] phy: ti: j721e-wiz: Add SGMII support in WIZ driver for J721E
Posted by Siddharth Vadapalli 2 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 | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/phy/ti/phy-j721e-wiz.c b/drivers/phy/ti/phy-j721e-wiz.c
index 1b83c98a78f0..ed4b0442cf5b 100644
--- a/drivers/phy/ti/phy-j721e-wiz.c
+++ b/drivers/phy/ti/phy-j721e-wiz.c
@@ -1235,6 +1235,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:
-- 
2.25.1
Re: [PATCH] phy: ti: j721e-wiz: Add SGMII support in WIZ driver for J721E
Posted by Vinod Koul 2 years, 5 months ago
On 09-03-23, 14:54, Siddharth Vadapalli wrote:
> Enable full rate divider configuration support for J721E_WIZ_16G for SGMII.

Applied, thanks

-- 
~Vinod
Re: [PATCH] phy: ti: j721e-wiz: Add SGMII support in WIZ driver for J721E
Posted by Roger Quadros 2 years, 5 months ago

On 09/03/2023 11:24, Siddharth Vadapalli wrote:
> Enable full rate divider configuration support for J721E_WIZ_16G for SGMII.
> 
> Signed-off-by: Siddharth Vadapalli <s-vadapalli@ti.com>

Reviewed-by: Roger Quadros <rogerq@kernel.org>