From patchwork Mon Jan 8 07:58:10 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: ChunHau Tan X-Patchwork-Id: 13513081 X-Patchwork-Delegate: kuba@kernel.org Received: from CHN02-BJS-obe.outbound.protection.partner.outlook.cn (mail-bjschn02on2085.outbound.protection.partner.outlook.cn [139.219.17.85]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 46679C13C; Mon, 8 Jan 2024 07:58:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=starfivetech.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=starfivetech.com ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=aMnNKv32FjciuGb3gm/Zs44/9L/HRk3a5peRseCDkoHQl6CcDyxLZQSX4JjMkG/iMhnAFLRIbOFdnx70FbfXRyD7T2CT5o6dNW+dQqSYlXqO8QoR2z6mpjDpBX68SegWMo/aT2QzveU+QKZAtbV4qbasIr4UF7FsxZa1zUCA41YbMpx/YVD/9NLjAYzV3FYlHLkILEc4FwDxw5VhtLZHlnXF6PvwnNk3WDhpoR02+B5EQ+BdlWSgl0NrLIS5XojHt17319yvdo7tXa/RWk+rQ7smV54DTv18gq/0RaONrI/J1nQOoqCJpv5O50SpGP2V169qEJaIAOzVnkEpBLv5jw== 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=pCyieCzTlRavi9GHuI4IbkBVIrqJA8fZiMsx95FCsZw=; b=dA9mwn6TSrnJyPMLmAX5ZH5wdXS1x+uCns8ZfUI7jJn2drs1/tP2LzDzB+SvPCoPk5phg55uM6LA5k48UX3LKhr1Ud8mUV90JuBvbwexbKAS3OzTD3dvrQrv310gNW5SD47SOudDWrSsC+l9Igijk0COmn87EmALBqM5EgFqC3GxvnAhoXzyxs45Wtq0Klce269ijnGhQXVKbBfPtiikvRQv3A5Kko167Y/Xj5wUYWQ2arUufdUa2xJMgtxZNnZmiYSKBDez6QQ3AD7cTvjLcuYUky2QYroTlRPLrISDM9Dt5bKJNVqWXlVoI14nEqQ5vOTQS7R/ujqFHDUZqSb21A== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=starfivetech.com; dmarc=pass action=none header.from=starfivetech.com; dkim=pass header.d=starfivetech.com; arc=none Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=starfivetech.com; Received: from BJSPR01MB0595.CHNPR01.prod.partner.outlook.cn (2406:e500:c211:e::20) by BJSPR01MB0755.CHNPR01.prod.partner.outlook.cn (2406:e500:c211:1c::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7135.32; Mon, 8 Jan 2024 07:58:28 +0000 Received: from BJSPR01MB0595.CHNPR01.prod.partner.outlook.cn ([fe80::aaac:167d:8e0d:3acb]) by BJSPR01MB0595.CHNPR01.prod.partner.outlook.cn ([fe80::aaac:167d:8e0d:3acb%5]) with mapi id 15.20.6933.032; Mon, 8 Jan 2024 07:58:28 +0000 From: Tan Chun Hau To: "David S . Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Rob Herring , Emil Renner Berthing , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Maxime Coquelin , Alexandre Torgue , Simon Horman , Bartosz Golaszewski , Andrew Halaney , Jisheng Zhang , =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= , Russell King Cc: Ley Foon Tan , Jee Heng Sia , netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org Subject: [PATCH 2/2] net: stmmac: Add StarFive JH8100 dwmac support Date: Sun, 7 Jan 2024 23:58:10 -0800 Message-Id: <20240108075810.14161-3-chunhau.tan@starfivetech.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240108075810.14161-1-chunhau.tan@starfivetech.com> References: <20240108075810.14161-1-chunhau.tan@starfivetech.com> X-ClientProxiedBy: ZQ0PR01CA0018.CHNPR01.prod.partner.outlook.cn (2406:e500:c550:5::15) To BJSPR01MB0595.CHNPR01.prod.partner.outlook.cn (2406:e500:c211:e::20) Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BJSPR01MB0595:EE_|BJSPR01MB0755:EE_ X-MS-Office365-Filtering-Correlation-Id: a94bdfaa-2dae-4b24-5a9b-08dc101f9958 X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: BMF4lN2zyFS7+TLxuueGctvRat5JaYDOop61a9ic+Zs6lhPaiu17O4tJ47ezNZHuYxblvVtpjpoR8/ebIn0ZJhqX3wWUNkp8EyiIM/AczeR1/WsaChnyuILi0QJEb3CQtZnd8mmcDAuLxXjmfSqncJdU6p00XLLYYi/JG0hbB6XmcTfldQqTCdX2UxAKD/Rl4nm8t45it/GOKx+Sdg5eukzgIhTxcnqYr5iD462fKSrcKJW0nPPnU17QI0dHTt7Qmk8MlHCMxOOvcCLNBkuRezjDKAuK95r1L8R8Dqe/8Uieh6uPPDoEwPFi3zmmmfoQdgnmEzCWhjTJd4KIO5Uhxdm8TKR/OMqKuPuPQDMZxZI+QE8kDfrnWNm399uijkqVMZm/DijJYOSuNF5hiBPmJUwRtrN5UCf1l2j/mtvY+WJEld7G87nfwhU03Y1Ciege9S9JLMB2zVbgSjkDnZiYWcyFGjZQwt5EOIMFGeivLnL31SUn1z5WBjaf400LGlfQmeAYiJo2O2rhMiaIQt6Yz4AKapJOLlWcLG9mK5lp4SIsPCJdExNnd8FbPKrqSua1LgPz7+bjwYn4vmiGwH5CHw== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:BJSPR01MB0595.CHNPR01.prod.partner.outlook.cn;PTR:;CAT:NONE;SFS:(13230031)(346002)(39830400003)(396003)(366004)(136003)(230922051799003)(451199024)(1800799012)(186009)(64100799003)(26005)(1076003)(2616005)(38100700002)(41300700001)(8676002)(8936002)(54906003)(110136005)(5660300002)(7416002)(2906002)(4744005)(4326008)(66476007)(6666004)(66556008)(52116002)(66946007)(921011)(508600001)(38350700005)(86362001)(40180700001)(40160700002)(36756003)(41320700001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: vdAg+F0Em9jokxoc4/Zme+K+McKdHUPbiFcpBbcnuPFMA1tnlUTu/jy+UiZ1vNBLhSX/ZXZArPZSv6puq6k+uJcKfCdJWa8CLJi1QfJxDdIfkUla4unSFqnzwRLbAsoFAGxidawUeN4wZW+2yE6K6UvAM5pEXY0ch52PwqLcabc/SM+E9GdtSLW8XbtybOotrn0hC7NsdSGWLqX3Y3UijNi5CMQc+l+Wob6aaMr3n9i0mkwW2xk5iWe+KjR7K51BcHWE42Jqrt4m117bq1gdq6OwVlCXMD8sX+sYO953kQ3R4kF4Fyl45Jn0f83Er5605ccOJbcihUD00jbqqydqOLQRmiRGe25no60xSJRdzhCGWQm+OD+JTBv3g3UAzk5P+JyShDymFc4/SBxaojTzNaRRW1Sc1MU3QowDgyZIYwiM4zyeX1DoyfzhdvtaHxIlfr5OJlF32Ymyd4gr6HwY3rGsudKJqyDPoOKh9RLmr9UX4ZjTolLr6FiKHygMk5cAupiQLAINV3wloD5GgydjGQ4MLNe9PQwN3DWCOq5N99NT4z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-MS-Exchange-CrossTenant-Network-Message-Id: a94bdfaa-2dae-4b24-5a9b-08dc101f9958 X-MS-Exchange-CrossTenant-AuthSource: BJSPR01MB0595.CHNPR01.prod.partner.outlook.cn X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Jan 2024 07:58:28.3533 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 06fe3fa3-1221-43d3-861b-5a4ee687a85c X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 0bHayFfxRGyTD/3d3II1JhLJ/P1eubIi8T0JWPFH4e4yjbzh56emBba0w+cSOjKyyhD9v4kpwbAS2vY9uMdjt1MQFL8sXsIPmXJQF+WWPmE= X-MS-Exchange-Transport-CrossTenantHeadersStamped: BJSPR01MB0755 X-Patchwork-Delegate: kuba@kernel.org Add JH8100 dwmac support. Signed-off-by: Tan Chun Hau --- drivers/net/ethernet/stmicro/stmmac/dwmac-starfive.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/ethernet/stmicro/stmmac/dwmac-starfive.c b/drivers/net/ethernet/stmicro/stmmac/dwmac-starfive.c index 5d630affb4d1..373714f6e382 100644 --- a/drivers/net/ethernet/stmicro/stmmac/dwmac-starfive.c +++ b/drivers/net/ethernet/stmicro/stmmac/dwmac-starfive.c @@ -146,6 +146,7 @@ static int starfive_dwmac_probe(struct platform_device *pdev) static const struct of_device_id starfive_dwmac_match[] = { { .compatible = "starfive,jh7110-dwmac" }, + { .compatible = "starfive,jh8100-dwmac" }, { /* sentinel */ } }; MODULE_DEVICE_TABLE(of, starfive_dwmac_match);