From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefano Babic Date: Wed, 23 Nov 2011 09:19:48 +0100 Subject: [U-Boot] [PATCH 1/2] efikamx: Configure the pins as GPIOs prior to using gpio_get_value. In-Reply-To: <201111221607.09360.vapier@gentoo.org> References: <1321884585-12501-1-git-send-email-fabio.estevam@freescale.com> <201111211622.34820.vapier@gentoo.org> <4ECB5A33.5040502@denx.de> <201111221607.09360.vapier@gentoo.org> Message-ID: <4ECCACA4.5040701@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 22/11/2011 22:07, Mike Frysinger wrote: > > if it's different physical pins, then perhaps it should be > different GPIO numbers ? No, they are not. Depending on the "daisy chain" functionality and based on different alternate function, a single GPIO can be routed to different physical pins. > this is shaking out in Linux with the pinmux framework, so probably > best to grit our teeth until that's done and then adopt what they > implement. Agree. Best regards, Stefano Babic -- ===================================================================== DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de =====================================================================