From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751188AbbAVMyS (ORCPT ); Thu, 22 Jan 2015 07:54:18 -0500 Received: from mail-lb0-f172.google.com ([209.85.217.172]:57665 "EHLO mail-lb0-f172.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750916AbbAVMyO (ORCPT ); Thu, 22 Jan 2015 07:54:14 -0500 MIME-Version: 1.0 In-Reply-To: <1421818097-9281-2-git-send-email-hongzhou.yang@mediatek.com> References: <1421818097-9281-1-git-send-email-hongzhou.yang@mediatek.com> <1421818097-9281-2-git-send-email-hongzhou.yang@mediatek.com> Date: Thu, 22 Jan 2015 13:54:12 +0100 Message-ID: Subject: Re: [PATCH v5 1/5] ARM: mediatek: Add config options for mediatek SoCs. From: Matthias Brugger To: Hongzhou Yang Cc: Rob Herring , Linus Walleij , Sascha Hauer , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , Russell King , Grant Likely , "Joe.C" , Catalin Marinas , Vladimir Murzin , Ashwin Chaugule , "devicetree@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , dandan.he@mediatek.com, alan.cheng@mediatek.com, toby.liu@mediatek.com, maoguang.meng@mediatek.com, huang eddie , Jean-Christophe PLAGNIOL-VILLARD Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 2015-01-21 6:28 GMT+01:00 Hongzhou Yang : > From: Yingjoe Chen > > The upcoming MTK pinctrl driver have a big pin table for each SoC > and we don't want to bloat the kernel binary if we don't need it. > Add config options so we can build for one SoC only. > > Acked-by: Linus Walleij > Signed-off-by: Yingjoe Chen > Signed-off-by: Hongzhou Yang Applied to v3.20-next/soc > --- > arch/arm/mach-mediatek/Kconfig | 22 +++++++++++++++++++++- > 1 file changed, 21 insertions(+), 1 deletion(-) > > diff --git a/arch/arm/mach-mediatek/Kconfig b/arch/arm/mach-mediatek/Kconfig > index f73f588..f7e463c 100644 > --- a/arch/arm/mach-mediatek/Kconfig > +++ b/arch/arm/mach-mediatek/Kconfig > @@ -1,6 +1,26 @@ > -config ARCH_MEDIATEK > +menuconfig ARCH_MEDIATEK > bool "Mediatek MT65xx & MT81xx SoC" if ARCH_MULTI_V7 > select ARM_GIC > select MTK_TIMER > help > Support for Mediatek MT65xx & MT81xx SoCs > + > +if ARCH_MEDIATEK > + > +config MACH_MT6589 > + bool "MediaTek MT6589 SoCs support" > + default ARCH_MEDIATEK > + > +config MACH_MT6592 > + bool "MediaTek MT6592 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 > -- motzblog.wordpress.com From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matthias Brugger Subject: Re: [PATCH v5 1/5] ARM: mediatek: Add config options for mediatek SoCs. Date: Thu, 22 Jan 2015 13:54:12 +0100 Message-ID: References: <1421818097-9281-1-git-send-email-hongzhou.yang@mediatek.com> <1421818097-9281-2-git-send-email-hongzhou.yang@mediatek.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: In-Reply-To: <1421818097-9281-2-git-send-email-hongzhou.yang-NuS5LvNUpcJWk0Htik3J/w@public.gmane.org> Sender: devicetree-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Hongzhou Yang Cc: Rob Herring , Linus Walleij , Sascha Hauer , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , Russell King , Grant Likely , "Joe.C" , Catalin Marinas , Vladimir Murzin , Ashwin Chaugule , "devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , "linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , "linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org" , dandan.he-NuS5LvNUpcJWk0Htik3J/w@public.gmane.org, alan.cheng-NuS5LvNUpcJWk0Htik3J/w@public.gmane.org, toby.liu-NuS5LvNUpcJWk0Htik3J/w@public.gmane.org, maoguang.meng-NuS5LvNUpcJWk0Htik3J/w@public.gmane.org, huang eddie , Jean-Christophe List-Id: devicetree@vger.kernel.org 2015-01-21 6:28 GMT+01:00 Hongzhou Yang : > From: Yingjoe Chen > > The upcoming MTK pinctrl driver have a big pin table for each SoC > and we don't want to bloat the kernel binary if we don't need it. > Add config options so we can build for one SoC only. > > Acked-by: Linus Walleij > Signed-off-by: Yingjoe Chen > Signed-off-by: Hongzhou Yang Applied to v3.20-next/soc > --- > arch/arm/mach-mediatek/Kconfig | 22 +++++++++++++++++++++- > 1 file changed, 21 insertions(+), 1 deletion(-) > > diff --git a/arch/arm/mach-mediatek/Kconfig b/arch/arm/mach-mediatek/Kconfig > index f73f588..f7e463c 100644 > --- a/arch/arm/mach-mediatek/Kconfig > +++ b/arch/arm/mach-mediatek/Kconfig > @@ -1,6 +1,26 @@ > -config ARCH_MEDIATEK > +menuconfig ARCH_MEDIATEK > bool "Mediatek MT65xx & MT81xx SoC" if ARCH_MULTI_V7 > select ARM_GIC > select MTK_TIMER > help > Support for Mediatek MT65xx & MT81xx SoCs > + > +if ARCH_MEDIATEK > + > +config MACH_MT6589 > + bool "MediaTek MT6589 SoCs support" > + default ARCH_MEDIATEK > + > +config MACH_MT6592 > + bool "MediaTek MT6592 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 > -- motzblog.wordpress.com -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html From mboxrd@z Thu Jan 1 00:00:00 1970 From: matthias.bgg@gmail.com (Matthias Brugger) Date: Thu, 22 Jan 2015 13:54:12 +0100 Subject: [PATCH v5 1/5] ARM: mediatek: Add config options for mediatek SoCs. In-Reply-To: <1421818097-9281-2-git-send-email-hongzhou.yang@mediatek.com> References: <1421818097-9281-1-git-send-email-hongzhou.yang@mediatek.com> <1421818097-9281-2-git-send-email-hongzhou.yang@mediatek.com> Message-ID: To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org 2015-01-21 6:28 GMT+01:00 Hongzhou Yang : > From: Yingjoe Chen > > The upcoming MTK pinctrl driver have a big pin table for each SoC > and we don't want to bloat the kernel binary if we don't need it. > Add config options so we can build for one SoC only. > > Acked-by: Linus Walleij > Signed-off-by: Yingjoe Chen > Signed-off-by: Hongzhou Yang Applied to v3.20-next/soc > --- > arch/arm/mach-mediatek/Kconfig | 22 +++++++++++++++++++++- > 1 file changed, 21 insertions(+), 1 deletion(-) > > diff --git a/arch/arm/mach-mediatek/Kconfig b/arch/arm/mach-mediatek/Kconfig > index f73f588..f7e463c 100644 > --- a/arch/arm/mach-mediatek/Kconfig > +++ b/arch/arm/mach-mediatek/Kconfig > @@ -1,6 +1,26 @@ > -config ARCH_MEDIATEK > +menuconfig ARCH_MEDIATEK > bool "Mediatek MT65xx & MT81xx SoC" if ARCH_MULTI_V7 > select ARM_GIC > select MTK_TIMER > help > Support for Mediatek MT65xx & MT81xx SoCs > + > +if ARCH_MEDIATEK > + > +config MACH_MT6589 > + bool "MediaTek MT6589 SoCs support" > + default ARCH_MEDIATEK > + > +config MACH_MT6592 > + bool "MediaTek MT6592 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 > -- motzblog.wordpress.com