Received: by 2002:a05:6358:489b:b0:bb:da1:e618 with SMTP id x27csp7680135rwn; Wed, 14 Sep 2022 02:45:59 -0700 (PDT) X-Google-Smtp-Source: AA6agR6TYlyie4Z8Q9ZEb+968nLpELNskhHKan5dY9M37IsVl6nsfIMrPaV2laODoJtwwatHZh5c X-Received: by 2002:a17:902:e5cd:b0:176:ad01:ab47 with SMTP id u13-20020a170902e5cd00b00176ad01ab47mr35615613plf.133.1663148759702; Wed, 14 Sep 2022 02:45:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663148759; cv=none; d=google.com; s=arc-20160816; b=KeL/IiBIxfilxsu/vF0Ct+7AKO3xrUUHyLF0kZYbxpXUW6NHhRQu6efPAGEg1I/lkF AF0CwkPza3lRpKNtqHGcLFfIZAuwMiSBIwfv/O2K7618Y7sLB7QlOjlUITDeVEDaICUX m5BnwAFEH7Mh/FvGrv+D6uzhSvVnLGoRURaQEep9tOy15QdU/JEMRW0w7edsUEqybwMQ StVz+ZZp3y5i5lyMGsSLB2pmXXkLNAb/f7Ir9eR0Pjq0EhDueEfWQY4v9SjDFRadc8NS fLd1H5XCtz5qws+PjzzB0Y+JcWf3SeTGZfQ4tNZzTucDOI7xPZY10/rn8SZMbqcQCaAk EXLQ== 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=a4apSB/h90T1k9vFmgSKZJoOZmYmdIpWcb2Sl9ZcIKg=; b=c0rG8UcCdE4HRqxNT3H0LeEoBS4fZ5+sqRxx9eIKk6cSUsxypGLQJCGmg5Raw6LIhd cNuVEsI2vCG29Sx4KeWDDRD6J8pFE6yy771Qn68eQRkJV3huvMJszxxb4YCxjGowu8tS wq1e0QbI1EWs+sOzzedYfMvFQ3fLaXD5EAXCq0VZ9AG1f6r9QV9swsxMq7vXkeqTCzKV zZ0T9qbtv7rS9slTzKaJCUVvvyn1NAOTQlu2UWl2Yymj4GV47hCKgNq91wqyv6/fLnep Tz68xgE1IZgDwoJuCvFOnKg1M9JYS02NZpi6EWwdGUY0qM2JFsAe3JlFHyX6JMJoOeJL WkdQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=hN+N2VXD; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id m2-20020a170902db0200b00176d899ad4csi16851908plx.422.2022.09.14.02.45.47; Wed, 14 Sep 2022 02:45:59 -0700 (PDT) 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=hN+N2VXD; 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 S231134AbiINJkL (ORCPT + 99 others); Wed, 14 Sep 2022 05:40:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55876 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230367AbiINJj7 (ORCPT ); Wed, 14 Sep 2022 05:39:59 -0400 Received: from fllv0015.ext.ti.com (fllv0015.ext.ti.com [198.47.19.141]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8A3F764CF; Wed, 14 Sep 2022 02:39:46 -0700 (PDT) Received: from fllv0035.itg.ti.com ([10.64.41.0]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 28E9daCQ113555; Wed, 14 Sep 2022 04:39:36 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1663148376; bh=a4apSB/h90T1k9vFmgSKZJoOZmYmdIpWcb2Sl9ZcIKg=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=hN+N2VXDbclewoQrAD4GOu37k4pi8KfhTVQSOJWLGmiPHb1J6mvsrgpdOh1rPFOQN CPJEP+s3CXINlrmIDB+6nT8emmARkS/XHV+njFt0YvppVA+OZ2khp/EF1ppdzYuixN i1+6bd4/Ekj3siTarrj43HvjT70YW4eWr++1/f90= Received: from DLEE101.ent.ti.com (dlee101.ent.ti.com [157.170.170.31]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 28E9dZIg119263 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 14 Sep 2022 04:39:35 -0500 Received: from DLEE102.ent.ti.com (157.170.170.32) 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.6; Wed, 14 Sep 2022 04:39:35 -0500 Received: from fllv0039.itg.ti.com (10.64.41.19) by DLEE102.ent.ti.com (157.170.170.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.6 via Frontend Transport; Wed, 14 Sep 2022 04:39:35 -0500 Received: from uda0492258.dhcp.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by fllv0039.itg.ti.com (8.15.2/8.15.2) with ESMTP id 28E9dBHH111966; Wed, 14 Sep 2022 04:39:31 -0500 From: Siddharth Vadapalli To: , , , , , , , , CC: , , , , , Subject: [PATCH 4/6] phy: ti: gmii-sel: Enable SGMII mode configuration for J721E Date: Wed, 14 Sep 2022 15:09:09 +0530 Message-ID: <20220914093911.187764-5-s-vadapalli@ti.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220914093911.187764-1-s-vadapalli@ti.com> References: <20220914093911.187764-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=-2.8 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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: X-Mailing-List: linux-kernel@vger.kernel.org CPSW9G ports on J721E support SGMII mode. Add SGMII mode to the extra_modes member of struct "phy_gmii_sel_cpsw9g_soc_j721e". Signed-off-by: Siddharth Vadapalli --- 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 fdb1a7db123d..13877d0d15e4 100644 --- a/drivers/phy/ti/phy-gmii-sel.c +++ b/drivers/phy/ti/phy-gmii-sel.c @@ -227,7 +227,7 @@ static const struct phy_gmii_sel_soc_data phy_gmii_sel_cpsw9g_soc_j721e = { .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), }; static const struct of_device_id phy_gmii_sel_id_table[] = { -- 2.25.1