Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758054Ab3FFJ3w (ORCPT ); Thu, 6 Jun 2013 05:29:52 -0400 Received: from mail.free-electrons.com ([94.23.35.102]:41296 "EHLO mail.free-electrons.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753616Ab3FFJ3v (ORCPT ); Thu, 6 Jun 2013 05:29:51 -0400 Date: Thu, 6 Jun 2013 11:29:48 +0200 From: Thomas Petazzoni To: "jonsmirl@gmail.com" Cc: Luke Kenneth Casson Leighton , devicetree-discuss , Linux Kernel Mailing List , debian-arm@lists.debian.org, ARM Linux Mailing List , Linux on small ARM machines , debian-release@lists.debian.org, debian-kernel@lists.debian.org, Maxime Ripard Subject: Re: getting allwinner SoC support upstream (was Re: Uploading linux (3.9.4-1)) Message-ID: <20130606112948.7cd444a4@skate> In-Reply-To: References: Organization: Free Electrons X-Mailer: Claws Mail 3.9.1 (GTK+ 2.24.17; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1236 Lines: 35 Hello, On Wed, 5 Jun 2013 16:48:27 -0400, jonsmirl@gmail.com 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 -- 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/