From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefano Babic Date: Tue, 01 Oct 2013 16:49:43 +0200 Subject: [U-Boot] [PATCH] mx6: Add IOMUX_CONFIG_SION flag to all GPIO pins In-Reply-To: <524ADB98.9010605@boundarydevices.com> References: <1380492900-910-1-git-send-email-otavio@ossystems.com.br> <524A88F2.9000903@denx.de> <524ACA60.3020504@denx.de> <524ADB98.9010605@boundarydevices.com> Message-ID: <524AE107.1050404@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 Hi Eric, On 01/10/2013 16:26, Eric Nelson wrote: > I'm not sure where you're seeing this in the RM, but in > order to read the pad state when not configured as an input, > the SION bit needs to be set in the pad mux register on i.MX51/53. I have checked inside the "37.3.2.2 GPIO Write" for i.MX53 and " 35.4.2.1 Read Value from Pad" for i:MX51, I have not read anything about SION. If someone has found where it is described, please mail ! > > FWIW, this also works when not muxed as a GPIO, which is really > handy for verifying that a PWM is toggling, et cetera. Well, if you have directly tested it, it is better proofed as by the manuals..then we need the same fix for i.MX51/i.MX53, too. Thanks, Stefano -- ===================================================================== DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de =====================================================================