From: Joe.C <yingjoe.chen@mediatek.com>
To: Rob Herring <robh+dt@kernel.org>,
arm@kernel.org, Matthias Brugger <matthias.bgg@gmail.com>
Cc: Mark Rutland <mark.rutland@arm.com>,
devicetree@vger.kernel.org, Russell King <linux@arm.linux.org.uk>,
srv_heupstream@mediatek.com, Pawel Moll <pawel.moll@arm.com>,
Ian Campbell <ijc+devicetree@hellion.org.uk>,
hc.yen@mediatek.com, yh.chen@mediatek.com,
linux-kernel@vger.kernel.org, nathan.chung@mediatek.com,
Sascha Hauer <kernel@pengutronix.de>,
Kumar Gala <galak@codeaurora.org>,
Olof Johansson <olof@lixom.net>,
"Joe.C" <yingjoe.chen@mediatek.com>,
eddie.huang@mediatek.com, yingjoe.chen@gmail.com,
linux-arm-kernel@lists.infradead.org
Subject: [PATCH v4 8/8] ARM: mediatek: Add config option for mediatek SoCs.
Date: Wed, 22 Oct 2014 18:29:57 +0800 [thread overview]
Message-ID: <1413973797-17619-9-git-send-email-yingjoe.chen@mediatek.com> (raw)
In-Reply-To: <1413973797-17619-1-git-send-email-yingjoe.chen@mediatek.com>
From: "Joe.C" <yingjoe.chen@mediatek.com>
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 <yingjoe.chen@mediatek.com>
---
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
--
1.8.1.1.dirty
next prev parent reply other threads:[~2014-10-22 10:29 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-22 10:29 [PATCH v4 0/8] arm: Add basic support for MediaTek MT8127 & MT8135 SoCs Joe.C
2014-10-22 10:29 ` [PATCH v4 1/8] ARM: mediatek: Add basic support for mt8127 Joe.C
[not found] ` <1413973797-17619-2-git-send-email-yingjoe.chen-NuS5LvNUpcJWk0Htik3J/w@public.gmane.org>
2014-11-03 17:53 ` Matthias Brugger
2014-11-04 6:36 ` HC Yen
2014-11-04 7:39 ` Arnd Bergmann
2014-11-04 8:36 ` Matthias Brugger
[not found] ` <CABuKBeL1JX88BBK7uXqpmaGzwCe5D6inB_n-NV6ajUt59V1swA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-11-04 9:45 ` Arnd Bergmann
2014-10-22 10:29 ` [PATCH v4 2/8] ARM: mediatek: add dts for 8127 Moose board Joe.C
2014-11-03 17:55 ` Matthias Brugger
[not found] ` <CABuKBe+ku=vWiWbvAm8M7QgyzvVWZ5sdkRMocuUym8JTyk-okg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-11-04 5:44 ` Yingjoe Chen
2014-10-22 10:29 ` [PATCH v4 3/8] ARM: mediatek: Add basic support for mt8135 Joe.C
2014-11-03 17:58 ` Matthias Brugger
2014-10-22 10:29 ` [PATCH v4 4/8] ARM: mediatek: add dts for MT8135 evaluation board Joe.C
2014-11-03 17:58 ` Matthias Brugger
2014-10-22 10:29 ` [PATCH v4 5/8] dt-bindings: add more chips in documentation for Mediatek SoC Joe.C
2014-10-22 10:29 ` [PATCH v4 6/8] ARM: dts: Build dtb for mt8127 & mt8135 Joe.C
2014-10-22 10:29 ` [PATCH v4 7/8] ARM: mediatek: Add earlyprintk support " Joe.C
2014-10-22 10:29 ` Joe.C [this message]
2014-10-22 13:18 ` [PATCH v4 8/8] ARM: mediatek: Add config option for mediatek SoCs Matthias Brugger
2014-10-22 13:31 ` Yingjoe Chen
2014-10-22 13:53 ` Matthias Brugger
2014-10-22 14:19 ` Yingjoe Chen
[not found] ` <CABuKBeLJuaDnCYuvvS6csNzvbTeEdgEUdZ4tBQeVPuw37JK11Q-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-10-24 5:37 ` [PATCH v4 8/8] ARM: mediatek: Fix description " Yingjoe Chen
2014-10-31 1:37 ` Yingjoe Chen
2014-10-31 14:53 ` Matthias Brugger
[not found] ` <CABuKBeKFZQAHPR4xjCnM+nz67zE79rWPTHbc=m3VKcCX54Q8rQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-11-03 17:51 ` Matthias Brugger
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1413973797-17619-9-git-send-email-yingjoe.chen@mediatek.com \
--to=yingjoe.chen@mediatek.com \
--cc=arm@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=eddie.huang@mediatek.com \
--cc=galak@codeaurora.org \
--cc=hc.yen@mediatek.com \
--cc=ijc+devicetree@hellion.org.uk \
--cc=kernel@pengutronix.de \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@arm.linux.org.uk \
--cc=mark.rutland@arm.com \
--cc=matthias.bgg@gmail.com \
--cc=nathan.chung@mediatek.com \
--cc=olof@lixom.net \
--cc=pawel.moll@arm.com \
--cc=robh+dt@kernel.org \
--cc=srv_heupstream@mediatek.com \
--cc=yh.chen@mediatek.com \
--cc=yingjoe.chen@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).