Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp107565rdb; Thu, 21 Dec 2023 04:21:55 -0800 (PST) X-Google-Smtp-Source: AGHT+IE+Yk74BzbCsasESZyHgvxOLdHlbHgTrSQT4QyFEAzLdDM5j6Ih3pjni0TEQ18wiY7b0RVi X-Received: by 2002:a05:6e02:1a49:b0:35f:c996:8a31 with SMTP id u9-20020a056e021a4900b0035fc9968a31mr3475363ilv.54.1703161314809; Thu, 21 Dec 2023 04:21:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703161314; cv=none; d=google.com; s=arc-20160816; b=xizpSYTiLonhPt9k3Jar3oEotgtmVW3L2Yf6tT+tBLellcM198KhvXdpqu+rMQdYLt jowPF042fLIamG+zzlWfoaKKE5uMtxC4iudqlH8vDrIRHS5zxjO+hs7MPg9fKMvVPdYc xWfc6NFljDtqZvWpn131HyHzEvjP5DTpiOpAZPAHqB8nWPbUismHhR6CPlW9VITDag0D MT81K2J2Y5kH4wX7o77IQMSXX2YLgMBSdvkF/EQB6AN3aYbB40G2Hc4YaVWNTWXIkUXE ISgr7lc69kmZLvbc2czhGViewxl6JJPb3ulPadzBDB2l0UxaIVrb7iZstfrOyUzRAbj0 UHyA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=PmNL7vrwT9BYLq2OT7MeeUVqIL+3p6mVZm+HSmkQ67E=; fh=miUllRafJO4Q3l7JzQuy+XDlGJQdfXS6/ckuO+QdpDU=; b=tY8UuOAZYJvxCnUA8NHpt3zjxf/9s6WLtJf0j4nayuc/0Xzqfojqs7fOxATHSIR0Uf zHl78j5MrRftU1tn6/AjLW450jH0N7Ez1zSy9me1lYxvJbm/zsg1GE0SX2+22GYVRwCK WoR24k5BFLjx859Kozwgp+F/5xTMlWPAUlhNRZRYLBWBXaBj2gdqwRv6W5Xj+PTORaxw vjNZ3P1I7MZ3ym0MPCAAgyGD2TU5UN/2HVMk7C68hvV6Aq6iY1Ie85SFAcYaXOMVd08u ldbryRD0fJa3eFl9cYbtzbCmcTLnJoh95RWAZDNQ0dHBSB6xKMLyNby1GuFJanAKzJNB niDg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=qFfoiIPP; spf=pass (google.com: domain of linux-kernel+bounces-8324-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-8324-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id i11-20020a63540b000000b005b9293fcf78si1531095pgb.10.2023.12.21.04.21.54 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Dec 2023 04:21:54 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-8324-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=qFfoiIPP; spf=pass (google.com: domain of linux-kernel+bounces-8324-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-8324-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 7431F285DB6 for ; Thu, 21 Dec 2023 12:21:54 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6B0B96EB68; Thu, 21 Dec 2023 12:21:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="qFfoiIPP" X-Original-To: linux-kernel@vger.kernel.org Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 9E3B96E59D; Thu, 21 Dec 2023 12:21:45 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 80874C433C7; Thu, 21 Dec 2023 12:21:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1703161305; bh=ZXuqDithbYzkJx1AnJD01RR/3/aFDMJ/KwOLs+ao4Ig=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=qFfoiIPPpBn54ZRPtowtPIyJNd5wCXGhD6jFqz/hcGpdCrFmJh9m77Tm68CiVR4yr /bAXl00l6GijRJ2onq1v+mu4duw+dtp4vsHOW+XOO6mFM4KpM++1OD3ozGXeYTMVUz 8PCo1Zm94qM8YcJ8MttVJ+V7uvSeeZybdsvuAzynInLzwUbdcftyKSNgygddOAZI9A CepIq0TyRWBU5gSGEL01JMZzFeRTRXfnrIWQSLqxtR/J3LosB1j1hwzgw79UukpXCi WsttznHuUY0u7xNFXXXRXnL/3nFyC43098XNU5+Px1yQLrRDRHMuXLamC8r5xshK9P R1DMxuHSoaEJQ== Message-ID: <4027f264-c7e9-4b7d-b88b-ced20e431314@kernel.org> Date: Thu, 21 Dec 2023 14:21:39 +0200 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [RFC PATCH net-next] net: ethernet: ti: am65-cpsw-nuss: Enable SGMII mode for J784S4 CPSW9G To: Chintan Vankar , Dan Carpenter , Grygorii Strashko , Siddharth Vadapalli , Paolo Abeni , Jakub Kicinski , Eric Dumazet , "David S. Miller" Cc: linux-kernel@vger.kernel.org, netdev@vger.kernel.org References: <20231221111046.761843-1-c-vankar@ti.com> Content-Language: en-US From: Roger Quadros In-Reply-To: <20231221111046.761843-1-c-vankar@ti.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 21/12/2023 13:10, Chintan Vankar wrote: > TI's J784S4 SoC supports SGMII mode with CPSW9G instance of the CPSW > Ethernet Switch. Thus, enable it by adding SGMII mode to the > extra_modes member of the "j784s4_cpswxg_pdata" SoC data. > > Signed-off-by: Chintan Vankar Reviewed-by: Roger Quadros Please send without RFC in subject. > --- > drivers/net/ethernet/ti/am65-cpsw-nuss.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/drivers/net/ethernet/ti/am65-cpsw-nuss.c b/drivers/net/ethernet/ti/am65-cpsw-nuss.c > index 7651f90f51f2..9aa5a6108521 100644 > --- a/drivers/net/ethernet/ti/am65-cpsw-nuss.c > +++ b/drivers/net/ethernet/ti/am65-cpsw-nuss.c > @@ -2855,7 +2855,8 @@ static const struct am65_cpsw_pdata j784s4_cpswxg_pdata = { > .quirks = 0, > .ale_dev_id = "am64-cpswxg", > .fdqring_mode = K3_RINGACC_RING_MODE_MESSAGE, > - .extra_modes = BIT(PHY_INTERFACE_MODE_QSGMII) | BIT(PHY_INTERFACE_MODE_USXGMII), > + .extra_modes = BIT(PHY_INTERFACE_MODE_QSGMII) | BIT(PHY_INTERFACE_MODE_SGMII) | > + BIT(PHY_INTERFACE_MODE_USXGMII), > }; > > static const struct of_device_id am65_cpsw_nuss_of_mtable[] = { -- cheers, -roger