From patchwork Wed Oct 22 10:29:57 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yingjoe Chen X-Patchwork-Id: 39269 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wi0-f199.google.com (mail-wi0-f199.google.com [209.85.212.199]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 80FEC20341 for ; Wed, 22 Oct 2014 10:34:14 +0000 (UTC) Received: by mail-wi0-f199.google.com with SMTP id d1sf474691wiv.10 for ; Wed, 22 Oct 2014 03:34:13 -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=RdJ877CmAIyoZEB2RITdeEuFHlr7r9B2NNbgC0OXRT0=; b=Rk/BAdwa4Xg2m1c4zIzYRu99/lO7rI9eYMjk3xwPScpd1SnGqcqApp0fNkfWYL7Z2F PErfdcvH4L4ajQ5Lw2BKXKQ2xeR4fj/0m8DL/HdHwwC7FYM303v57IhHGE9Htol2rDzI 9Y4G1d8A/mOFWGoqAxNBHbTQa4V56tiejmtFLmAHyXwKOdzb4U9OxMI19/Y+M0P9Sla9 J1wcA0j5JNdx6eZ0LSDs9xqqUbs07+qsR/3eOaqEeM9Sq1qPSPEdkwrA+j3IP4xekgl3 r7PpDPHtdZC/fEZJM4aJwiVQU1++biBPdAzm4gmncS99Qgsy57jJbNyu2pYdTSWH7q9V bU3A== X-Gm-Message-State: ALoCoQmCTrLKWRLFUC3wuTxdwD7gzYZSOSIT3savIWg7hdKniwK0RGAV7fKiDfD4mT+ER0pB6d67 X-Received: by 10.180.98.165 with SMTP id ej5mr5508854wib.1.1413974053722; Wed, 22 Oct 2014 03:34:13 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.28.133 with SMTP id b5ls162764lah.26.gmail; Wed, 22 Oct 2014 03:34:13 -0700 (PDT) X-Received: by 10.112.125.33 with SMTP id mn1mr1897082lbb.99.1413974053564; Wed, 22 Oct 2014 03:34:13 -0700 (PDT) Received: from mail-lb0-f177.google.com (mail-lb0-f177.google.com. [209.85.217.177]) by mx.google.com with ESMTPS id lk6si4491479lac.74.2014.10.22.03.34.13 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 22 Oct 2014 03:34:13 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.177 as permitted sender) client-ip=209.85.217.177; Received: by mail-lb0-f177.google.com with SMTP id w7so2537780lbi.22 for ; Wed, 22 Oct 2014 03:34:13 -0700 (PDT) X-Received: by 10.112.189.10 with SMTP id ge10mr40409689lbc.23.1413974053484; Wed, 22 Oct 2014 03:34:13 -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.84.229 with SMTP id c5csp45560lbz; Wed, 22 Oct 2014 03:34:12 -0700 (PDT) X-Received: by 10.70.49.68 with SMTP id s4mr42122687pdn.6.1413974051993; Wed, 22 Oct 2014 03:34:11 -0700 (PDT) Received: from bombadil.infradead.org (bombadil.infradead.org. [2001:1868:205::9]) by mx.google.com with ESMTPS id zd3si13914615pac.54.2014.10.22.03.34.11 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 22 Oct 2014 03:34:11 -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 1XgtDg-0001IU-Rb; Wed, 22 Oct 2014 10:32:44 +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 1XgtCN-0000Ov-8R for linux-arm-kernel@lists.infradead.org; Wed, 22 Oct 2014 10:31:24 +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 1741642302; Wed, 22 Oct 2014 18:30:58 +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; Wed, 22 Oct 2014 18:30:43 +0800 From: Joe.C To: Rob Herring , , Matthias Brugger Subject: [PATCH v4 8/8] ARM: mediatek: Add config option for mediatek SoCs. Date: Wed, 22 Oct 2014 18:29:57 +0800 Message-ID: <1413973797-17619-9-git-send-email-yingjoe.chen@mediatek.com> X-Mailer: git-send-email 1.8.1.1.dirty In-Reply-To: <1413973797-17619-1-git-send-email-yingjoe.chen@mediatek.com> References: <1413973797-17619-1-git-send-email-yingjoe.chen@mediatek.com> MIME-Version: 1.0 X-MTK: N X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20141022_033123_566264_28F1F47B X-CRM114-Status: UNSURE ( 7.57 ) 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, Russell King , srv_heupstream@mediatek.com, Pawel Moll , Ian Campbell , hc.yen@mediatek.com, yh.chen@mediatek.com, linux-kernel@vger.kernel.org, nathan.chung@mediatek.com, Sascha Hauer , Kumar Gala , Olof Johansson , "Joe.C" , eddie.huang@mediatek.com, yingjoe.chen@gmail.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: yingjoe.chen@mediatek.com 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.177 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. The upcoming pinctrl, clk drivers need to isolate SoCs 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