From mboxrd@z Thu Jan 1 00:00:00 1970 From: Konstantinos Margaritis Date: Thu, 21 Nov 2013 01:15:18 +0200 Subject: [U-Boot] i2c issues with efikamx and mainline uboot In-Reply-To: <1815682388.492097.1384880539668.JavaMail.zimbra@advansee.com> References: <20131119151704.37872c8cb2304eb154252687@freevec.org> <201311191637.00452.marex@denx.de> <1815682388.492097.1384880539668.JavaMail.zimbra@advansee.com> Message-ID: <20131121011518.ff07a327d9d3ea183aeacf59@freevec.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Tue, 19 Nov 2013 18:02:19 +0100 (CET) Beno?t Th?baudeau wrote: > I use the i.MX515, and the I?C worked fine at some point in mainline > U-Boot. If it does not work for you now, it's either because of a > software regression, or because of some board-specific issue, e.g. > pads. SION may have to be set for I?C. Hi Beno?t, By "SION may have to be set for I?C", do you mean that IOMUX_CONFIG_SION might have to be defined and ORed in the MX51 pads in arch/arm/include/asm/arch-mx5/iomux-mx51.h just is it is set in arch/arm/include/asm/arch-mx5/iomux-mx53.h, for example: MX53_PAD_KEY_COL3__I2C2_SCL = IOMUX_PAD(0x364, 0x03C, 4 | IOMUX_CONFIG_SION, 0x81C, 0, NO_PAD_CTRL), How do I know in which ones do I have to set SION? I've added some pad defines in the mx51 file, needed for LCD bringup, and I hope I did it the right way -at least I followed the RM as close as I could and Marek was of tremendous help here, but I didn't even know about that SION thing while doing that. I'd gladly try it out, before following Fabio's advice and try to merge the patches to the u-boot-imx tree -tried already but they don't apply cleanly, I'll have to do it when I get more free time, most likely during the weekend. Regards Konstantinos -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: not available URL: