From patchwork Thu Dec 21 10:29:56 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chintan Vankar X-Patchwork-Id: 182144 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:2483:b0:fb:cd0c:d3e with SMTP id q3csp315810dyi; Thu, 21 Dec 2023 02:30:47 -0800 (PST) X-Google-Smtp-Source: AGHT+IH+KS8vokyDUHWaIo7lDQ6IFpN249Cb89MaPmL777WDLsCAkwbyPOmfSIZfxC0ypm/kcJmx X-Received: by 2002:a17:907:7615:b0:a26:9666:83ea with SMTP id jx21-20020a170907761500b00a26966683eamr433697ejc.31.1703154647477; Thu, 21 Dec 2023 02:30:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703154647; cv=none; d=google.com; s=arc-20160816; b=Be7dPLXPHX+7cuN0i+BodNiRjlb4yKO83sqj49L24bM1SsYN4wIiidZuAd9MPtxvqO yGvBSuubN3GFx5GlVLGkzRZG3msAzml9c1Pl4Ya7SD/0tiZrMGWiKX8CCeg82blNUVC5 KpaT6vj+XoP6srJvT0wQzk+P53Z7yXJFnVpJFgLVEn7PETPrJ03y4BAQQBsz7QKoIxvB lVFsK1kDqMKB2p/cvH5oLga5FMgXoXBlhLhR6QfDY8dDGcaZ7JYY8KL88NOBaNCqVFEU /qIV63o49wYlJ6LE6SwU0OuWS3ZL1zhw5TtpQ4bbDy+CNWr5rAPatrR3HPrbiWCCy5o0 0N/A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=FV2RhUD9SV7SdTWfY8qp4/5H5gSClJNwlc4iyQYL4y8=; fh=mJW5GI+7p8xu3o9dETxY8MtjtwgUjfbYSIs3/oxisv8=; b=qepZvZ3z5RyOtURKWkoku+1I/FtCBF07i8/PLHVnFPdirjVrbrm9/+ZNc5adUSxSg4 jeTzah8cGhKE7T0Pxp1eEyZ3t8OXYsPhpXRu9SEX0TCNjI1lZhEpTY2nAsZzqG+AuhY3 7pusFp12D7wjTCf98nvhiTlWpFihU2Kfvex05cCWTRQT7dP9PWe/xmTyZzvrF3NSIFl4 eISSr3BHwIWj0Bv3JIRvwsnke/KUAl/ra63CbxNhn2wII36lOmZiWmg3DwICHDx9mWE9 Ysg5YTv6Iu8Gea3ErhDokPvCuOX+FYe18zI0yfZZ6D6oQ6/MM+IpiU9paZo7VK3dg2qD dSAA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=GP0l4ope; spf=pass (google.com: domain of linux-kernel+bounces-8200-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-8200-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id j12-20020a05640211cc00b0054c943a07c4si727706edw.394.2023.12.21.02.30.47 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Dec 2023 02:30:47 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-8200-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=GP0l4ope; spf=pass (google.com: domain of linux-kernel+bounces-8200-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-8200-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com 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 am.mirrors.kernel.org (Postfix) with ESMTPS id 1BEA81F242EF for ; Thu, 21 Dec 2023 10:30:47 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B94465275D; Thu, 21 Dec 2023 10:30:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b="GP0l4ope" X-Original-To: linux-kernel@vger.kernel.org Received: from fllv0015.ext.ti.com (fllv0015.ext.ti.com [198.47.19.141]) (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 BB079524BA for ; Thu, 21 Dec 2023 10:30:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=ti.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ti.com Received: from fllv0035.itg.ti.com ([10.64.41.0]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 3BLAUDlJ112064; Thu, 21 Dec 2023 04:30:13 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1703154613; bh=FV2RhUD9SV7SdTWfY8qp4/5H5gSClJNwlc4iyQYL4y8=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=GP0l4opeE0TY7YZxiMxyUovZ7rJ5at0Qfb4HhLnC3wvEFzvANT4afVo2ziCiQamuD m5QMhAniQh5SzAKvLWp4nFs7/pbY73UlYYqrvS1JpYrqDbmnpSKlTGRBYU+oENDf/O l+xXYczOuK+aVlwZi/UM9IkqTcebMDrVkdrJjvbQ= Received: from DLEE104.ent.ti.com (dlee104.ent.ti.com [157.170.170.34]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 3BLAUDaR030054 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 21 Dec 2023 04:30:13 -0600 Received: from DLEE107.ent.ti.com (157.170.170.37) by DLEE104.ent.ti.com (157.170.170.34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Thu, 21 Dec 2023 04:30:13 -0600 Received: from lelvsmtp5.itg.ti.com (10.180.75.250) by DLEE107.ent.ti.com (157.170.170.37) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23 via Frontend Transport; Thu, 21 Dec 2023 04:30:13 -0600 Received: from localhost (chintan-thinkstation-p360-tower.dhcp.ti.com [172.24.227.220]) by lelvsmtp5.itg.ti.com (8.15.2/8.15.2) with ESMTP id 3BLAUCqW087744; Thu, 21 Dec 2023 04:30:12 -0600 From: Chintan Vankar To: Maxime Ripard , =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= , Sinthu Raja , Chintan Vankar , Andrew Davis , Siddharth Vadapalli , Roger Quadros , Kishon Vijay Abraham I , Vinod Koul CC: , Subject: [RFC PATCH 2/2] phy: ti: j721e-wiz: Add SGMII support in WIZ driver for J784S4 Date: Thu, 21 Dec 2023 15:59:56 +0530 Message-ID: <20231221102956.754617-2-c-vankar@ti.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231221102956.754617-1-c-vankar@ti.com> References: <20231221102956.754617-1-c-vankar@ti.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1785887087312416026 X-GMAIL-MSGID: 1785887087312416026 Enable full rate divider configuration support for J784S4_WIZ_10G for SGMII. Signed-off-by: Chintan Vankar Reviewed-by: Roger Quadros --- drivers/phy/ti/phy-j721e-wiz.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/phy/ti/phy-j721e-wiz.c b/drivers/phy/ti/phy-j721e-wiz.c index fc3cd98c60ff..00d7e6a6de03 100644 --- a/drivers/phy/ti/phy-j721e-wiz.c +++ b/drivers/phy/ti/phy-j721e-wiz.c @@ -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;