From: Robert Schwebel Date: Mon, 9 Jun 2008 22:14:00 +0200 Subject: [U-Boot-Users] MX31ADS: I2C1 bus In-Reply-To: <4848F958.2060809@dave-tech.it> References: <4848F958.2060809@dave-tech.it> Message-ID: <20080609201400.GK10115@pengutronix.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 Fri, Jun 06, 2008 at 10:46:16AM +0200, llandre wrote: > I downloaded current u-boot repo to perform a simple test on MX31ADS: I > just have to verify that an I2C component connected to JP13 is detected > by U-Boot (iprobe). > So I enabled the I2C support in MX31ADS config file: > > /* I2C */ > #define CONFIG_HARD_I2C 1 > #define CONFIG_I2C_MXC 1 > #define CFG_I2C_MX31_PORT1 1 > #define CFG_I2C_SPEED 100000 > #define CFG_I2C_SLAVE 0xfe > > U-Boot builds and boots fine however, when issuing iprobe command, SDA > and SCL lines are stuck at ~2.1V. JP6 and JP7 are both in 2-3 position. > > Am I missing something? That looks like u-boot-v1. Sascha maintains the u-boot-v2 tree, which hopefully doesn't have any such #define cruft any more :-) The v1 port was done by Guennadi Liakhovetski. rsc -- Dipl.-Ing. Robert Schwebel | http://www.pengutronix.de Pengutronix - Linux Solutions for Science and Industry Handelsregister: Amtsgericht Hildesheim, HRA 2686 Hannoversche Str. 2, 31134 Hildesheim, Germany Phone: +49-5121-206917-0 | Fax: +49-5121-206917-9