From patchwork Thu Sep 28 03:44:26 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Macpaul Lin X-Patchwork-Id: 146089 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:cae8:0:b0:403:3b70:6f57 with SMTP id r8csp3284976vqu; Thu, 28 Sep 2023 05:48:13 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFKytaLAsm2t7bMv1OMt+CZqA6ew/JgEbsEPw1y7P5Stv60ZFw4PF+7s4U/Ya5NbuxbRldb X-Received: by 2002:a05:6830:10d3:b0:6b9:a6ef:2709 with SMTP id z19-20020a05683010d300b006b9a6ef2709mr1258978oto.8.1695905293690; Thu, 28 Sep 2023 05:48:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695905293; cv=none; d=google.com; s=arc-20160816; b=zCWMS+b/3vlKpMkVfr6/IlxAP195/eizacdyFH3vm2bUGL9nPFpYCNLgC/BROn8YiD DHUvbYnBtVmqoJ285qKLX27PnCz+AZp49nc+axbSjPZ7QWQiA+C01uAspHFM4i1K9yhh 4xPS7oDVA2Sluns3aznne7CfWVUUjNvUv/pJUPMf3F9j67SgWdfX+JfJyeT7ZLtm3daS QgWYQsHp8Gt+P/SNIWNblfQkjuf0gVdnIOo8IHPzo2CyjKT7YIPe1H0fEk+RTWwliXjR e0J/ge8TdduavCIQYXhfyWmKpWujTGvTcYZh57pFE3qizYjkDSmxBqRnbxBvgbANp1AA njhw== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=ETV3uvY2t5pyG7tSx2oNrbQ48yrl0EaNtIVGqfBrfsU=; fh=BVCF2gRY4ox/hqlsl78V6Z9JcWfpkzNXZl2Y8hbfp1M=; b=XU2GYNxE02Sej7wKcaxxBr3z5Alkpi61sOvNg2tAlRpZd54F04LjCTfUWb2mXRD8Rk tL7fKmh9YLJGniNe/IqFFl10Oc/dkAIQbVny4jwdMhpAF8a4MXqbsWRx4r4VTGVjaoVW TNivO74PmmnZeihCMim9hx9mebf42FOB3ue9/ITCGPcw+66CrGc6lYwyrmYRSJwu6iQ5 h5OgOkg6HcKOuzaAl9Z4uv3ggRQ7dzglJw5326o6Obn5ftTEB+U+0wkL02Tu3g4iV5Mm d1VrTEssEPX8NZ2WmuyCxHhff2hwi3CVKcQ4c65/N1TU7gsmpZObB61tFqiSu1rGCyBQ X1NA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=MH2NSEAm; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=mediatek.com Received: from howler.vger.email (howler.vger.email. [23.128.96.34]) by mx.google.com with ESMTPS id t41-20020a056a0013a900b0068fbf6ba315si19770425pfg.233.2023.09.28.05.48.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Sep 2023 05:48:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) client-ip=23.128.96.34; Authentication-Results: mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=MH2NSEAm; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=mediatek.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id 6D43C8215AF9; Wed, 27 Sep 2023 20:45:00 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230017AbjI1Doy (ORCPT + 20 others); Wed, 27 Sep 2023 23:44:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41684 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229445AbjI1Dow (ORCPT ); Wed, 27 Sep 2023 23:44:52 -0400 Received: from mailgw01.mediatek.com (unknown [60.244.123.138]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8178B8F for ; Wed, 27 Sep 2023 20:44:50 -0700 (PDT) X-UUID: 5ab0c8285db111eea33bb35ae8d461a2-20230928 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Type:Content-Transfer-Encoding:MIME-Version:Message-ID:Date:Subject:CC:To:From; bh=ETV3uvY2t5pyG7tSx2oNrbQ48yrl0EaNtIVGqfBrfsU=; b=MH2NSEAm4ixrXMrBOxOG8N3+xG5/a+oHhEVKQVOHpWrmtE/5T953phRc/Z6ZbSkmV1iPUtXK0f4jcvJG8/k7zd3jk4zi6Ryp3kpvmtppvXcGQyy5S5JC+BOQqluqczyLo8/J4kmuuI32/PETCXwJW7yWvcc1edkicgeu++LqWi0=; X-CID-P-RULE: Release_Ham X-CID-O-INFO: VERSION:1.1.32,REQID:20754fec-478c-4862-808b-f3ab0537ad69,IP:0,U RL:0,TC:0,Content:-5,EDM:0,RT:0,SF:0,FILE:0,BULK:0,RULE:Release_Ham,ACTION :release,TS:-5 X-CID-META: VersionHash:5f78ec9,CLOUDID:99ad5cbf-14cc-44ca-b657-2d2783296e72,B ulkID:nil,BulkQuantity:0,Recheck:0,SF:102,TC:nil,Content:0,EDM:-3,IP:nil,U RL:0,File:nil,Bulk:nil,QS:nil,BEC:nil,COL:0,OSI:0,OSA:0,AV:0,LES:1,SPR:NO, DKR:0,DKP:0,BRR:0,BRE:0 X-CID-BVR: 0 X-CID-BAS: 0,_,0,_ X-CID-FACTOR: TF_CID_SPAM_SNR X-UUID: 5ab0c8285db111eea33bb35ae8d461a2-20230928 Received: from mtkmbs14n1.mediatek.inc [(172.21.101.75)] by mailgw01.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384 256/256) with ESMTP id 348955150; Thu, 28 Sep 2023 11:44:40 +0800 Received: from mtkmbs13n1.mediatek.inc (172.21.101.193) by MTKMBS14N1.mediatek.inc (172.21.101.75) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.26; Thu, 28 Sep 2023 11:44:39 +0800 Received: from mtksdccf07.mediatek.inc (172.21.84.99) by mtkmbs13n1.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.2.1118.26 via Frontend Transport; Thu, 28 Sep 2023 11:44:39 +0800 From: Macpaul Lin To: Catalin Marinas , Will Deacon , Matthias Brugger , AngeloGioacchino Del Regno , Bjorn Andersson , Arnd Bergmann , Konrad Dybcio , Krzysztof Kozlowski , Geert Uytterhoeven CC: Bear Wang , Pablo Sun , Macpaul Lin , Macpaul Lin , , , , Subject: [PATCH] arm64: defconfig: Enable DWMAC_MEDIATEK ethernet driver Date: Thu, 28 Sep 2023 11:44:26 +0800 Message-ID: <20230928034426.7986-1-macpaul.lin@mediatek.com> X-Mailer: git-send-email 2.18.0 MIME-Version: 1.0 X-TM-AS-Product-Ver: SMEX-14.0.0.3152-9.1.1006-23728.005 X-TM-AS-Result: No-10--0.515800-8.000000 X-TMASE-MatchedRID: dO/0Gy3rD8+AaBshbPhdTKDH6drx3JPVUXlp1FHYSPVAtKM3hDDAfOgV 4TkxLE0x4vM1YF6AJbZhyT3WNjppUtAtbEEX0MxBxEHRux+uk8ifEzJ5hPndGcTghlcjDXgaCCx 3Gz4FSGemAlgtRNFEVK0UCCzrhBFBWTPqSw1gK9njjifHWVOUs7QIU7HipiFstJlrp3uGY5XGrs I39HQMTRz+PhojlLUuev0YPTN868QBqq+/+aGCsQhzL04Or2eZVlxr1FJij9s= X-TM-AS-User-Approved-Sender: No X-TM-AS-User-Blocked-Sender: No X-TMASE-Result: 10--0.515800-8.000000 X-TMASE-Version: SMEX-14.0.0.3152-9.1.1006-23728.005 X-TM-SNTS-SMTP: 7C1EEF146B8EF846653D289A72CD884228CD8586E3393B18D6E0AB1D78BC9AEB2000:8 X-MTK: N X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_PASS,SPF_PASS,UNPARSEABLE_RELAY 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-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Wed, 27 Sep 2023 20:45:00 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1778285589142493343 X-GMAIL-MSGID: 1778285589142493343 Enable DWMAC_MEDIATEK ethernet driver to be built as a module. This controller is available for MT8195, MT8188, MT8395, and MT8390 SOCs. Signed-off-by: Macpaul Lin --- arch/arm64/configs/defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index a25d783dfb95..76105021b854 100644 --- a/arch/arm64/configs/defconfig +++ b/arch/arm64/configs/defconfig @@ -361,6 +361,7 @@ CONFIG_SMSC911X=y CONFIG_SNI_AVE=y CONFIG_SNI_NETSEC=y CONFIG_STMMAC_ETH=m +CONFIG_DWMAC_MEDIATEK=m CONFIG_DWMAC_TEGRA=m CONFIG_TI_K3_AM65_CPSW_NUSS=y CONFIG_QCOM_IPA=m