From patchwork Tue Feb 21 09:21:03 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Durai Manickam KR X-Patchwork-Id: 59816 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp1767904wrn; Tue, 21 Feb 2023 01:36:18 -0800 (PST) X-Google-Smtp-Source: AK7set8eSmOHRtf/mjo5t/JxT9NV5dzX5GHyQs6Z9HDTnWMot8mFgjoIcLYV8WAYxtpSeuUb1yNX X-Received: by 2002:a17:902:f546:b0:19a:f360:3a72 with SMTP id h6-20020a170902f54600b0019af3603a72mr3670087plf.33.1676972178305; Tue, 21 Feb 2023 01:36:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1676972178; cv=none; d=google.com; s=arc-20160816; b=HOvCGcqVIVkNp0XVwO48XHuYVnFgjl9N3iYtIu8Soa7F9dISg6ES8y611PZnOb/QFF BMKX/jUnTuGNdUE24rbdGME+3bW7mJSXrFHQY8EUqQB3KszqJRhWplKJbr+J8tIJdGSw EbkR8nl95NiHb1/nokgBGLk/F1QTgCTseH14YZlKGFP9/5RjKs53Q1VatKRX3o7RVoMI bTbP64hwx66KKCrU2XugyOjyit0FJcoddcE64EjRXR9bZWwVx/N6mXEYMlz/0u++zXs0 NFewWDlhX79vev9uImcwTcCPNsq7uigYAiE9B7CUx+PBxNJkrg08xcBxjtuertcF90Jf hKSA== 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=pSpQruv+MMcsS2RwWE+M2R4q/L/GiMqTAR4kS2ie+mBPZMbu3qHFinnvRAh64SFbMw vkbLG6z44Piv9A/zBcA95b3eaF6zoFvTpJ5NEvhQFD8Uw2NMnEqjwFAOhp/+j1UfdzHk cuBZ7z2JHJAIKhh4vEglfGFgNfnylhnxBeml0s3v/kMO3QrYEWgHao14QyCqMkzD2PTv 0fgFJmXkKlyhrpUHVaUBj3cZS2thpJ+LUCDn/g8CUC4Whpkgwm/wXa7cdbSnpVwzfAei +ZOj27df+FIAz1jJcXUJ6MgEv7E7IcWCa+uE6fB5eK+kI7BdEyBGkG/JzwHK1Igufa8q 0gOw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=pZ8BJy33; 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 n14-20020a170902e54e00b0019a5aa4d768si14062266plf.611.2023.02.21.01.36.06; Tue, 21 Feb 2023 01:36:18 -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=@microchip.com header.s=mchp header.b=pZ8BJy33; 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 S233898AbjBUJVh (ORCPT + 99 others); Tue, 21 Feb 2023 04:21:37 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60568 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233266AbjBUJVg (ORCPT ); Tue, 21 Feb 2023 04:21:36 -0500 Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.154.123]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0F94924483; Tue, 21 Feb 2023 01:21:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1676971292; x=1708507292; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=nfbCz9FTpMLY06ZI7/EfisAD7xlhHf8Ry0R/DcJAXtY=; b=pZ8BJy33Rvtzg3YBu4DHJp1E88FIB2qBCx0goJ5JyOVd/hTEWKW0docj Scsx/3gLiv6q+LNd6qwyzFrpTOt3nHoO0MLMTuYaxFWLk4x1Ve9ThuQE1 MmgP7dsGg7UDdoz13AhZFjTOklAFPvwqn2uDKThOjXtlkwy67JYurV0qZ 6UKMp54QeRQGD3DxFBvkzps4LjFjmX3vw1VhqumdMSLsrK6DFQPV6PKhl La+j7sVpdUZ3ZtfjuNDBp6UT0hVgS4nl+Y+XmeJVpe1XaHLUM0ekYGyDC UsadF4IXA37KksS+JTnDFdaGTi12ugGBOVNOj6u6LeYQWmOqZxH7mMry2 g==; X-IronPort-AV: E=Sophos;i="5.97,315,1669100400"; d="scan'208";a="138244294" Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa6.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 21 Feb 2023 02:21:31 -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.16; Tue, 21 Feb 2023 02:21:31 -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.16 via Frontend Transport; Tue, 21 Feb 2023 02:21:21 -0700 From: Durai Manickam KR To: , , , , , , , , , , , , , , , , , , , , CC: Durai Manickam KR Subject: [PATCH 1/2] net: macb: Add PTP support to GEM for sama7g5 Date: Tue, 21 Feb 2023 14:51:03 +0530 Message-ID: <20230221092104.730504-2-durai.manickamkr@microchip.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230221092104.730504-1-durai.manickamkr@microchip.com> References: <20230221092104.730504-1-durai.manickamkr@microchip.com> MIME-Version: 1.0 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 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1758432778441578361?= X-GMAIL-MSGID: =?utf-8?q?1758432778441578361?= Add PTP capability to the Gigabit Ethernet MAC. Signed-off-by: Durai Manickam KR --- 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,