From patchwork Tue Sep 23 03:39:02 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: srv_hongzhou.yang@mediatek.com X-Patchwork-Id: 37711 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wi0-f197.google.com (mail-wi0-f197.google.com [209.85.212.197]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 2DFF320C03 for ; Tue, 23 Sep 2014 03:41:32 +0000 (UTC) Received: by mail-wi0-f197.google.com with SMTP id ho1sf2075355wib.8 for ; Mon, 22 Sep 2014 20:41:31 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:subject:date:message-id :in-reply-to:references:mime-version:cc:precedence:list-id :list-unsubscribe:list-archive:list-post:list-help:list-subscribe :sender:errors-to:x-original-sender :x-original-authentication-results:mailing-list:content-type :content-transfer-encoding; bh=tObw4V3Y+PPtlWtYrp3/oBuZaKCz3dwMXzfh6yvG9ng=; b=AjKGVn1N0jJbfj2Zgbo82vvalhLoCJ51lM2dToo6berOhSyc+4EXma2dUdQhyy+YHs WUmTpj/U1mE+f5Te6e8TAEbLDq3lKH9dldzHbdF+DcCgjzGWOlcp1Z7PrNFAC4mzl/hK ATY1d0MNsI+HjebkijYVE4l4w62l0/UVrfxa0ZU0Y9yQSPXPSg/ZPPBe5BYfehWuaZzS 3QU50LNGR5kmhcoew4pS2fG2booV6XTmCvDxQFWBXaxalXMuA2vOMjcXnMJI4/AfDvNq jx5CwoqyGA6pGAdVa73jpgbX8ODCUFS0ZA0rA+rQksbvHhuVgxuxAORaTxLMGkQvwRUg 6Ztw== X-Gm-Message-State: ALoCoQkeu36Ee09DX57rlwL0ulrU4Kqll2rqUfBhyeClze0lufHqwB7LsI3HZvoAGSFwRMQbCCA9 X-Received: by 10.112.118.8 with SMTP id ki8mr5087778lbb.4.1411443691275; Mon, 22 Sep 2014 20:41:31 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.234.40 with SMTP id ub8ls594613lac.70.gmail; Mon, 22 Sep 2014 20:41:31 -0700 (PDT) X-Received: by 10.152.5.40 with SMTP id p8mr30176406lap.32.1411443691039; Mon, 22 Sep 2014 20:41:31 -0700 (PDT) Received: from mail-lb0-f171.google.com (mail-lb0-f171.google.com [209.85.217.171]) by mx.google.com with ESMTPS id je6si16711270lbc.139.2014.09.22.20.41.31 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 22 Sep 2014 20:41:31 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.171 as permitted sender) client-ip=209.85.217.171; Received: by mail-lb0-f171.google.com with SMTP id l4so7969901lbv.16 for ; Mon, 22 Sep 2014 20:41:31 -0700 (PDT) X-Received: by 10.112.89.68 with SMTP id bm4mr6366096lbb.90.1411443690971; Mon, 22 Sep 2014 20:41:30 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.130.169 with SMTP id of9csp346433lbb; Mon, 22 Sep 2014 20:41:30 -0700 (PDT) X-Received: by 10.70.130.195 with SMTP id og3mr37169851pdb.59.1411443689400; Mon, 22 Sep 2014 20:41:29 -0700 (PDT) Received: from bombadil.infradead.org (bombadil.infradead.org. [2001:1868:205::9]) by mx.google.com with ESMTPS id fk1si18331365pab.127.2014.09.22.20.41.28 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 22 Sep 2014 20:41:29 -0700 (PDT) Received-SPF: none (google.com: linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org does not designate permitted sender hosts) client-ip=2001:1868:205::9; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1XWGxP-0002kx-6j; Tue, 23 Sep 2014 03:40:03 +0000 Received: from [210.61.82.184] (helo=mailgw02.mediatek.com) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1XWGxK-0002Te-HG for linux-arm-kernel@lists.infradead.org; Tue, 23 Sep 2014 03:39:59 +0000 X-Listener-Flag: 11101 Received: from mtkhts09.mediatek.inc [(172.21.101.70)] by mailgw02.mediatek.com (envelope-from ) (mhqrelay.mediatek.com ESMTP with TLS) with ESMTP id 1595565660; Tue, 23 Sep 2014 11:39:30 +0800 Received: from localhost.localdomain (10.17.3.153) by mtkhts09.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 14.3.181.6; Tue, 23 Sep 2014 11:39:30 +0800 From: Hongzhou.Yang To: Rob Herring , Linus Walleij , Matthias Brugger Subject: [PATCH v2 1/4] arm: mediatek: Add config option for mediatek SoCs. Date: Tue, 23 Sep 2014 11:39:02 +0800 Message-ID: <1411443545-24951-2-git-send-email-srv_hongzhou.yang@mediatek.com> X-Mailer: git-send-email 1.8.1.1.dirty In-Reply-To: <1411443545-24951-1-git-send-email-srv_hongzhou.yang@mediatek.com> References: <1411443545-24951-1-git-send-email-srv_hongzhou.yang@mediatek.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140922_203958_783118_8645C9DE X-CRM114-Status: UNSURE ( 7.90 ) X-CRM114-Notice: Please train this message. X-Spam-Score: 1.3 (+) X-Spam-Report: SpamAssassin version 3.4.0 on bombadil.infradead.org summary: Content analysis details: (1.3 points) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 UNPARSEABLE_RELAY Informational: message has unparseable relay lines 1.3 RDNS_NONE Delivered to internal network by a host with no rDNS Cc: Mark Rutland , devicetree@vger.kernel.org, Vladimir Murzin , Russell King , srv_heupstream@mediatek.com, Pawel Moll , Ian Campbell , Hongzhou Yang , Catalin Marinas , linux-kernel@vger.kernel.org, Ashwin Chaugule , Sascha Hauer , Kumar Gala , Grant Likely , "Joe.C" , dandan.he@mediatek.com, linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: , List-Help: , List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: patch@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.171 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 From: "Joe.C" Add config options for ARCH_MT6589, ARCH_MT8127, ARCH_MT8135. This allow drivers to isolate support base on these options. Signed-off-by: Joe.C --- arch/arm/mach-mediatek/Kconfig | 22 +++++++++++++++++++--- 1 file changed, 19 insertions(+), 3 deletions(-) diff --git a/arch/arm/mach-mediatek/Kconfig b/arch/arm/mach-mediatek/Kconfig index 2c043a2..25fe6cf 100644 --- a/arch/arm/mach-mediatek/Kconfig +++ b/arch/arm/mach-mediatek/Kconfig @@ -1,6 +1,22 @@ -config ARCH_MEDIATEK - bool "Mediatek MT6589 SoC" if ARCH_MULTI_V7 +menuconfig ARCH_MEDIATEK + bool "Mediatek MT65xx & MT81xx SoC" if ARCH_MULTI_V7 select ARM_GIC select MTK_TIMER help - Support for Mediatek Cortex-A7 Quad-Core-SoC MT6589. + Support for Mediatek MT65xx & MT81xx SoCs + +if ARCH_MEDIATEK + +config MACH_MT6589 + bool "MediaTek MT6589 SoCs support" + default ARCH_MEDIATEK + +config MACH_MT8127 + bool "MediaTek MT8127 SoCs support" + default ARCH_MEDIATEK + +config MACH_MT8135 + bool "MediaTek MT8135 SoCs support" + default ARCH_MEDIATEK + +endif