Message ID | 20230309063514.398705-3-s-vadapalli@ti.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp133221wrd; Wed, 8 Mar 2023 22:49:44 -0800 (PST) X-Google-Smtp-Source: AK7set+GmBG8AnvPR+kdAlOozQV55pIOOodWEFUDQ6ck8gFt97IWyxOhnyYtHZesg7lSd4RN+DEc X-Received: by 2002:a05:6a20:66a6:b0:ce:303e:4752 with SMTP id o38-20020a056a2066a600b000ce303e4752mr17968816pzh.4.1678344584185; Wed, 08 Mar 2023 22:49:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1678344584; cv=none; d=google.com; s=arc-20160816; b=xuL3cTO5ZJHR/OC7S0w0jEPxs8EZvjnjRaeQcR+XEwEX4gMlTiCO8GQT1p5FsS0Qqy 4NXMZzUweVmQW+oGOWc6tHlkYOFTH7pwqE5dcx2JvMY/fJvqUL401lTmxAo+n3ZI2yHk QW701VWCK4+7f3WaGjdR0Y1QB/vpUnOJYrh5fno4oRBC6RhBKbI3mRwchx1ELMr/kfta 2FmrG2f5cJWFPasAxiePzWHbmemwKKnCPyneUy8BdmeDLdZOaQz+GLvEfdOL4iUSWsfu W671P1JaVYImsqPS0+ogTRRoDGhb4LzvZRPv1Ao88m5irljxw7ZsEFOQIRw6VmBNx4DN axBA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=k50jCkv4S7wXSq8wTTdq+ChnRdDEMnnkoXT+Qd304j0=; b=ne5/AHUfvmKjw+1boc9YdV8LpAAlmmpDTNmM3oW8tpxRWu72ZFVdcx+uHPT6JPEkHl 0rWerXZdD4foHmmZn42XyeI7zGvwFChCePB0Et/Ses9eSo3Moeo1Pg3rSX4M6ZnW13fO BihyHvZzRWRaPmYTSiVowjcef9pOwuaRBQyyvuYqaqXsR1i4IuDIPCFhhCjLVHwPL7Rm NXf4lEhNMfB1CsO3ZVzepD6hb7dY3YRW9cF9GV1B4kS6wsnNzWFlBggyt1O1XfCBaLk5 HCmKOQJCrGHok0bGeUSIhHQU8k3l8ESJayqL/jMqicNuIbU4q4D+zkokikdVfkyX0g/G AzTQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=oaTpYJhW; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l72-20020a63914b000000b00502ed85f6f1si16149848pge.723.2023.03.08.22.49.28; Wed, 08 Mar 2023 22:49:44 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=oaTpYJhW; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230062AbjCIGfk (ORCPT <rfc822;carlos.wei.hk@gmail.com> + 99 others); Thu, 9 Mar 2023 01:35:40 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35876 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229991AbjCIGf2 (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Thu, 9 Mar 2023 01:35:28 -0500 Received: from fllv0015.ext.ti.com (fllv0015.ext.ti.com [198.47.19.141]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 16D70DBB6C for <linux-kernel@vger.kernel.org>; Wed, 8 Mar 2023 22:35:28 -0800 (PST) Received: from lelv0265.itg.ti.com ([10.180.67.224]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 3296ZNrf062437; Thu, 9 Mar 2023 00:35:23 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1678343723; bh=k50jCkv4S7wXSq8wTTdq+ChnRdDEMnnkoXT+Qd304j0=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=oaTpYJhWcED39jy+3DkBtmZkLxE7ke/68/bnX4TZrDuRBQiMaOKnBr+lauPqKCNJR R4WRM1rIpzpTpllTGFkQQcWgrYTe6OFSCSZjh22cEo7VfPOeoHrpzj0JMkasydZXLn +nyPFNOWRUaXui80XZYVqfxTIFNoHjten/bOQnZI= Received: from DLEE107.ent.ti.com (dlee107.ent.ti.com [157.170.170.37]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 3296ZNSp012444 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 9 Mar 2023 00:35:23 -0600 Received: from DLEE101.ent.ti.com (157.170.170.31) 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.16; Thu, 9 Mar 2023 00:35:22 -0600 Received: from fllv0039.itg.ti.com (10.64.41.19) by DLEE101.ent.ti.com (157.170.170.31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.16 via Frontend Transport; Thu, 9 Mar 2023 00:35:22 -0600 Received: from uda0492258.dhcp.ti.com (ileaxei01-snat.itg.ti.com [10.180.69.5]) by fllv0039.itg.ti.com (8.15.2/8.15.2) with ESMTP id 3296ZEQp099087; Thu, 9 Mar 2023 00:35:20 -0600 From: Siddharth Vadapalli <s-vadapalli@ti.com> To: <vkoul@kernel.org>, <kishon@kernel.org>, <rogerq@kernel.org> CC: <linux-phy@lists.infradead.org>, <linux-kernel@vger.kernel.org>, <linux-arm-kernel@lists.infradead.org>, <srk@ti.com>, <s-vadapalli@ti.com> Subject: [PATCH v2 2/3] phy: ti: gmii-sel: Enable SGMII mode for J7200 Date: Thu, 9 Mar 2023 12:05:13 +0530 Message-ID: <20230309063514.398705-3-s-vadapalli@ti.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230309063514.398705-1-s-vadapalli@ti.com> References: <20230309063514.398705-1-s-vadapalli@ti.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1759871850369843674?= X-GMAIL-MSGID: =?utf-8?q?1759871850369843674?= |
Series |
PHY-GMII-SEL: Add support for SGMII mode
|
|
Commit Message
Siddharth Vadapalli
March 9, 2023, 6:35 a.m. UTC
TI's J7200 SoC supports SGMII mode with the CPSW5G instance of the CPSW
Ethernet Switch. Thus, enable it by adding SGMII mode to the list of the
corresponding extra_modes member.
Signed-off-by: Siddharth Vadapalli <s-vadapalli@ti.com>
---
drivers/phy/ti/phy-gmii-sel.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/phy/ti/phy-gmii-sel.c b/drivers/phy/ti/phy-gmii-sel.c index 5e16d8dd5bee..f3da6b020247 100644 --- a/drivers/phy/ti/phy-gmii-sel.c +++ b/drivers/phy/ti/phy-gmii-sel.c @@ -221,7 +221,7 @@ static const struct phy_gmii_sel_soc_data phy_gmii_sel_cpsw5g_soc_j7200 = { .use_of_data = true, .regfields = phy_gmii_sel_fields_am654, - .extra_modes = BIT(PHY_INTERFACE_MODE_QSGMII), + .extra_modes = BIT(PHY_INTERFACE_MODE_QSGMII) | BIT(PHY_INTERFACE_MODE_SGMII), .num_ports = 4, .num_qsgmii_main_ports = 1, };