From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bjorn Andersson Subject: Re: [PATCH v3 3/6] pinctrl: Make PINCTRL selectable by defconfig/menuconfig Date: Mon, 16 Dec 2013 16:18:43 -0800 Message-ID: <20131217001842.GB3840@sonymobile.com> References: <1381174108-25168-1-git-send-email-syin@broadcom.com> <1386787041-6035-1-git-send-email-syin@broadcom.com> <1386787041-6035-4-git-send-email-syin@broadcom.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Return-path: Content-Disposition: inline In-Reply-To: Sender: devicetree-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Linus Walleij Cc: Christian Daudt , Mark Rutland , "devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , Russell King , Heiko St?bner , Pawel Moll , Stephen Warren , Ian Campbell , "linux-doc-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , "linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , Rob Herring , Sherman Yin , bcm-kernel-feedback-list , Rob Landley , Grant Likely , Matt Porter , "linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org" List-Id: devicetree@vger.kernel.org On Mon 16 Dec 02:01 PST 2013, Linus Walleij wrote: > On Thu, Dec 12, 2013 at 10:35 PM, Christian Daudt wrote: > > > I had requested this from Sherman. The reason is so that pinctrl can > > be selectable through defconfig, instead of through SoC select > > statements. And the reason for that is so that, in the future, some of > > these can be switched into loadable modules (which can't be done from > > Kconfig). This will become necessary with the move to multiplatform - > > we won't be able to have everything static anymore. > > Isn't it sufficient to make the pin controller entry tristate rather > than bool? > > And as mentioned elsewhere this does not at all solve the issue > that we still need to have all basic IRQchips and timer drivers > compiled into the kernel. No matter how we build the individual pinctrl drivers we will always need the pinctrl framework in a multi-soc zImage; so I can't see that we gain anything from being able to compile PINCTRL as a module. I don't like compiling the individual pinctrl drivers as modules, as it leaves us with a waterfall of PROBE_DEFERRs. Regards, Bjorn -- 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