From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Petazzoni Subject: Re: getting allwinner SoC support upstream (was Re: Uploading linux (3.9.4-1)) Date: Thu, 6 Jun 2013 11:29:48 +0200 Message-ID: <20130606112948.7cd444a4@skate> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: devicetree-discuss-bounces+gldd-devicetree-discuss=m.gmane.org-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org Sender: "devicetree-discuss" To: "jonsmirl-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org" Cc: devicetree-discuss , Linux Kernel Mailing List , debian-arm-0aAXYlwwYIJuHlm7Suoebg@public.gmane.org, debian-release-0aAXYlwwYIJuHlm7Suoebg@public.gmane.org, Luke Kenneth Casson Leighton , Linux on small ARM machines , ARM Linux Mailing List , debian-kernel-0aAXYlwwYIJuHlm7Suoebg@public.gmane.org List-Id: devicetree@vger.kernel.org Hello, On Wed, 5 Jun 2013 16:48:27 -0400, jonsmirl-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org wrote: > > fex covers *eeeeeevvveeerryyyythiiiing* - right from flipping the > > multiplexing for all 3 SD/MMC cards so that you can pretend that SD0 > > is SD2 and you can specify *different* GPIOs for each to say which > > is > > You can do all of this in device tree too. If the exact syntax doesn't > exist you can use 'allwinner,' prefixes on the node names. > Also check out pinctrl so that it doesn't get reinvented. Are people looking at the mainline source code? There is already a pinctrl driver for sunxi platforms (i.e Allwinner SoCs), it's at drivers/pinctrl/pinctrl-sunxi.c, and it's DT-based and allows to describe the pin muxing in the Device Tree. Cc'ing Maxime Ripard, who is the mach-sunxi maintainer in the mainline kernel. Best regards, Thomas -- Thomas Petazzoni, Free Electrons Kernel, drivers, real-time and embedded Linux development, consulting, training and support. http://free-electrons.com