From nobody Wed Apr 8 02:48:22 2026 Received: from www537.your-server.de (www537.your-server.de [188.40.3.216]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 60B323AE6F7; Tue, 7 Apr 2026 11:43:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=188.40.3.216 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775562193; cv=none; b=EMYDELSb2d8NRN+OHr4bWyaE6OSOEigZv15aCDVSLQrlMkaOWbOUIDKh33QF41VYOnWnGjRqnFEFAJ/vMGX04ZFCHZILRJxBc0Qdn1jQ0SqBlfGiwp2JT1CNHyQzrIQKkpmymLYSKjLxe9jxX0Pep4mXuM9gNrRk6wFIL74BDmM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775562193; c=relaxed/simple; bh=SmxwvldxsVZZ0J82vA9fO2JiHhyxrO5dEylcDSwCcWg=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=WcsCzWygING92CqfAQhPqZ2wTzo2v5GSJuVXHQT1Z/x5CCnhvb6lQ2zDzzoyh6M4VicMgy2VvMEdabP6DLzZ3CefYBCd+WS5Z7qK5kId4wF4htPrZ2K0GGQFinu9bSdRLifDogkxZjYVOs5ZlApS31/8XwCByMiC7CN/5v4Z868= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=ew.tq-group.com; spf=pass smtp.mailfrom=ew.tq-group.com; dkim=pass (2048-bit key) header.d=ew.tq-group.com header.i=@ew.tq-group.com header.b=TBX94DZT; arc=none smtp.client-ip=188.40.3.216 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=ew.tq-group.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ew.tq-group.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=ew.tq-group.com header.i=@ew.tq-group.com header.b="TBX94DZT" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=ew.tq-group.com; s=default2602; h=Content-Transfer-Encoding:Content-Type: MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=q3lc7HIf7EMrxpUFQEZNt+F3YfJliSNzOpaipwXNlVo=; b=TBX94DZTZryfkNjOyil/zViwcG Cw255Z2j5ZLA53O8ToJNFlUZH0a3/GOf0r240Ey4mqAjN5wTo4ylIQxnbxVOoHTIeLEwRzazRKWZF 4qGg5WFqW4u1BT1ki2Tg2vbIHj5wNGKa1vWXfAR1AVgKFYTuMkpLE8UDHFekpZCsnz17pGKNBkQHQ 0E9pAU72KRdypBcx1LYEa/2G6u94Q7exQmjPhAidQt/MLAvgjOoov7xZRQD8M7jMIkQmfWNDZDL2O 8RdfDMe5UeEA4RFM37ZbnDu4yzfHCjUaxh6AaaHOUOL5ifCnvzTfuhMzvntP237mI3VDBhLSLOyfA 0evTaSHA==; Received: from sslproxy08.your-server.de ([78.47.166.52]) by www537.your-server.de with esmtpsa (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.96.2) (envelope-from ) id 1wA4po-000IJS-0T; Tue, 07 Apr 2026 13:43:08 +0200 Received: from localhost ([127.0.0.1]) by sslproxy08.your-server.de with esmtpsa (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1wA4pm-000PKA-1k; Tue, 07 Apr 2026 13:43:07 +0200 From: Nora Schiffer To: Nishanth Menon , Vignesh Raghavendra , Tero Kristo , Vinod Koul , Neil Armstrong Cc: Andrew Lunn , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Siddharth Vadapalli , Roger Quadros , Rob Herring , Krzysztof Kozlowski , Conor Dooley , netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-phy@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux@ew.tq-group.com, Nora Schiffer Subject: [PATCH v4 1/5] dt-bindings: phy: ti: phy-j721e-wiz: Add ti,j722s-wiz-10g compatible Date: Tue, 7 Apr 2026 13:42:33 +0200 Message-ID: <1ef8adf850f2fd41b6c4e3c89e4f4e6e0f469a0e.1775559102.git.nora.schiffer@ew.tq-group.com> X-Mailer: git-send-email 2.53.0 In-Reply-To: References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Virus-Scanned: Clear (ClamAV 1.4.3/27964/Tue Apr 7 08:24:40 2026) The J722S WIZ is mostly identical to the AM64's, but additionally supports SGMII. The AM64 compatible ti,am64-wiz-10g is used as a fallback. Signed-off-by: Nora Schiffer --- .../bindings/phy/ti,phy-j721e-wiz.yaml | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/Documentation/devicetree/bindings/phy/ti,phy-j721e-wiz.yaml b/= Documentation/devicetree/bindings/phy/ti,phy-j721e-wiz.yaml index 3f16ff14484d2..0653252c18d8e 100644 --- a/Documentation/devicetree/bindings/phy/ti,phy-j721e-wiz.yaml +++ b/Documentation/devicetree/bindings/phy/ti,phy-j721e-wiz.yaml @@ -12,13 +12,18 @@ maintainers: =20 properties: compatible: - enum: - - ti,j721e-wiz-16g - - ti,j721e-wiz-10g - - ti,j721s2-wiz-10g - - ti,am64-wiz-10g - - ti,j7200-wiz-10g - - ti,j784s4-wiz-10g + oneOf: + - enum: + - ti,j721e-wiz-16g + - ti,j721e-wiz-10g + - ti,j721s2-wiz-10g + - ti,am64-wiz-10g + - ti,j7200-wiz-10g + - ti,j784s4-wiz-10g + - items: + - enum: + - ti,j722s-wiz-10g + - const: ti,am64-wiz-10g =20 power-domains: maxItems: 1 --=20 TQ-Systems GmbH | M=C3=BChlstra=C3=9Fe 2, Gut Delling | 82229 Seefeld, Germ= any Amtsgericht M=C3=BCnchen, HRB 105018 Gesch=C3=A4ftsf=C3=BChrer: Detlef Schneider, R=C3=BCdiger Stahl, Stefan Sch= neider https://www.tq-group.com/ From nobody Wed Apr 8 02:48:22 2026 Received: from www537.your-server.de (www537.your-server.de [188.40.3.216]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C93CD3A9628; Tue, 7 Apr 2026 11:43:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=188.40.3.216 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775562193; cv=none; b=TsldaCoGJ4piPNvmBVX3lKx834PTETw6i/JUAMTn0HF9RmWtoUJQtsDWqrILLvvJiu0tRvkgGGwr2/32ANrb/2WF8E+GCKyygXz21eAPYLuSDNrlTGaFG2Ful9Rx1Iaqcl27aYw8WbTWWQtgeO3xwIe8kiwhKzlUnTUcWBDxAc4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775562193; c=relaxed/simple; bh=xNvQRH54xeI/P7c19AO7ijZKAWjdtknEZ27FOBbb600=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=Q863w8Sk7MXaslZukm9sVB9esO1/ObZ80HftVZnrM2T5i0korPkBTpgdOiorNhAtG52oNEvn6uaBaPFlVvxu4bF3Z9CgS30y+yUJMaOoi2BUYVbPAHpEdipc402uskCODEh4m5epUVywtNZaVPujxh5E0iBmcZjeBsrb34qPNNc= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=ew.tq-group.com; spf=pass smtp.mailfrom=ew.tq-group.com; dkim=pass (2048-bit key) header.d=ew.tq-group.com header.i=@ew.tq-group.com header.b=S5/QaV/t; arc=none smtp.client-ip=188.40.3.216 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=ew.tq-group.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ew.tq-group.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=ew.tq-group.com header.i=@ew.tq-group.com header.b="S5/QaV/t" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=ew.tq-group.com; s=default2602; h=Content-Transfer-Encoding:Content-Type: MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=qO5k30uA69sxBqiJPUeQ9fi8jukxeSWoCcgtPscWoDM=; b=S5/QaV/tmmIuCaw4zyUPjf5Gp3 bQ29FH/AX+UZxUt8Y7HcBWj644+V3zge/hXcis9rqSyhL5qvetxodx8G0gqi1Iu5Tnmx09gHCGnxX K2uPsQVpoHfJielC08hX/HKJh76lJL2Hg2mGHgjKkLBG3uvZRHrZLuL3jQBKrAAgpejg2LL7Pv8qI SaWydjesAOcRNJtLEVBfY9uVFTo7vdvIAHk9/ydHdqEAbxqpqOis1OaWxC/moROqkqa4Dleys9eFK v6vTIAvTr6NJBd+2ChS+mZhGMGfgJ4/hgQ9hXBLL6WimKqKZ1z0HMR6CL3Ly27F+f1YWfJK4xGkx/ Z81FYWGw==; Received: from sslproxy08.your-server.de ([78.47.166.52]) by www537.your-server.de with esmtpsa (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.96.2) (envelope-from ) id 1wA4pp-000IJb-05; Tue, 07 Apr 2026 13:43:09 +0200 Received: from localhost ([127.0.0.1]) by sslproxy08.your-server.de with esmtpsa (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1wA4pn-000PKA-1S; Tue, 07 Apr 2026 13:43:08 +0200 From: Nora Schiffer To: Nishanth Menon , Vignesh Raghavendra , Tero Kristo , Vinod Koul , Neil Armstrong Cc: Andrew Lunn , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Siddharth Vadapalli , Roger Quadros , Rob Herring , Krzysztof Kozlowski , Conor Dooley , netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-phy@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux@ew.tq-group.com, Nora Schiffer Subject: [PATCH v4 2/5] dt-bindings: phy: ti: phy-gmii-sel: Add ti,j722s-phy-gmii-sel compatible Date: Tue, 7 Apr 2026 13:42:34 +0200 Message-ID: X-Mailer: git-send-email 2.53.0 In-Reply-To: References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Virus-Scanned: Clear (ClamAV 1.4.3/27964/Tue Apr 7 08:24:40 2026) The J722S gmii-sel is mostly identical to the AM64's, but additionally supports SGMII. The AM64 compatible ti,am654-phy-gmii-sel is used as a fallback. Signed-off-by: Nora Schiffer --- .../bindings/phy/ti,phy-gmii-sel.yaml | 23 +++++++++++-------- 1 file changed, 14 insertions(+), 9 deletions(-) diff --git a/Documentation/devicetree/bindings/phy/ti,phy-gmii-sel.yaml b/D= ocumentation/devicetree/bindings/phy/ti,phy-gmii-sel.yaml index be41b4547ec6d..60b644a4c6390 100644 --- a/Documentation/devicetree/bindings/phy/ti,phy-gmii-sel.yaml +++ b/Documentation/devicetree/bindings/phy/ti,phy-gmii-sel.yaml @@ -47,15 +47,20 @@ description: | =20 properties: compatible: - enum: - - ti,am3352-phy-gmii-sel - - ti,dra7xx-phy-gmii-sel - - ti,am43xx-phy-gmii-sel - - ti,dm814-phy-gmii-sel - - ti,am654-phy-gmii-sel - - ti,j7200-cpsw5g-phy-gmii-sel - - ti,j721e-cpsw9g-phy-gmii-sel - - ti,j784s4-cpsw9g-phy-gmii-sel + oneOf: + - enum: + - ti,am3352-phy-gmii-sel + - ti,dra7xx-phy-gmii-sel + - ti,am43xx-phy-gmii-sel + - ti,dm814-phy-gmii-sel + - ti,am654-phy-gmii-sel + - ti,j7200-cpsw5g-phy-gmii-sel + - ti,j721e-cpsw9g-phy-gmii-sel + - ti,j784s4-cpsw9g-phy-gmii-sel + - items: + - enum: + - ti,j722s-phy-gmii-sel + - const: ti,am654-phy-gmii-sel =20 reg: maxItems: 1 --=20 TQ-Systems GmbH | M=C3=BChlstra=C3=9Fe 2, Gut Delling | 82229 Seefeld, Germ= any Amtsgericht M=C3=BCnchen, HRB 105018 Gesch=C3=A4ftsf=C3=BChrer: Detlef Schneider, R=C3=BCdiger Stahl, Stefan Sch= neider https://www.tq-group.com/ From nobody Wed Apr 8 02:48:22 2026 Received: from www537.your-server.de (www537.your-server.de [188.40.3.216]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2BAE33ACF05; Tue, 7 Apr 2026 11:43:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=188.40.3.216 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775562193; cv=none; b=RxHQ1CahiNR4+Q5JTUQPkEDphkc1NxZboDo99b8oJcBCI3SDriSSRqTxtryedMhHkaxBdLQz/2f8HBKC+J3mzg+EcfPkAUcDN2IRjLab9DRTUITXbTtTVdF3UKWfR2uCM19FMqxUbZep+lmu7gtyZuJG8poYzqSX6Jk6F0Kabr8= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775562193; c=relaxed/simple; bh=jcplQi3Mocc1VLQA6H9ineVeTMeOKfBlXqPAmboXcHo=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=AZFwVDodj5KOWYdfcWTkxFTeTDNvPK1XzT5uDuNoA5Dtg9rJ7ec6YCGTlnQh3Vtcy/Z0DoYUpbiIBV4sZH7adVIhzx1G2F8fGE3m/fRATqZ2rkgA89bJhfdpFinozbJRK4SvKoxcK5kTzecp3WDswIXLbmgzboBgmuj0g58hieU= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=ew.tq-group.com; spf=pass smtp.mailfrom=ew.tq-group.com; dkim=pass (2048-bit key) header.d=ew.tq-group.com header.i=@ew.tq-group.com header.b=ZQMAIW06; arc=none smtp.client-ip=188.40.3.216 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=ew.tq-group.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ew.tq-group.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=ew.tq-group.com header.i=@ew.tq-group.com header.b="ZQMAIW06" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=ew.tq-group.com; s=default2602; h=Content-Transfer-Encoding:Content-Type: MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=KqcLRKudHgKSmtkMDFCAvoKWKKoLB9Rc1nid7QyUgsk=; b=ZQMAIW06WFwC6TCvlHx/o4QL4L ODT71KRlCXZXffBkox00Ze6KySpdr3z/rc6soWF3hiDlReo9bIHoMBakgWZ7wWIXiC0VYNzvosFSz KQcJxrxrBVJqoJYDL2XaUZ0dYPMUbFKNm1CIHxpQbuos6Af3P88wHyCZluY4g0f1CThWZ/0qnGpte Vb/kHQCXeLSC3UhOFOqUgjnNtpzuA/8GHrHBzTxV31ZXrtXShFIyl58t4p0nl9Euq6STvfxwQ0VD0 Mvz0QJEPkY+U08HNSh442Dhyc3MS5HcSYYmjKV7paL0cjjbLz3HFRejBQcu2SIovBas6K8ZiOG+0N i9vtlTJQ==; Received: from sslproxy08.your-server.de ([78.47.166.52]) by www537.your-server.de with esmtpsa (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.96.2) (envelope-from ) id 1wA4pp-000IJf-2r; Tue, 07 Apr 2026 13:43:09 +0200 Received: from localhost ([127.0.0.1]) by sslproxy08.your-server.de with esmtpsa (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1wA4po-000PKA-14; Tue, 07 Apr 2026 13:43:09 +0200 From: Nora Schiffer To: Nishanth Menon , Vignesh Raghavendra , Tero Kristo , Vinod Koul , Neil Armstrong Cc: Andrew Lunn , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Siddharth Vadapalli , Roger Quadros , Rob Herring , Krzysztof Kozlowski , Conor Dooley , netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-phy@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux@ew.tq-group.com, Nora Schiffer Subject: [PATCH v4 3/5] phy: ti: phy-j721e-wiz: add support for J722S SoC family Date: Tue, 7 Apr 2026 13:42:35 +0200 Message-ID: <85e9f67f8673dc7039ab87c34cfc9e4de1c7447c.1775559102.git.nora.schiffer@ew.tq-group.com> X-Mailer: git-send-email 2.53.0 In-Reply-To: References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Virus-Scanned: Clear (ClamAV 1.4.3/27964/Tue Apr 7 08:24:40 2026) The J722S WIZ is mostly identical to the AM64's, but additionally supports SGMII. Signed-off-by: Nora Schiffer --- drivers/phy/ti/phy-j721e-wiz.c | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/drivers/phy/ti/phy-j721e-wiz.c b/drivers/phy/ti/phy-j721e-wiz.c index 6b584706b913a..7531a8a049123 100644 --- a/drivers/phy/ti/phy-j721e-wiz.c +++ b/drivers/phy/ti/phy-j721e-wiz.c @@ -331,6 +331,7 @@ enum wiz_type { J721E_WIZ_16G, J721E_WIZ_10G, /* Also for J7200 SR1.0 */ AM64_WIZ_10G, + J722S_WIZ_10G, J7200_WIZ_10G, /* J7200 SR2.0 */ J784S4_WIZ_10G, J721S2_WIZ_10G, @@ -1020,6 +1021,7 @@ static void wiz_clock_cleanup(struct wiz *wiz, struct= device_node *node) =20 switch (wiz->type) { case AM64_WIZ_10G: + case J722S_WIZ_10G: case J7200_WIZ_10G: case J784S4_WIZ_10G: case J721S2_WIZ_10G: @@ -1089,6 +1091,7 @@ static void wiz_clock_init(struct wiz *wiz) =20 switch (wiz->type) { case AM64_WIZ_10G: + case J722S_WIZ_10G: case J7200_WIZ_10G: switch (rate) { case REF_CLK_100MHZ: @@ -1158,6 +1161,7 @@ static int wiz_clock_probe(struct wiz *wiz, struct de= vice_node *node) =20 switch (wiz->type) { case AM64_WIZ_10G: + case J722S_WIZ_10G: case J7200_WIZ_10G: case J784S4_WIZ_10G: case J721S2_WIZ_10G: @@ -1246,6 +1250,14 @@ static int wiz_phy_fullrt_div(struct wiz *wiz, int l= ane) if (wiz->lane_phy_type[lane] =3D=3D PHY_TYPE_SGMII) return regmap_field_write(wiz->p0_fullrt_div[lane], 0x2); break; + + case J722S_WIZ_10G: + if (wiz->lane_phy_type[lane] =3D=3D PHY_TYPE_PCIE) + return regmap_field_write(wiz->p0_fullrt_div[lane], 0x1); + if (wiz->lane_phy_type[lane] =3D=3D PHY_TYPE_SGMII) + return regmap_field_write(wiz->p0_fullrt_div[lane], 0x2); + break; + default: return 0; } @@ -1350,6 +1362,15 @@ static struct wiz_data am64_10g_data =3D { .clk_div_sel_num =3D WIZ_DIV_NUM_CLOCKS_10G, }; =20 +static struct wiz_data j722s_10g_data =3D { + .type =3D J722S_WIZ_10G, + .pll0_refclk_mux_sel =3D &pll0_refclk_mux_sel, + .pll1_refclk_mux_sel =3D &pll1_refclk_mux_sel, + .refclk_dig_sel =3D &refclk_dig_sel_10g, + .clk_mux_sel =3D clk_mux_sel_10g, + .clk_div_sel_num =3D WIZ_DIV_NUM_CLOCKS_10G, +}; + static struct wiz_data j7200_pg2_10g_data =3D { .type =3D J7200_WIZ_10G, .pll0_refclk_mux_sel =3D &sup_pll0_refclk_mux_sel, @@ -1389,6 +1410,9 @@ static const struct of_device_id wiz_id_table[] =3D { { .compatible =3D "ti,am64-wiz-10g", .data =3D &am64_10g_data, }, + { + .compatible =3D "ti,j722s-wiz-10g", .data =3D &j722s_10g_data, + }, { .compatible =3D "ti,j7200-wiz-10g", .data =3D &j7200_pg2_10g_data, }, --=20 TQ-Systems GmbH | M=C3=BChlstra=C3=9Fe 2, Gut Delling | 82229 Seefeld, Germ= any Amtsgericht M=C3=BCnchen, HRB 105018 Gesch=C3=A4ftsf=C3=BChrer: Detlef Schneider, R=C3=BCdiger Stahl, Stefan Sch= neider https://www.tq-group.com/ From nobody Wed Apr 8 02:48:22 2026 Received: from www537.your-server.de (www537.your-server.de [188.40.3.216]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id EED503B0AFC; Tue, 7 Apr 2026 11:43:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=188.40.3.216 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775562195; cv=none; b=WrR9GZm9pdA0UFfeMNhs/tpSTwypw/t3CqcV3Mw9hPCqi15zEb7WguAHF2PYCZZgOphf+1akERhFVqN7E6vGJAIyE8hK6bdlYuIkIWJoHqS+RH0frotndCBYc2iqUaXg7i7tu6Z5lBHbm0/cgVV+LAsAFz0PDgAkf3N8CWr2DIU= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775562195; c=relaxed/simple; bh=elOkFKDQ2iLnY6Lwi1yUa5fsSkfhgO+93XSNmLHQ0PU=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=URIXz1smeA1X6D+pbnsA8vsdw8moJ/HT2tsi231u21eAuRYFvrJZ4uPHx1V/twV2F0kXyYDZewIin4hUGqHIT6aO9HVZX7C8lqyHoUZ6QIFxQeQgzfURtRJTRLhIQTFhPQ2F2Sx0KVav79+PoEa6KyzSJRj9pnHKEku3X2b7Dy8= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=ew.tq-group.com; spf=pass smtp.mailfrom=ew.tq-group.com; dkim=pass (2048-bit key) header.d=ew.tq-group.com header.i=@ew.tq-group.com header.b=ajrRcvBo; arc=none smtp.client-ip=188.40.3.216 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=ew.tq-group.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ew.tq-group.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=ew.tq-group.com header.i=@ew.tq-group.com header.b="ajrRcvBo" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=ew.tq-group.com; s=default2602; h=Content-Transfer-Encoding:Content-Type: MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=fdD+gNdnYJuuk/C6povOAz6skeNjsbW/eErWFsyNXSU=; b=ajrRcvBo+p1k6zd4SeXtj8Qp8o 080UcdpqP5fCFOgaJjm/ZJdKW6YaRtLUFAdhvXva50WTF60Cd0rIqB0F5/C1G6kiQnPUDkJZaRXbL yLxuwRBDS24G+DNlY36dIj/A67jq4xZ0pdYbzgFgKQgNIX4zCrlagGo4rEGhraUUjp1eb++dib6cX BPSn23DYQgK9RK6rivi5oMwo/egN3hp104THxhWRWJ/DEDdX1n1DRCNS7AFT+iF8TNlSn89KDX+qq p45k+hjSX5+tvlTFxBrmqnLC+UrqUTQHtJNNW+rulFoA0uu7OxyxrrxxmvsAyNQN3cAHepN7GZFT4 Hr+FcXEw==; Received: from sslproxy08.your-server.de ([78.47.166.52]) by www537.your-server.de with esmtpsa (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.96.2) (envelope-from ) id 1wA4pq-000IJz-2W; Tue, 07 Apr 2026 13:43:10 +0200 Received: from localhost ([127.0.0.1]) by sslproxy08.your-server.de with esmtpsa (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1wA4pp-000PKA-0f; Tue, 07 Apr 2026 13:43:10 +0200 From: Nora Schiffer To: Nishanth Menon , Vignesh Raghavendra , Tero Kristo , Vinod Koul , Neil Armstrong Cc: Andrew Lunn , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Siddharth Vadapalli , Roger Quadros , Rob Herring , Krzysztof Kozlowski , Conor Dooley , netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-phy@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux@ew.tq-group.com, Nora Schiffer Subject: [PATCH v4 4/5] phy: ti: gmii-sel: add support for J722S SoC family Date: Tue, 7 Apr 2026 13:42:36 +0200 Message-ID: <86488589fc055f61ee5341f9e268184f04febe71.1775559102.git.nora.schiffer@ew.tq-group.com> X-Mailer: git-send-email 2.53.0 In-Reply-To: References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Virus-Scanned: Clear (ClamAV 1.4.3/27964/Tue Apr 7 08:24:40 2026) The J722S gmii-sel is mostly identical to the AM64's, but additionally supports SGMII. Signed-off-by: Nora Schiffer --- drivers/phy/ti/phy-gmii-sel.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/drivers/phy/ti/phy-gmii-sel.c b/drivers/phy/ti/phy-gmii-sel.c index 6213c2b6005a5..c2865a6b1d7fb 100644 --- a/drivers/phy/ti/phy-gmii-sel.c +++ b/drivers/phy/ti/phy-gmii-sel.c @@ -251,6 +251,15 @@ struct phy_gmii_sel_soc_data phy_gmii_sel_soc_am654 = =3D { .regfields =3D phy_gmii_sel_fields_am654, }; =20 +static const +struct phy_gmii_sel_soc_data phy_gmii_sel_soc_j722s =3D { + .use_of_data =3D true, + .features =3D BIT(PHY_GMII_SEL_RGMII_ID_MODE) | + BIT(PHY_GMII_SEL_FIXED_TX_DELAY), + .regfields =3D phy_gmii_sel_fields_am654, + .extra_modes =3D BIT(PHY_INTERFACE_MODE_SGMII), +}; + static const struct phy_gmii_sel_soc_data phy_gmii_sel_cpsw5g_soc_j7200 =3D { .use_of_data =3D true, @@ -307,6 +316,10 @@ static const struct of_device_id phy_gmii_sel_id_table= [] =3D { .compatible =3D "ti,am654-phy-gmii-sel", .data =3D &phy_gmii_sel_soc_am654, }, + { + .compatible =3D "ti,j722s-phy-gmii-sel", + .data =3D &phy_gmii_sel_soc_j722s, + }, { .compatible =3D "ti,j7200-cpsw5g-phy-gmii-sel", .data =3D &phy_gmii_sel_cpsw5g_soc_j7200, --=20 TQ-Systems GmbH | M=C3=BChlstra=C3=9Fe 2, Gut Delling | 82229 Seefeld, Germ= any Amtsgericht M=C3=BCnchen, HRB 105018 Gesch=C3=A4ftsf=C3=BChrer: Detlef Schneider, R=C3=BCdiger Stahl, Stefan Sch= neider https://www.tq-group.com/ From nobody Wed Apr 8 02:48:22 2026 Received: from www537.your-server.de (www537.your-server.de [188.40.3.216]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 91A6B3B27DC; Tue, 7 Apr 2026 11:43:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=188.40.3.216 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775562196; cv=none; b=MpFa0NzSaFA8AYJ1CZTthpVPo2NcTMWFHcl/zq5CErQuqoPJQIkaGkvJiRoj+FmPrNh7pUrDAlsubBtvO/VeVLvZJilgvVmec4Tt5cYZFzTZ6eDDLCek8ZnBLmrBzjMnVF3wR71TeV6mPjY6MnElHzxofOyzRhenXAbeM0RzMOs= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775562196; c=relaxed/simple; bh=67pUq+Zzouat6pnv7Ak0f4xBhOcxS1uB3sfXCVAiQR4=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=hXPrndIp7X64oX5VGuraztSGNUGecmpgdOj/YI0iNYE7lozFe6xHPObB30BnSdph0rtxv/c/B7YCytionsNIb2f2zj39wdA5EakSq8wItRr8gvb70Yipm8/LOwxUg/GUsPl9gMGZXLdkSo33jBNWKN7iVkWdFCXhZ72GORnYTa8= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=ew.tq-group.com; spf=pass smtp.mailfrom=ew.tq-group.com; dkim=pass (2048-bit key) header.d=ew.tq-group.com header.i=@ew.tq-group.com header.b=KolcFXn6; arc=none smtp.client-ip=188.40.3.216 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=ew.tq-group.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ew.tq-group.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=ew.tq-group.com header.i=@ew.tq-group.com header.b="KolcFXn6" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=ew.tq-group.com; s=default2602; h=Content-Transfer-Encoding:Content-Type: MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=iXZKh39YA9QQda5suRG0NPBgfkw/vmM7xN5WKLiYDaU=; b=KolcFXn6jaP6Ezc5ELoY4CHeDE 5UUtQvUEGdFBGtCo+KK1CcWybnglFHBKFkC/SRNhY/bAqNWep4bn4pHGNSS1D6zI2CZLWSNuhsXY5 /0giUl3b3VuYljl1jimVrcbVO2HgVHUaeC9UCh9ZFUTK4HbK4qunewJb1n4UhTB4ndixIZCfwZLQ8 7Si8wUoN+aoy71MwHVy9UF10HmEzeEWg8KVX71Me0eJ3XMIbd/qLfJukXDsWzZ5kdmCAN1318x0aK UHbqsTZsUHaUNdLojv97WXZnoHCseuqzPueOge4/xw4oLin86j2xmSdGZ01PrL0FAK6WUOhDPaRu1 KHYkgJ7A==; Received: from sslproxy08.your-server.de ([78.47.166.52]) by www537.your-server.de with esmtpsa (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.96.2) (envelope-from ) id 1wA4pr-000IKn-2L; Tue, 07 Apr 2026 13:43:11 +0200 Received: from localhost ([127.0.0.1]) by sslproxy08.your-server.de with esmtpsa (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1wA4pq-000PKA-0V; Tue, 07 Apr 2026 13:43:11 +0200 From: Nora Schiffer To: Nishanth Menon , Vignesh Raghavendra , Tero Kristo , Vinod Koul , Neil Armstrong Cc: Andrew Lunn , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Siddharth Vadapalli , Roger Quadros , Rob Herring , Krzysztof Kozlowski , Conor Dooley , netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-phy@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux@ew.tq-group.com, Nora Schiffer Subject: [PATCH v4 5/5] arm64: dts: ti: k3-j722s-main: use J722S compatibles for WIZ, gmii-sel and CPSW3G Date: Tue, 7 Apr 2026 13:42:37 +0200 Message-ID: <391f17ba7b0e9dcaa1fc8210114dfda7eb3c0467.1775559102.git.nora.schiffer@ew.tq-group.com> X-Mailer: git-send-email 2.53.0 In-Reply-To: References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Virus-Scanned: Clear (ClamAV 1.4.3/27964/Tue Apr 7 08:24:40 2026) Update WIZ, gmii-sel and CPSW3G to use the J722S-specific compatible strings, enabling SGMII support. The fallback compatibles preserve compatibility of the updated Device Trees with older kernels. Signed-off-by: Nora Schiffer --- arch/arm64/boot/dts/ti/k3-j722s-main.dtsi | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/ti/k3-j722s-main.dtsi b/arch/arm64/boot/dt= s/ti/k3-j722s-main.dtsi index 9ee5d0c8ffd1e..70f430aa3a944 100644 --- a/arch/arm64/boot/dts/ti/k3-j722s-main.dtsi +++ b/arch/arm64/boot/dts/ti/k3-j722s-main.dtsi @@ -18,7 +18,7 @@ serdes_refclk: clk-0 { =20 &cbass_main { serdes_wiz0: phy@f000000 { - compatible =3D "ti,am64-wiz-10g"; + compatible =3D "ti,j722s-wiz-10g", "ti,am64-wiz-10g"; ranges =3D <0x0f000000 0x0 0x0f000000 0x00010000>; #address-cells =3D <1>; #size-cells =3D <1>; @@ -56,7 +56,7 @@ serdes0: serdes@f000000 { }; =20 serdes_wiz1: phy@f010000 { - compatible =3D "ti,am64-wiz-10g"; + compatible =3D "ti,j722s-wiz-10g", "ti,am64-wiz-10g"; ranges =3D <0x0f010000 0x0 0x0f010000 0x00010000>; #address-cells =3D <1>; #size-cells =3D <1>; @@ -451,6 +451,14 @@ pcie0_ctrl: pcie0-ctrl@4070 { }; }; =20 +&cpsw3g { + compatible =3D "ti,j722s-cpsw-nuss", "ti,am642-cpsw-nuss"; +}; + +&phy_gmii_sel { + compatible =3D "ti,j722s-phy-gmii-sel", "ti,am654-phy-gmii-sel"; +}; + &oc_sram { reg =3D <0x00 0x70000000 0x00 0x40000>; ranges =3D <0x00 0x00 0x70000000 0x40000>; --=20 TQ-Systems GmbH | M=C3=BChlstra=C3=9Fe 2, Gut Delling | 82229 Seefeld, Germ= any Amtsgericht M=C3=BCnchen, HRB 105018 Gesch=C3=A4ftsf=C3=BChrer: Detlef Schneider, R=C3=BCdiger Stahl, Stefan Sch= neider https://www.tq-group.com/