Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp2681665rwd; Fri, 16 Jun 2023 07:01:09 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6XxuArNCmHOWHLPHWn6PeyoZSXPtJTFPM4fp4GcKRlFmZkuZwMvvoRU6cYdY5katwXQru2 X-Received: by 2002:a05:6a21:3414:b0:118:b72c:2924 with SMTP id yn20-20020a056a21341400b00118b72c2924mr1923146pzb.60.1686924068811; Fri, 16 Jun 2023 07:01:08 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1686924068; cv=pass; d=google.com; s=arc-20160816; b=mjV2WiI+YmRfJzYC+0O2prGKqdbWt1KrcAHEs4w6sQfG0zDIZ9VLiNBhEGD3pUM89k F6LcDzhkbltIIAHtrUd4C3VjGjHrzMibbJqwAslfgCz9ILd2atJ/efqzCZY9xMlXVA8S 1swIWoV1iOcTtLj6YaUSeTZS5kt7uDABzb7cyXEDks7PdDroFcvtINvrzNIaeDmrbXDz 16dh0EVNkLYnzQ68iERgLSzJ5TkWLy4MZTLguKfnnnlV1w/5uUPFAiDmE6tCD3lGgjdr PCv3NNstf7NzU/0bk4fDt66RxespSrp/w+iL1ZnVXaUmcV99MGHpin1guSK0La9lXKSf j9Fg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=NbbdNJyu/a4IIJTLO8CBCEtdx6lTEaJTTzc8hSGC+Gg=; b=UaVJVihkbTb04ujd7G0mx3oF2I/SVIwK3UgdA+7w63DHbV6f3/6mpkkNLdCkpEwHkV kBCi/DckOcFcF5W+LhaY09iQkvQi0eOVPXKDIVC9CAvxTqhRyIRuWQMZLJtM6zh0CHLV ByLM7CRp2+bS5NtbjdZkV5+T7KVelgtSMW26jYbff44LMMu0haG7cVjKpIrpQaTjYcHC 16bKeLc/OinNvbSsJY8V0ZpXlRo/GEZj7DrPkAcJ4+MmlyoX7+KPV81pAk4ThAd5GSAn 9i26NvwmqLf8njUFS6Pb3A9hN125yoPL3jNBR4Uy045UeOFEQ/jKBDoK9hMGxA1UDpv6 +PUg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b=AcngkUQd; arc=pass (i=1 spf=pass spfdomain=oss.nxp.com dkim=pass dkdomain=oss.nxp.com dmarc=pass fromdomain=oss.nxp.com); 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=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 24-20020a631258000000b0051b37c000dcsi10981938pgs.81.2023.06.16.07.00.53; Fri, 16 Jun 2023 07:01:08 -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=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b=AcngkUQd; arc=pass (i=1 spf=pass spfdomain=oss.nxp.com dkim=pass dkdomain=oss.nxp.com dmarc=pass fromdomain=oss.nxp.com); 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=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344990AbjFPNyT (ORCPT + 99 others); Fri, 16 Jun 2023 09:54:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46024 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344132AbjFPNyM (ORCPT ); Fri, 16 Jun 2023 09:54:12 -0400 Received: from EUR04-DB3-obe.outbound.protection.outlook.com (mail-db3eur04on2080.outbound.protection.outlook.com [40.107.6.80]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2385A359E; Fri, 16 Jun 2023 06:54:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ZeJK8OzzUc1iwOZOmP4gW8wDhUeluv43ks15bV/y5YRv76H7EEGe+zyDqS/3fBdwDtmaBmXCYFxpkMEf3IUPGV4hw8ZcVDGuvssvZgAFI5GSzxEV6nqxYe7xv6Ep8MhnOUeABtNI+G2LjoOBElX7gB94T5dxr9y2dNObitHlYdeyrDSKIZVbAKrYnqq+e+v1BV1opMUyE4hTk8nCMa9uix2wWweFUcit5NUnJQ7LWDo22rCo0aoGnWEPtbi7JPkM1i0KNzr9xnIDBsuGeUacM4eAct2nbGJc1NPTIVx7ttCjb6FktOgjGlRsQT2vAm8x7bh+o90Z508Ta+BmdvgKJA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=NbbdNJyu/a4IIJTLO8CBCEtdx6lTEaJTTzc8hSGC+Gg=; b=YTlHtoyzIzcHue3Se35G/Pa0vWlo0y8w2gZ/YzP69jZ3quBulzkIlttyWnFCMYmnwQUOf0mDeqbY+BKbaF0TtlKIMfmplLbqt8ZtVjJfyaMyjQCrlT0PAu8xJG9vCMXtq0FVYn9tmOmCP8M6Dgb7ZauzH/RO/sENrze8uECaC0vBHgSZaBqPJ/hrZeynzg7f0YGfKNjJ4/wK18t3zIRkzHSJyprpgeCYjNAU5AOcFD5DepoxWsiPn1bLWnbH+UtbJwBWS3cApTQIfz/eTITX9ZO7FItXHCVq8A/d0bQWOrrLT72dZ910BuQG6j2SC6aTj00rtLgHvLeRXzJQGQJDiw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oss.nxp.com; dmarc=pass action=none header.from=oss.nxp.com; dkim=pass header.d=oss.nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=NXP1.onmicrosoft.com; s=selector2-NXP1-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=NbbdNJyu/a4IIJTLO8CBCEtdx6lTEaJTTzc8hSGC+Gg=; b=AcngkUQdxoZRvMBmn70PmtNsrOzteC5KDxWK56c7frbr6j7Rb3DDjyHA5/YbTJhiDUA6LiPsdQ64codRqn+kY5Nb/JBIZxyFxbPrcXYMOQwIGzWNg7lyv60VRaSJB/z8LUZWx4/So+iIHHaa40Ziabjt1vpnZR/WI1+tYZFf7mQ= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=oss.nxp.com; Received: from AM9PR04MB8954.eurprd04.prod.outlook.com (2603:10a6:20b:409::7) by PA4PR04MB9318.eurprd04.prod.outlook.com (2603:10a6:102:2a5::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6500.25; Fri, 16 Jun 2023 13:54:00 +0000 Received: from AM9PR04MB8954.eurprd04.prod.outlook.com ([fe80::5356:c79f:ef9f:dc29]) by AM9PR04MB8954.eurprd04.prod.outlook.com ([fe80::5356:c79f:ef9f:dc29%4]) with mapi id 15.20.6500.029; Fri, 16 Jun 2023 13:54:00 +0000 From: "Radu Pirea (NXP OSS)" To: andrew@lunn.ch, hkallweit1@gmail.com, linux@armlinux.org.uk, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, richardcochran@gmail.com Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, sebastian.tobuschat@nxp.com, "Radu Pirea (NXP OSS)" Subject: [PATCH net-next v1 06/14] net: phy: add 1000baseT1 to phy_basic_t1_features Date: Fri, 16 Jun 2023 16:53:15 +0300 Message-Id: <20230616135323.98215-7-radu-nicolae.pirea@oss.nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230616135323.98215-1-radu-nicolae.pirea@oss.nxp.com> References: <20230616135323.98215-1-radu-nicolae.pirea@oss.nxp.com> Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: AM0PR01CA0106.eurprd01.prod.exchangelabs.com (2603:10a6:208:10e::47) To AM9PR04MB8954.eurprd04.prod.outlook.com (2603:10a6:20b:409::7) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AM9PR04MB8954:EE_|PA4PR04MB9318:EE_ X-MS-Office365-Filtering-Correlation-Id: 44fed483-df44-4185-cd3d-08db6e7122f1 X-MS-Exchange-SharedMailbox-RoutingAgent-Processed: True X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: +EeJV9ytQ8lcU17lMhRVdyF1E3vv27ycb1b6aP0x9F1Tck6619kOMuhKv7+mut+K3xi+cDfDx7q0rv/eEOieV2rydGepRmT9FO7dcJlTwerpmlLDzddaNkyy5nuMsESUaGDgIFH8FLE06D71iJu9MTCL/EO9PgVVqgXhzuNdMbcfm/sHM0o8u4uzQ8pzIZyFj29CMB2+xSP6jVz6gSlUHqpdkjyyjXo9NGu0OT8lKfFqYLUD5ThEY5GFHAtKrme0IWuY2+rgJ8ldTheWDdJ6205bOfKx1GCxlUZ6wRKaP54nS4lroXEiUA24mzszNanoZR6MqTAw7ZTeMkqGuBhnYfcBhwhlaCMD8NeqTayWVjhgY6SkUeDnbOAvo7otwqGLh1gnYkD6PT0GO4rO9cRpPHyB7VU/YxQfPqZF2tDgjJTxcBYqRhxszG7ezmcE4JLkM/AYFXWTbve099RUi8gQAsNK4GipjpwxZFf+PnMfyY5YQAMn3Aq0NQfWdjhh+OYysCRNPwjjw8eR11CgzePZBOPLRdmQ87Nia+6Es0WJas91L71qftuixK7OrxROSEjXnThHYrL56ro0tWdy10dFb9xdCHfNfRYddDWec3VDFHHsd6miWvk8oa+7WKmaaMHk X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:AM9PR04MB8954.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230028)(4636009)(39860400002)(396003)(366004)(346002)(136003)(376002)(451199021)(41300700001)(52116002)(86362001)(66556008)(66946007)(316002)(6486002)(8676002)(8936002)(6666004)(66476007)(4326008)(478600001)(7416002)(6512007)(5660300002)(26005)(83380400001)(6506007)(1076003)(2906002)(186003)(38350700002)(2616005)(38100700002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?z15iOhjsm1PapvEO7dtl7Qgfu1/t3f+nzZlt1kIxABHh8bLsETto8WqdON/h?= =?us-ascii?Q?y0piME1Vflk1MSeuXwdQnoa9yxKkc9kivYXCASFtnNQvkta3DiZ5ogdFY+/c?= =?us-ascii?Q?RAhXqlTzevQIQurfANPOhgkLct0AIqD7fFEgXPmJGpCWJjq5ZE+WY/Z8hBtE?= =?us-ascii?Q?cb4tjiKhmO5cml0ZzrgHqavXZn12Je1Q4j5BdA9mcSbcNxvAW/KRA8ggyvZn?= =?us-ascii?Q?Paed3FYRjuA/S/lWrjDKpnu2jT2abmKWGjiWg9AyprybWvGBr6jM4TlYGvDq?= =?us-ascii?Q?hBXEcgbsz6/ku/hivHFIr8k2azuCj+3iA7cE07ai1nGgGWIZ6OhHohv9Wa/l?= =?us-ascii?Q?ijh9fyVuTEt7lNwW91jkcCx4Xty6p8o8mgVUU3apq7sZWqEwn2OcNSmKDwGL?=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dxzoFBLV3qwd+hbb4wY3w8pRoJyVHi8IWo5rULox8BRjlqzhC?= =?us-ascii?Q?ya/sasuZq9r38QIcxsXXeCOANKpupDHOnNXnA/snZ7+UfIyN7fkEWrBqPfQk?= =?us-ascii?Q?hawLcqG2/hWytGSXmh5jNaiIUydDx5hzajV3Pt7wR0oOfjz1KNqScFruYpqI?= =?us-ascii?Q?Z2GCF6OX6zFgIUwPlRUdo/b55A2njYv2+Gu94Adbj7bC6iUBUb3WRAQL1eef?= =?us-ascii?Q?7z2mlGy8ZOS7iD5Js5CFUeir9uf7UA8Ig1JNxmCM6naCJjvA+3MS9PCqRcTP?= =?us-ascii?Q?0ubsnJTHKpAcVRlOE8HwGUQrtFkoZP/9odfgkSeM/+5mVqalSq7rizAn824w?= =?us-ascii?Q?CA=3D=3D?= X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 44fed483-df44-4185-cd3d-08db6e7122f1 X-MS-Exchange-CrossTenant-AuthSource: AM9PR04MB8954.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 16 Jun 2023 13:54:00.1508 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: vsY2NgmkldLjtLIh1g1tJ9fyC6vhCYmAFAYN272Owv85UVwkpobHhcMMEFuYBOGLYMmz6d5c0DYwwR751NuYVxSx+k3yYvG5pjcCYr5beM0= X-MS-Exchange-Transport-CrossTenantHeadersStamped: PA4PR04MB9318 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,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 Add 1000baseT1 bit to phy_basic_t1_features. Signed-off-by: Radu Pirea (NXP OSS) --- drivers/net/phy/phy_device.c | 3 ++- include/linux/phy.h | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/net/phy/phy_device.c b/drivers/net/phy/phy_device.c index 2cad9cc3f6b8..1c7fefeda7a3 100644 --- a/drivers/net/phy/phy_device.c +++ b/drivers/net/phy/phy_device.c @@ -96,10 +96,11 @@ const int phy_10_100_features_array[4] = { }; EXPORT_SYMBOL_GPL(phy_10_100_features_array); -const int phy_basic_t1_features_array[3] = { +const int phy_basic_t1_features_array[4] = { ETHTOOL_LINK_MODE_TP_BIT, ETHTOOL_LINK_MODE_10baseT1L_Full_BIT, ETHTOOL_LINK_MODE_100baseT1_Full_BIT, + ETHTOOL_LINK_MODE_1000baseT1_Full_BIT, }; EXPORT_SYMBOL_GPL(phy_basic_t1_features_array); diff --git a/include/linux/phy.h b/include/linux/phy.h index 11c1e91563d4..47c2b55d899f 100644 --- a/include/linux/phy.h +++ b/include/linux/phy.h @@ -70,7 +70,7 @@ extern const int phy_basic_ports_array[3]; extern const int phy_fibre_port_array[1]; extern const int phy_all_ports_features_array[7]; extern const int phy_10_100_features_array[4]; -extern const int phy_basic_t1_features_array[3]; +extern const int phy_basic_t1_features_array[4]; extern const int phy_basic_t1s_p2mp_features_array[2]; extern const int phy_gbit_features_array[2]; extern const int phy_10gbit_features_array[1]; -- 2.34.1