Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp4227640imu; Mon, 28 Jan 2019 20:33:20 -0800 (PST) X-Google-Smtp-Source: ALg8bN6G/gAePHSP/uVxEVcb+nyq7BhF0IyFTgCjL5lWaoTx9j+lQcXHZ22a3eJ02O7Ns5srzSen X-Received: by 2002:a63:4c5:: with SMTP id 188mr22526638pge.391.1548736400041; Mon, 28 Jan 2019 20:33:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548736400; cv=none; d=google.com; s=arc-20160816; b=rkllXHpkfDqXepJmyPXJgnvr0TGH6+tIdOO3oR2kabsAgFopoK2YWRKoklvjN2k2jC ZZ4zBVdMU1qDK4sG+2gCCNb/sQN/uLSwR9lBOejCGultwLP4oZnvvbv3iU82M1COhIio 7tLY9FkgpLWa0miKbR0Oeduv/FpRBzz/R6DXNFNArjCqtvcEWpMnIcQpIf7gbe2UzGol teSXiauS7SQ96cC4BI55Fu2JDDziO74hVZShKFb8awJIfCxPYTvhiXXPOh72te0NNc3q Yv2kfFWHgwA/iadva4Rvd48MwezzsME91+La/ig2Z4skUNaGgxYp6A0jrXzTI59pzbEb NzPQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from; bh=fllvQH3WoYyFM0s+O2NEi2ugI1KzVpkA9s8JH1PvSl0=; b=VMTC8zMc6oHGRsJYTYee4Nom1TBI3x7VG9JEA7pJtq3Ugqq3o25IZAJmlFt8o7VJYC SCb0wd4SpRu2qROPX003C+r4lVNzYekXKwQwGYh9wJZrI3j7oJ46lRqhMOi8eDPUvgFu gNfDHhq7g+1APxXwW5SQsrGToYE82shu+vSjTydjNKHEJhTWmNkpneBaRVBPJR7jv/XW STuUBLHf1Ob+k/cj4jveoquY0o6hgdMWNvx92UGnM+7K1K0QiLnBMD33f6SI+xAaUnqm lm1jhZnlyY1nxlWF8dGP7d3Sh3OgLjHAHxPKmBaB7h6R7aa2i1zWkAXlhXKGshBq6Nds fmzA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f186si27823612pfb.67.2019.01.28.20.33.04; Mon, 28 Jan 2019 20:33:20 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727565AbfA2Eb4 (ORCPT + 99 others); Mon, 28 Jan 2019 23:31:56 -0500 Received: from mailgw02.mediatek.com ([210.61.82.184]:32403 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726843AbfA2Ebm (ORCPT ); Mon, 28 Jan 2019 23:31:42 -0500 X-UUID: 73fa01d79fa84aa4bdd4b92c19170f29-20190129 X-UUID: 73fa01d79fa84aa4bdd4b92c19170f29-20190129 Received: from mtkexhb01.mediatek.inc [(172.21.101.102)] by mailgw02.mediatek.com (envelope-from ) (mhqrelay.mediatek.com ESMTP with TLS) with ESMTP id 1894254660; Tue, 29 Jan 2019 12:31:35 +0800 Received: from MTKCAS06.mediatek.inc (172.21.101.30) by mtkmbs08n2.mediatek.inc (172.21.101.56) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Tue, 29 Jan 2019 12:31:31 +0800 Received: from mtkslt306.mediatek.inc (10.21.14.136) by MTKCAS06.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1395.4 via Frontend Transport; Tue, 29 Jan 2019 12:31:25 +0800 From: Ryder Lee To: Matthias Brugger CC: Rob Herring , Sean Wang , Weijie Gao , Roy Luo , , , , , Ryder Lee Subject: [PATCH 6/7] arm: mediatek: add MT7629 smp bring up code Date: Tue, 29 Jan 2019 12:31:18 +0800 Message-ID: <06cca198146e5583690e5cb6c838c4603c9fa821.1548735271.git.ryder.lee@mediatek.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain X-TM-SNTS-SMTP: B3DC663BA907D33B51CD10F75716625E4468777B0656CF01673D1D925CEE93352000:8 X-MTK: N Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add support for booting secondary CPUs on MT7629. Signed-off-by: Ryder Lee --- arch/arm/mach-mediatek/Kconfig | 4 ++++ arch/arm/mach-mediatek/mediatek.c | 1 + arch/arm/mach-mediatek/platsmp.c | 1 + 3 files changed, 6 insertions(+) diff --git a/arch/arm/mach-mediatek/Kconfig b/arch/arm/mach-mediatek/Kconfig index 91cc461..11ed264 100644 --- a/arch/arm/mach-mediatek/Kconfig +++ b/arch/arm/mach-mediatek/Kconfig @@ -26,6 +26,10 @@ config MACH_MT7623 bool "MediaTek MT7623 SoCs support" default ARCH_MEDIATEK +config MACH_MT7629 + bool "MediaTek MT7629 SoCs support" + default ARCH_MEDIATEK + config MACH_MT8127 bool "MediaTek MT8127 SoCs support" default ARCH_MEDIATEK diff --git a/arch/arm/mach-mediatek/mediatek.c b/arch/arm/mach-mediatek/mediatek.c index c3cf215..b6a81ba 100644 --- a/arch/arm/mach-mediatek/mediatek.c +++ b/arch/arm/mach-mediatek/mediatek.c @@ -49,6 +49,7 @@ static void __init mediatek_timer_init(void) "mediatek,mt6589", "mediatek,mt6592", "mediatek,mt7623", + "mediatek,mt7629", "mediatek,mt8127", "mediatek,mt8135", NULL, diff --git a/arch/arm/mach-mediatek/platsmp.c b/arch/arm/mach-mediatek/platsmp.c index 51e8556..c9d7c04 100644 --- a/arch/arm/mach-mediatek/platsmp.c +++ b/arch/arm/mach-mediatek/platsmp.c @@ -60,6 +60,7 @@ struct mtk_smp_boot_info { static const struct of_device_id mtk_smp_boot_infos[] __initconst = { { .compatible = "mediatek,mt6589", .data = &mtk_mt6589_boot }, { .compatible = "mediatek,mt7623", .data = &mtk_mt7623_boot }, + { .compatible = "mediatek,mt7629", .data = &mtk_mt7623_boot }, {}, }; -- 1.9.1