From patchwork Wed Sep 7 09:56:48 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wei Fang X-Patchwork-Id: 12968742 X-Patchwork-Delegate: kuba@kernel.org Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 86830C38145 for ; Wed, 7 Sep 2022 09:57:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230221AbiIGJ5l (ORCPT ); Wed, 7 Sep 2022 05:57:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54528 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230186AbiIGJ5i (ORCPT ); Wed, 7 Sep 2022 05:57:38 -0400 Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on2077.outbound.protection.outlook.com [40.107.20.77]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 21C59AE9C0; Wed, 7 Sep 2022 02:57:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=kuBsvHZxV6of0iwALOP5nebfhAYRofXqu7wfWUErxV3zSJC/UOZJGh9yLHspnKdmg5kwRPe5VARbgT5Wk3ENquqJOY8Y3mJMSCrNjKpo+kK5j9pxl2SmlLdeZ/x+1EiTaslNt5d4+PmGX4ZGoa8RM6dzgNqHFQPuTH/n/CqvOE8JtpZLTd/MvQEPaiGUgW9EMklSMbEmbF5LuivOMgybUjDK5fe3EcZMy5j8suRBI8ew/Izm5lDXF1zLmdpaMg7lMdGuYL+I195TsoT7WhahapPmCHorhqHgj3myFEy2IvtuBW2Ja7+naswDZ+t0d1VdoCEcwFqPuScUmsYlsqZsVg== 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=AQ8/54uj3mCa9IlPmAg4TX5G/GCobW8V8T97UpeQkBM=; b=Nfoo7IvqPZrmLb3mmJb2evaFTtAyGRSHYZqCvdScYKEhwnOTL2tvq/uq0QM35dI+5556/XG7ZCo37QxUIKyUjceLtDaJwrULwTDna9HBcVfK+NTAp0hRd6ArA/d8T4EM3lb2HBUFWdJOIy88b40amvWP8aaW0voBVyZSRDKKBOhFqaa8Xk+W4fO49h39F0wBcGEJ/+4ICErjcGfqUfM/XeGrxgLB3bmEFLEKZ41MNkSnzLt58n+ezkP2Ii/j8Mup6tmdmPYrHZyJiQXk7cFCUUZTMpKOKvVmTgXuEckYJORM8rBra28viKXJfEmcak//g+PqwLQibtXeaFS85YIynw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=AQ8/54uj3mCa9IlPmAg4TX5G/GCobW8V8T97UpeQkBM=; b=WK3K3xv/22dfOjlWaSiIwAgFQ2uQKdHRFzQoGSe91/CSVt50sqPm+G9LyerTjKg/OlnqttgEVr6SNJGyCutHZ8lpKU1B2PlZEg5PuHfXFh48MjqqJJr+HQybvVfIr8PiXQtGK5cfghPzu+n4/+wJOZ8ywFsdK9lvJso92ZH7ACI= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from DB9PR04MB8106.eurprd04.prod.outlook.com (2603:10a6:10:24b::13) by AS8PR04MB7688.eurprd04.prod.outlook.com (2603:10a6:20b:29d::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5612.14; Wed, 7 Sep 2022 09:57:21 +0000 Received: from DB9PR04MB8106.eurprd04.prod.outlook.com ([fe80::4ba:5b1c:4830:113d]) by DB9PR04MB8106.eurprd04.prod.outlook.com ([fe80::4ba:5b1c:4830:113d%6]) with mapi id 15.20.5612.012; Wed, 7 Sep 2022 09:57:20 +0000 From: wei.fang@nxp.com To: davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH net-next 1/2] dt-bindings: net: fec: add fsl,s32v234-fec to compatible property Date: Wed, 7 Sep 2022 17:56:48 +0800 Message-Id: <20220907095649.3101484-2-wei.fang@nxp.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220907095649.3101484-1-wei.fang@nxp.com> References: <20220907095649.3101484-1-wei.fang@nxp.com> X-ClientProxiedBy: SI2P153CA0017.APCP153.PROD.OUTLOOK.COM (2603:1096:4:140::10) To DB9PR04MB8106.eurprd04.prod.outlook.com (2603:10a6:10:24b::13) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DB9PR04MB8106:EE_|AS8PR04MB7688:EE_ X-MS-Office365-Filtering-Correlation-Id: b74f1b59-1ec8-4f2c-b22a-08da90b75aef X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: FcGKaGMREXZKcPP/jk+O7eYjsTHNOUZcaXctlIUl3NjmeiYGZYQ/LIIO2Yksp4dIjsy4TaGmaCEl9HEnPwsy99OyHXcMGkq0xQREheZoc3llotcpT6zHGVVhugmFUSKbC0nyVZ7L+ozBbd8BDlBNjONAg/LkZyGarfDP/aTk7A6GbImHd67DQoIh4Y5rn8WbQmiGBGc9F64wobS37O2x4gMYCggpCcOXTZzOPqa0DChHxxuNyG97s3kPMaiVYnHFwiZG8CpptlUHl1Fqi1JgdfmzuRkNmadA8mhtZx98PP99pmovVDzYK1EnxqbV25Q0P5+OvoMrM1L/mnrFnJp7UQBYN/UwBEzmydmD6ySI4r5/e94uWrj0OLypMCHRYKBdLtGlBhTXrObo1KI0VUZOELeMaXYLWZs7MimKk742HKWkwy2TbGOx51/0d2OuFE/zU6Eh/UQOt3mlMwhziGHjoBmday20Nn5xx0YPS2B5hyLJNfqfdJxTdTyh2oKUAkV9JXULmH54zhhQoG/axxixBN0JXknPzBNoePKGLNf6k6BdjjCYkd/CajPew3GjMK4K4SBGI7wF4zwtwZ/zk7cPJbTuo5b8wd2XHBOo5BSySaHXz5jrwPo9Q/3ym3LmK5CP/Nd84Wp1FazdPsDICavXGQDysj+2VNxc5GJYqSAUQDJV3N70hH+PIcznLm/3Zg2GZDHYMniWUphWjpZqfl6IUgZZ9XU8CL2Z4TQVDgs6vCkU7BFAWFXZytSs7oDqVwTPLEqoi1xMbq5QXRhSBDAzog== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DB9PR04MB8106.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230016)(4636009)(396003)(39860400002)(136003)(376002)(346002)(366004)(5660300002)(4744005)(8936002)(2906002)(36756003)(38350700002)(38100700002)(66946007)(8676002)(66476007)(66556008)(52116002)(6506007)(86362001)(478600001)(1076003)(186003)(2616005)(316002)(9686003)(6486002)(41300700001)(6666004)(26005)(6512007);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: kNf7kbHP17LJjy27kzps6aq3Rzi82UQ60gmg/sPjZlmcksN8z7FHH/0s9eijvujrxGOoMyYaWhxFNazILGSplSNhZlMtj0lEDA5xxgJ8Ss67hMqmfOQPLbZGynLT1EonkBwOnBctM76cYjEraDdbkjZnHPumROf7q+xjfiTmRilafCakkbelYwMZ7uwA9Qwq81zSZ6JJFxsR/cDLkeeJ8oGfvNXkuFkaojSm7E3nbyQBfE9+Eq/3fXlz8kXvj1FmsSF4/dXWS32ODfywMWfWb4ioGnBR5D66bSXPWMBkGilBdNMx0MFXjmrgxS6XFFZ2ddAg9trF7jwPh6lt5PcWBEx5eahQx7Ky+vOlLboNwptWQd4VVmvLACvruwo240bjlux5IqgjNAhwnn3x2rV9sfucihF7Mq6PGvy8er2TOWr9JoB+gkxtFlx9sDZKYgX98lQ4R1A2E0tEsx4baxZOWMZj670QuTovqQrFRoZ5cQ/U8pWndlJLRs5rWxbjzx99sLtu0lKyOqq2Q6QwP/g7HXanTfDwELAmR1K5X9fMom5cHZ7dFjKiRy5EK//4XjCbe+Fd7j41liJFspXynrMVfgoJfrtRpLSXD8CXa4x9DvwxEepeuzMIW4o5ALxdZQP3P0JVi2MwCf+KVJl6UpQfFh5Q8plGNF4QICbCxmHQyAZNbqR96UCgiJVVBY5Kjv+g0Ky4ODYDxsMN8/a1mFsyshVz4Hoo+egk/cPmt3nsaGzRPClKiaTbOtDob6z4U5jnMNHAtO8Gt+nXb5InLJ10tjKErehhM7IbmFm7m7XIxPCQWASA1+vYwOYIftIPSIPDHzeWhztzbKTLU1a/qSCsH6KdhvwJIt9wR7eK+9sVMpM3mAcTMFmaNl5vyk3y276cTiOqcCrNdWUORpvId6OhL8w0zqMy4wunE50JJx+40K9mBrnXz2Pd9LRu5cD4UTz5Q6TwkCL4BWyyvT0SoU4jP2FFiSyWKM+lJn2JlVx88gJi390wbaeuw5708LUxMiN/8rPlEkLNMB34wqYowcaPC/8Sh/GeKU+VLAtN6RQQlO7l1LBAuNW81AMiFA/1YyspGtOxWmEXVZr2YGUvcNlztj6uUESzB6wJdUwHhAcnCO2CQmeeA1jG2UCIHu6q0H10iw81GTQhrsVEKhFci0oj+JfOi1lLU6iTWCqz7tSF9IuIfHmOx8VC/X7QYKYub6Q50fNcTEodbjexuD97rNT7xlKo78DsPFPpD14KswnYOe6YIRhOViiBh2m9fFgGJNWxqkCKj2AH3v/jXJiOoQhFE5Jx27RWyafZhUQ69nzvLLM0TrTPJ6PffDnnwpfbFCEbV7LTS8AY4EJ7iLbVM0PuZxtsMspWQaW0FReRjOzF7rNYKan/YtXt2GBSfI++LZxHlrldLYwFd1zQd4dK1UXbg1yaC2ZRvy8wEWkx3S2xTPDWtP+gzw7ym5VLpcIbn6OT3wPM46vx+JHBtIAB+CJztPRgvIEppMqWo6lhEqK1eRWFihpbeyyw3YG9FfMcsfhj9BqnmK+2sVxcLUtZXdFVZ4hKRi1QWZAjuwUWCnXtrsLJrifYjwCLtBnTDgMmDvDL X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: b74f1b59-1ec8-4f2c-b22a-08da90b75aef X-MS-Exchange-CrossTenant-AuthSource: DB9PR04MB8106.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Sep 2022 09:57:20.8543 (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: C7TV6/4GiizKu6ubyVdVQLDsHyPruwV6dDXLskcgQTUusaKY/JZIkA/yyVq+5OZe/3H8mzCMAZrq82+A4/aQLA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB7688 Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org X-Patchwork-Delegate: kuba@kernel.org From: Wei Fang Add fsl,s32v234-fec to compatible property to support s32v234 platform. Signed-off-by: Wei Fang Acked-by: Krzysztof Kozlowski --- Documentation/devicetree/bindings/net/fsl,fec.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/net/fsl,fec.yaml b/Documentation/devicetree/bindings/net/fsl,fec.yaml index 5cfb661be124..e0f376f7e274 100644 --- a/Documentation/devicetree/bindings/net/fsl,fec.yaml +++ b/Documentation/devicetree/bindings/net/fsl,fec.yaml @@ -21,6 +21,7 @@ properties: - fsl,imx28-fec - fsl,imx6q-fec - fsl,mvf600-fec + - fsl,s32v234-fec - items: - enum: - fsl,imx53-fec From patchwork Wed Sep 7 09:56:49 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wei Fang X-Patchwork-Id: 12968743 X-Patchwork-Delegate: kuba@kernel.org Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7B7F7C38145 for ; Wed, 7 Sep 2022 09:58:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230257AbiIGJ5x (ORCPT ); Wed, 7 Sep 2022 05:57:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54720 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229954AbiIGJ5n (ORCPT ); Wed, 7 Sep 2022 05:57:43 -0400 Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on2077.outbound.protection.outlook.com [40.107.20.77]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E22CFB516B; Wed, 7 Sep 2022 02:57:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=fBNUCeu9jMUoylyuBfjPFnIUYPE4J5vC/rbYYh+LUIW145ZYG3SnYhNQR1kn7qXxueKbBLIq6VNZFHoC9ft8OQ15tr+FzYgoCY/DPB+j6k/tDqms/APf32atoK3WWJTAy+SzmF5YXghBvm1LGJBl4FEs4myIN1nGunCkSdwqrimZQyjWYKMHCHVCkN1E+EefNXnPPtXN9Xpo+wu4AyiuLVX1ku7qDl4VriiWokSzpaJ8Xqvvgcrvp+kR+9HwZE77GBniCmD7LaaqN2zdzzbW2SqRh/T1VQi9QUGIYL+YuB/LDhVdPFV4Ls9q98Jfj2pYVFZQojWpjAldpDjUYunISQ== 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=GIiWDGbgcDLLURPoC7PDdQ05ES5B8Pax/V9PO3f9dAE=; b=N6t6EoKU3GrjCDRn9GcCFL7UzSyLkRx/rTXiCGujFDomN0YGsU6s/eqTroh3Ptg0fIt8OtB8F60iKOQ048FNTjou3TV0LSNDFeOryyZeJQyPPUhBm4r2GDLJ4k+AaPGZzYdPeVUMeSlrG/1m+De19He8xJz3z1D9HjJ6m6Z3KK7boCzlCrSoKdaEDx5gZiFsb2tY50gFCI1q/zndYXt12ZM4Xlbj7Teis2JkDJBAIgC1AUvq3LUUvjiGUugC8ii2236m6JF77mC7DUfLhlmzqXeiqp51XQfc92JoOHiCrIbZKdasQedCUamdjviWGKAvBcJ3zHI0dx50yCrF/jic5w== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=GIiWDGbgcDLLURPoC7PDdQ05ES5B8Pax/V9PO3f9dAE=; b=E64MPiAVfrAhLM6ByxxyLzIwbqzqQOwjPcEW+p1Ed7vgWbOILS1FzmiWcpsAznNUZ4O1J17MWkRbdQwTdZHlSJqWkDS4czGVUVkx3Cv8IhMBSr0Z9+4Yyilv7f8HZWKqD1Wkbixf8wHj6hj0lkNvMpSYbIKqf8c3Z/ETKM9tYYE= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from DB9PR04MB8106.eurprd04.prod.outlook.com (2603:10a6:10:24b::13) by AS8PR04MB7688.eurprd04.prod.outlook.com (2603:10a6:20b:29d::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5612.14; Wed, 7 Sep 2022 09:57:26 +0000 Received: from DB9PR04MB8106.eurprd04.prod.outlook.com ([fe80::4ba:5b1c:4830:113d]) by DB9PR04MB8106.eurprd04.prod.outlook.com ([fe80::4ba:5b1c:4830:113d%6]) with mapi id 15.20.5612.012; Wed, 7 Sep 2022 09:57:25 +0000 From: wei.fang@nxp.com To: davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH net-next 2/2] net: fec: Add initial s32v234 support Date: Wed, 7 Sep 2022 17:56:49 +0800 Message-Id: <20220907095649.3101484-3-wei.fang@nxp.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220907095649.3101484-1-wei.fang@nxp.com> References: <20220907095649.3101484-1-wei.fang@nxp.com> X-ClientProxiedBy: SI2P153CA0017.APCP153.PROD.OUTLOOK.COM (2603:1096:4:140::10) To DB9PR04MB8106.eurprd04.prod.outlook.com (2603:10a6:10:24b::13) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DB9PR04MB8106:EE_|AS8PR04MB7688:EE_ X-MS-Office365-Filtering-Correlation-Id: 2bdd9c6c-e0ba-4ce0-f68a-08da90b75de5 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: UgE25VpWT0zZPKp1zjKCE7v7Fg8grFhqCq2lGxwSAj8+H6NOBFy7PzyqC1fmTxSHwCSEyl95NAti5feCTyXwjzwem/mDFpSMSH1GzPHM1AD6dewVCG6FFuhhqsOMkdSrHLIt6xYXGJ8NSd/dl0Mf0DW64Ijy2K0UfJ2oBhqLofYcTFivEXGGZm2kWZrxIxyBlvaTK5iu0W86CZ8n2mPeO9pdtZFZ2Wu41wAA5v4Y6OxFDtitwfTA76KOam+OEUQod9XmZbzF27WEUS3UIoTIdBOl46OIxZHhjvvu8BbCDwtD9mzoEhimVj1He5p56eHtiAi7Wh35KjOjHpnh+DXDuAKiBEg3+aR4vIQk4HZ9pTY1/l7LuOJvYC6xLsC/vh9AXotZuufmcaxl2D9jNSbw702wDei4QkEoDX1e7JZrULeWzdBg/qSFtSTVNrb9f98mHbj8jL1ftOROyCjh4LEXSPlIISA6uorANJlyMNtt78IP1V7uv0qxOyh+zUTja7DSTA8k7tmJX257KEDL5LBezhEYkVNLwWAHcRQbrnyxgzcyrEoQ9IZJnvdMP0cOx2A0TdWJ2xefky9cLv/gAQaKo/js11OgWBeq3O0fLbrcLmrFbo9Jk5VLrHsMcX0BafJQImnRGH1+QYZlcmi1ia2BMm8rlMf7UY21kkYYGpzfayZ70EMiDzdUndjCHJAMBFpcX/HAuQ8lrF8EYTu0RPQ0+3qTwWP00UEDz1FWLZGugENTXQo+Xb5p4kfzywWNI9LTCAaMpp180+cdLzdKUULTNTUIDI0s9U2BG1lTh9+OWgM= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DB9PR04MB8106.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230016)(4636009)(396003)(39860400002)(136003)(376002)(346002)(366004)(5660300002)(8936002)(2906002)(36756003)(83380400001)(38350700002)(38100700002)(66946007)(8676002)(66476007)(66556008)(52116002)(6506007)(86362001)(478600001)(1076003)(186003)(2616005)(316002)(9686003)(84970400001)(6486002)(41300700001)(6666004)(26005)(6512007);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: M+9Q33yudisyzBBmkStt3eI83RMtkb1z2/O91FtjYaquMs5WwO/6uS1d6s9wHc5gpEfEUVW4OntLwLDSyFEdrWg/lLAXi2jHKVZ4p34CJAsxUKKfEUrymXM+2qniSqv4PRhcOHW54Mr9ABVEvwBMMIiDQKYG0mzNtNX6MXatSm7+5aWRc5ql4H1sWwsakoeYVa2AYuifwgIJOeopTR4jnuMhBXnzp4nFa8+BN9e9HWRmwjzYxk5AG/UcnPS0lqdLwcEbbwbJnkRXkLn7Lr1o+YOMD5ERn7mL9PEHAYn7w+ly0xk893ifcCHoWEQbN0spT6NRdY7Q2cPROH/fsLwvlvq5yOrlpoVFOueJoGQsuWynPHYHtydbRqdstHOvyAhOaHYjAaO7x5bFz2VDU56jFGMVWzzElzSfvBK5PCs/LVF84RDSwF5l6wNg3cVwv1Tepab0XZlw3NRFRIxfMrogdhL9gfiZXy1EzPi1o019qbn/lILhk/e5JhGRaw8Xp6Fpr4A9d//Ge6a0Pm7HYSygQw6ZgtQpYdbB2f9WcbT7+8xgsr4Tgsfd9m5qGLwvMYZelfxEDlElW/IOddtuCJv9Pp1uT9qFf9fA9tzmB7NxhlscoRfuBYUZvl5n2JWYZO3GdHWQNdz8BewOrOr4QwRQiMdAxJjDmJN9x8UKTjhHaybaNwzqU80g5f+hPxItksrmwJCK3icm12TSN0bMMSgboNDFfzpQgM8NDf2Xibu53pre0lqipVdRmFG/2YgGr/lJjJeHkaCvcrf/XeRn10zzQ8Lp9X/U85XFbtzX4Y96upIa/ReCiJ38enFynVfMr2V7RA7UJeNUEm51aJXljEoZbw7u7JuUxi/SlwxZZ/hyPC48h4KfGxSfv5ynakGsBeAFJfayoOCjOKKiaS2qK5GjKJJvlQBc+26tuKnWUVqvLEphs7x0AoqS6bB13M9/LpGN1uCSNql790qUOPIggJVLMxcPWfafDg0h0/5SsUGcc/DVRUveZqgLzH0fpLzS5agnTrGMMD3pdKpStpWCn9HL9mV2+esoMpKQEnMv1rYU1WWoZDSaTmzRlFvYcWzAdh/ArID4Wz9otMlNZqI7xjfu5habM6+nGK24sZ0WHQP3lKqzPuzMkXioU4NY/Q5JESXdRUAKmlAyY+xuqvCL5TABCJx4gvsct0ReyevWSOq7KHZ8Ow4smqeDYOMBu987rh4ceauRRaxwEyZAMVBaDXd4h4AaUu6ar4Rx6cVFDH4dcG5W24kulMXdQ+9KaV+5rKqgNk9/fNK5YG67B+///jd27UjMuM+iICW3cbjSvypkvwvyQQdQv1sk202un7yaDZFjTAVb598BZPKglE9BrJbkFQKi5/Oh9ZOiQIOhr+raiM4ER1rYxqof31qQbtVlumDSMG0KHC2H2FO+MC67SgbQoVWsWHT/ipsZylzbaDfV7Qpx5Aul2/L9EgtpZLYQKPtvT9iGoj3SPEjzJgi6lHrVFufoemtLCvBqDBn8thrYFK1i4ggpO5hKrbVRk6ll4qEFpTNnv6IUjA2pNKw9rXu6E/lJNvFns8eYZ6D8bN0YV+ezBtq0MuV07KM8oj2WxqER X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 2bdd9c6c-e0ba-4ce0-f68a-08da90b75de5 X-MS-Exchange-CrossTenant-AuthSource: DB9PR04MB8106.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Sep 2022 09:57:25.8081 (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: /Rv1bFa+PwAjsHvg2Wq4CSYTVd97o+Yg8NKNvvlWjAEQb7yNXySTyd02joCr8p2oA/YiQZbXTD4a3wyra6VqOQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB7688 Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org X-Patchwork-Delegate: kuba@kernel.org From: Wei Fang Update Kconfig to also check for ARCH_S32. Add compatible string and quirks for fsl,s32v234 Signed-off-by: Wei Fang --- drivers/net/ethernet/freescale/Kconfig | 6 +++--- drivers/net/ethernet/freescale/fec_main.c | 12 ++++++++++++ 2 files changed, 15 insertions(+), 3 deletions(-) diff --git a/drivers/net/ethernet/freescale/Kconfig b/drivers/net/ethernet/freescale/Kconfig index e04e1c5cb013..b7bf45cec29d 100644 --- a/drivers/net/ethernet/freescale/Kconfig +++ b/drivers/net/ethernet/freescale/Kconfig @@ -9,7 +9,7 @@ config NET_VENDOR_FREESCALE depends on FSL_SOC || QUICC_ENGINE || CPM1 || CPM2 || PPC_MPC512x || \ M523x || M527x || M5272 || M528x || M520x || M532x || \ ARCH_MXC || ARCH_MXS || (PPC_MPC52xx && PPC_BESTCOMM) || \ - ARCH_LAYERSCAPE || COMPILE_TEST + ARCH_LAYERSCAPE || ARCH_S32 || COMPILE_TEST help If you have a network (Ethernet) card belonging to this class, say Y. @@ -23,7 +23,7 @@ if NET_VENDOR_FREESCALE config FEC tristate "FEC ethernet controller (of ColdFire and some i.MX CPUs)" depends on (M523x || M527x || M5272 || M528x || M520x || M532x || \ - ARCH_MXC || SOC_IMX28 || COMPILE_TEST) + ARCH_MXC || ARCH_S32 || SOC_IMX28 || COMPILE_TEST) default ARCH_MXC || SOC_IMX28 if ARM depends on PTP_1588_CLOCK_OPTIONAL select CRC32 @@ -31,7 +31,7 @@ config FEC imply NET_SELFTESTS help Say Y here if you want to use the built-in 10/100 Fast ethernet - controller on some Motorola ColdFire and Freescale i.MX processors. + controller on some Motorola ColdFire and Freescale i.MX/S32 processors. config FEC_MPC52xx tristate "FEC MPC52xx driver" diff --git a/drivers/net/ethernet/freescale/fec_main.c b/drivers/net/ethernet/freescale/fec_main.c index 8ba8eb340b92..705348879b0c 100644 --- a/drivers/net/ethernet/freescale/fec_main.c +++ b/drivers/net/ethernet/freescale/fec_main.c @@ -155,6 +155,13 @@ static const struct fec_devinfo fec_imx8qm_info = { FEC_QUIRK_DELAYED_CLKS_SUPPORT, }; +static const struct fec_devinfo fec_s32v234_info = { + .quirks = FEC_QUIRK_ENET_MAC | FEC_QUIRK_HAS_GBIT | + FEC_QUIRK_HAS_BUFDESC_EX | FEC_QUIRK_HAS_CSUM | + FEC_QUIRK_HAS_VLAN | FEC_QUIRK_HAS_AVB | + FEC_QUIRK_ERR007885 | FEC_QUIRK_BUG_CAPTURE, +}; + static struct platform_device_id fec_devtype[] = { { /* keep it for coldfire */ @@ -187,6 +194,9 @@ static struct platform_device_id fec_devtype[] = { }, { .name = "imx8qm-fec", .driver_data = (kernel_ulong_t)&fec_imx8qm_info, + }, { + .name = "s32v234-fec", + .driver_data = (kernel_ulong_t)&fec_s32v234_info, }, { /* sentinel */ } @@ -203,6 +213,7 @@ enum imx_fec_type { IMX6UL_FEC, IMX8MQ_FEC, IMX8QM_FEC, + S32V234_FEC, }; static const struct of_device_id fec_dt_ids[] = { @@ -215,6 +226,7 @@ static const struct of_device_id fec_dt_ids[] = { { .compatible = "fsl,imx6ul-fec", .data = &fec_devtype[IMX6UL_FEC], }, { .compatible = "fsl,imx8mq-fec", .data = &fec_devtype[IMX8MQ_FEC], }, { .compatible = "fsl,imx8qm-fec", .data = &fec_devtype[IMX8QM_FEC], }, + { .compatible = "fsl,s32v234-fec", .data = &fec_devtype[S32V234_FEC], }, { /* sentinel */ } }; MODULE_DEVICE_TABLE(of, fec_dt_ids);