Message ID | 20230315095053.53969-2-durai.manickamkr@microchip.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 v21csp2233958wrd; Wed, 15 Mar 2023 02:57:06 -0700 (PDT) X-Google-Smtp-Source: AK7set+dOG+K4WKnQTH/Dsy/PQfax5VftUP5gLpHi93hFPJ6IFsQzYPN4LuYXXtRoke/RMDh6HY8 X-Received: by 2002:a17:903:41c4:b0:19d:181f:511 with SMTP id u4-20020a17090341c400b0019d181f0511mr2093250ple.30.1678874225963; Wed, 15 Mar 2023 02:57:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1678874225; cv=none; d=google.com; s=arc-20160816; b=ogk0J17FIakA2DvIoXs92hJ8C463QeKFZUeOhrvLgiOjByXPfFWNaB+rAXaJIjalyO I3oSDlAPImPRWczEZguQ2FhbgR1dGUvv4zHGqqFnVJW99I6J3dsZ+P2jes65DNVHkY4T MB6PZHwmbewqXkjLuXJNpERO5pAZ94YQOIEmcRHCcywYKySq1fHnV8EY0arJQFOHdxUw Z/v/3LO7INhBWrC2EIwaSweIb9TVCLInrhy7nIVFMtZiPoMFIosUFJ8gIQ3byEYzzy2s gAjWDvTOD7R5nB754Fg5yMXoTkw+27Ujm3dHIa25aA+9cxzlyeO6A6E7ECbCeT0RBATw tH+g== 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=mCMA5YE683YN+LsQ7AsEaVEFoEwrtOeKu6ZJI3MohEA=; b=Kn3UZYF/DMU1Ajfuu51yObEgh3SVzNW3dd7PjarXI7DOFNNUjNVqFjGk8EInp2lyki Xqc+q5KkHl1AIhk8sqBLs7rRh+0aWwma7iOpQjcCSZpx0KegHpjW4gQ2dv5F2JrLwqUg k8NtECKYmJ41zpvibP1tSjhz2/Eksv8bmwgjKlQFKNsJgZjfPFfvWFyXbkj6HMJrlOio StVHt6RKhG4RNTm9tQBSTJdNgDRm/Y4uj7reSF2P847piaFRrz57r6Y5nBBJKr/6NtqY moMImS7Jg5hprPM0T5Sk3Idax0vHlQLA+JaciKMtBdL4knvN9soSc+bDhT2j7FFcRoNV x1lg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=xvHEiAmq; 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=QUARANTINE dis=NONE) header.from=microchip.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id jw24-20020a170903279800b001a051eeb596si4571509plb.297.2023.03.15.02.56.51; Wed, 15 Mar 2023 02:57:05 -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=@microchip.com header.s=mchp header.b=xvHEiAmq; 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=QUARANTINE dis=NONE) header.from=microchip.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232198AbjCOJxC (ORCPT <rfc822;realc9580@gmail.com> + 99 others); Wed, 15 Mar 2023 05:53:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37578 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232190AbjCOJw3 (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 15 Mar 2023 05:52:29 -0400 Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.153.233]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8E9D960AA4; Wed, 15 Mar 2023 02:51:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1678873878; x=1710409878; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=nfbCz9FTpMLY06ZI7/EfisAD7xlhHf8Ry0R/DcJAXtY=; b=xvHEiAmqcN8LY5/iNDLuEYovGcW6PKAbsGcku+1mN6V09f7kFscYqp6w yZBMqvNHXll+H6oRbVzsOBVmv0PHTdVmVWTCuLTtFvZQ4p2uGpb7X8/49 i3P080MVoqpfEPd+soc7x+HaUMAfOD8mQijsReEOaR2vZQ4c4ft5eRRug VRqZBlJu0NyuAvLuksCUZQ7YzjBLgNUynyLn8qiEhQx2tm+8nk/apgIr0 9JAcmCag5J5BPVz8IjCYP74/neukSi/p570hgpkv56OOX/N3wkhSWHEe+ xy3iQgWhk69KMqGgyoOjH6bsS4a7AsO2U7F0kL39374LgdWovqRBA+WoV A==; X-IronPort-AV: E=Sophos;i="5.98,262,1673938800"; d="scan'208";a="204854133" Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa3.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 15 Mar 2023 02:51:18 -0700 Received: from chn-vm-ex03.mchp-main.com (10.10.85.151) by chn-vm-ex03.mchp-main.com (10.10.85.151) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.21; Wed, 15 Mar 2023 02:51:17 -0700 Received: from che-lt-i66125lx.microchip.com (10.10.115.15) by chn-vm-ex03.mchp-main.com (10.10.85.151) with Microsoft SMTP Server id 15.1.2507.21 via Frontend Transport; Wed, 15 Mar 2023 02:51:10 -0700 From: Durai Manickam KR <durai.manickamkr@microchip.com> To: <Hari.PrasathGE@microchip.com>, <balamanikandan.gunasundar@microchip.com>, <manikandan.m@microchip.com>, <varshini.rajendran@microchip.com>, <dharma.b@microchip.com>, <nayabbasha.sayed@microchip.com>, <balakrishnan.s@microchip.com>, <claudiu.beznea@microchip.com>, <cristian.birsan@microchip.com>, <nicolas.ferre@microchip.com>, <davem@davemloft.net>, <linux-kernel@vger.kernel.org>, <edumazet@google.com>, <kuba@kernel.org>, <richardcochran@gmail.com>, <linux@armlinux.org.uk>, <palmer@dabbelt.com>, <paul.walmsley@sifive.com>, <netdev@vger.kernel.org>, <linux-riscv@lists.infradead.org>, <pabeni@redhat.com> CC: Durai Manickam KR <durai.manickamkr@microchip.com> Subject: [PATCH 1/2] net: macb: Add PTP support to GEM for sama7g5 Date: Wed, 15 Mar 2023 15:20:52 +0530 Message-ID: <20230315095053.53969-2-durai.manickamkr@microchip.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230315095053.53969-1-durai.manickamkr@microchip.com> References: <20230315095053.53969-1-durai.manickamkr@microchip.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain 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, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS,URIBL_BLOCKED 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?1760427220576550922?= X-GMAIL-MSGID: =?utf-8?q?1760427220576550922?= |
Series |
Add PTP support for sama7g5
|
|
Commit Message
Durai Manickam KR
March 15, 2023, 9:50 a.m. UTC
Add PTP capability to the Gigabit Ethernet MAC.
Signed-off-by: Durai Manickam KR <durai.manickamkr@microchip.com>
---
drivers/net/ethernet/cadence/macb_main.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Comments
On 15.03.2023 11:50, Durai Manickam KR wrote: > Add PTP capability to the Gigabit Ethernet MAC. > > Signed-off-by: Durai Manickam KR <durai.manickamkr@microchip.com> Reviewed-by: Claudiu Beznea <claudiu.beznea@microchip.com> > --- > drivers/net/ethernet/cadence/macb_main.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/net/ethernet/cadence/macb_main.c b/drivers/net/ethernet/cadence/macb_main.c > index 6e141a8bbf43..27fc6c903d25 100644 > --- a/drivers/net/ethernet/cadence/macb_main.c > +++ b/drivers/net/ethernet/cadence/macb_main.c > @@ -4844,7 +4844,7 @@ static const struct macb_config mpfs_config = { > > static const struct macb_config sama7g5_gem_config = { > .caps = MACB_CAPS_GIGABIT_MODE_AVAILABLE | MACB_CAPS_CLK_HW_CHG | > - MACB_CAPS_MIIONRGMII, > + MACB_CAPS_MIIONRGMII | MACB_CAPS_GEM_HAS_PTP, > .dma_burst_length = 16, > .clk_init = macb_clk_init, > .init = macb_init,
diff --git a/drivers/net/ethernet/cadence/macb_main.c b/drivers/net/ethernet/cadence/macb_main.c index 6e141a8bbf43..27fc6c903d25 100644 --- a/drivers/net/ethernet/cadence/macb_main.c +++ b/drivers/net/ethernet/cadence/macb_main.c @@ -4844,7 +4844,7 @@ static const struct macb_config mpfs_config = { static const struct macb_config sama7g5_gem_config = { .caps = MACB_CAPS_GIGABIT_MODE_AVAILABLE | MACB_CAPS_CLK_HW_CHG | - MACB_CAPS_MIIONRGMII, + MACB_CAPS_MIIONRGMII | MACB_CAPS_GEM_HAS_PTP, .dma_burst_length = 16, .clk_init = macb_clk_init, .init = macb_init,