From patchwork Fri Sep 19 12:52:35 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Joe.C" X-Patchwork-Id: 37639 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-la0-f72.google.com (mail-la0-f72.google.com [209.85.215.72]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 1233720293 for ; Fri, 19 Sep 2014 12:54:54 +0000 (UTC) Received: by mail-la0-f72.google.com with SMTP id gi9sf1554100lab.7 for ; Fri, 19 Sep 2014 05:54:53 -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 :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=/yO+aJ2NC3zXqKKrg1uqNupQ4t7L6oNUBypp0vsI33Y=; b=EEwbPlbgLYP5yqTMCGwA6qsl0IIwUDNBLMy5nWmHQu19o3lDSrUWmvpMycYQU1+ccy AhbfE1c8yMcLG2zU56ml1wEqCDaHBarxY3P0xjAs4C8cse8n0JoE7jAd49OZlKK/tm44 JwbANGxlwaS21fM6BpFufjR22SYAnFsL2dJAyx7yNHQd7NsX1Fz3cy48Nlirxk8n1/M/ aSuI/rf5740ul6cxzL+GFaNELB8GnbNedBI0XFuA93QURHeWOA/Dsm/JgPlDLeW51L1Z PwgkFZCgXTUbPI7BGFzt8+vZ+PPutqnwKKDYr+NUFd+Z/y5akmXlqQImLIYwsTLzm67n qrFw== X-Gm-Message-State: ALoCoQlvRkT1tZr35dswwujG3XPEWGL1aECIU7wb/4Q00PFHeqx7bwfsIkReePa1MzDlp6L4Gvjm X-Received: by 10.112.151.3 with SMTP id um3mr107750lbb.15.1411131293915; Fri, 19 Sep 2014 05:54:53 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.28.199 with SMTP id d7ls356693lah.79.gmail; Fri, 19 Sep 2014 05:54:53 -0700 (PDT) X-Received: by 10.152.30.100 with SMTP id r4mr6349359lah.87.1411131293715; Fri, 19 Sep 2014 05:54:53 -0700 (PDT) Received: from mail-la0-f45.google.com (mail-la0-f45.google.com [209.85.215.45]) by mx.google.com with ESMTPS id l3si2399640laf.115.2014.09.19.05.54.53 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 19 Sep 2014 05:54:53 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.45 as permitted sender) client-ip=209.85.215.45; Received: by mail-la0-f45.google.com with SMTP id b17so3072614lan.4 for ; Fri, 19 Sep 2014 05:54:53 -0700 (PDT) X-Received: by 10.152.5.168 with SMTP id t8mr6418548lat.67.1411131293396; Fri, 19 Sep 2014 05:54:53 -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 of9csp926377lbb; Fri, 19 Sep 2014 05:54:52 -0700 (PDT) X-Received: by 10.68.135.2 with SMTP id po2mr474557pbb.6.1411131291882; Fri, 19 Sep 2014 05:54:51 -0700 (PDT) Received: from bombadil.infradead.org (bombadil.infradead.org. [2001:1868:205::9]) by mx.google.com with ESMTPS id jx4si2830257pad.119.2014.09.19.05.54.51 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 19 Sep 2014 05:54:51 -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 1XUxgg-0007Ho-31; Fri, 19 Sep 2014 12:53:22 +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 1XUxgc-0007Ad-QF for linux-arm-kernel@lists.infradead.org; Fri, 19 Sep 2014 12:53:19 +0000 X-Listener-Flag: 11101 Received: from mtkhts07.mediatek.inc [(172.21.101.69)] by mailgw02.mediatek.com (envelope-from ) (mhqrelay.mediatek.com ESMTP with TLS) with ESMTP id 707730558; Fri, 19 Sep 2014 20:52:50 +0800 Received: from mtksdtcf02.mediatek.inc (10.21.12.142) by mtkhts07.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 14.3.181.6; Fri, 19 Sep 2014 20:52:44 +0800 From: Joe.C To: Linus Walleij , Matthias Brugger Subject: [PATCH 1/4] arm: mediatek: Add config option for mediatek SoCs. Date: Fri, 19 Sep 2014 20:52:35 +0800 Message-ID: <1411131158-16549-1-git-send-email-srv_yingjoe.chen@mediatek.com> X-Mailer: git-send-email 1.8.1.1.dirty MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140919_055319_056719_140CA112 X-CRM114-Status: UNSURE ( 6.94 ) 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 ---- ---------------------- -------------------------------------------------- 1.3 RDNS_NONE Delivered to internal network by a host with no rDNS 0.0 UNPARSEABLE_RELAY Informational: message has unparseable relay lines Cc: Mark Rutland , Catalin Marinas , Russell King , Pawel Moll , Hongzhou Yang , yh.chen@mediatek.com, nathan.chung@mediatek.com, Grant Likely , yingjoe.chen@mediatek.com, devicetree@vger.kernel.org, Vladimir Murzin , yingjoe.chen@gmail.com, Ian Campbell , Rob Herring , eddie.huang@mediatek.com, linux-arm-kernel@lists.infradead.org, srv_heupstream@mediatek.com, hc.yen@mediatek.com, linux-kernel@vger.kernel.org, Ashwin Chaugule , Sascha Hauer , Kumar Gala 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.215.45 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. Change-Id: I120d9151941716949425979c99c11ed8996bf968 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