Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757441Ab2HTQsj (ORCPT ); Mon, 20 Aug 2012 12:48:39 -0400 Received: from mail-bk0-f46.google.com ([209.85.214.46]:58406 "EHLO mail-bk0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752392Ab2HTQsh (ORCPT ); Mon, 20 Aug 2012 12:48:37 -0400 Message-ID: <50326A60.1070007@gmail.com> Date: Mon, 20 Aug 2012 18:48:32 +0200 From: Sebastian Hesselbarth User-Agent: Mozilla/5.0 (X11; Linux i686; rv:10.0.5) Gecko/20120624 Icedove/10.0.5 MIME-Version: 1.0 To: Linus Walleij CC: Thomas Petazzoni , Grant Likely , Rob Herring , Rob Landley , Russell King , Lior Amsalem , Andrew Lunn , Gregory CLEMENT , Ben Dooks , devicetree-discuss@lists.ozlabs.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Stephen Warren Subject: Re: [PATCH 04/11] pinctrl: mvebu: add pinctrl driver for Armada 370 References: <1344689809-6223-1-git-send-email-sebastian.hesselbarth@gmail.com> <1344689809-6223-5-git-send-email-sebastian.hesselbarth@gmail.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1049 Lines: 30 On 08/20/2012 04:25 PM, Linus Walleij wrote: >> +config PINCTRL_ARMADA_370 >> + bool "Support for Marvell Armada 370 SoCs" >> + depends on PINCTRL_MVEBU >> + depends on MACH_ARMADA_370_XP > > select PINCTRL_MVEBU simply? > > And then have the Armada Kconfig > > select PINCTRL > select PINCTRL_ARMADA_370 Linus, Thomas, Gregory, this is really difficult here ;) I thought I could just add PINCTRL_DOVE to MACH_DOVE inside ARCH_MVEBU, PINCTRL_KIRKWOOD to MACH_KIRKWOOD, aso. But there is a common MACH_ARMADA_370_XP for both 370 and XP obviously. If it is ok for you I will add both PINCTRL_ stubs to the Kconfig and you work it out if you ever have two distinct MACHs? Or it could remain selectable in pinctrl/Kconfig but that will then be different with the other stubs. Sebastian -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/