From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from metis.ext.pengutronix.de ([2001:6f8:1178:4:290:27ff:fe1d:cc33]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Yqaaz-0007qZ-48 for barebox@lists.infradead.org; Fri, 08 May 2015 05:13:10 +0000 Date: Fri, 8 May 2015 07:12:42 +0200 From: Sascha Hauer Message-ID: <20150508051242.GV6325@pengutronix.de> References: <5548DA0A.3050408@elfin.de> <20150505155450.GB6325@pengutronix.de> <20150506071228.GQ25193@pengutronix.de> <554B4B63.7020301@elfin.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <554B4B63.7020301@elfin.de> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "barebox" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: Re: Usage of i2c_-Tools in Barebox To: Marcel Behlau Cc: barebox@lists.infradead.org, Uwe =?iso-8859-15?Q?Kleine-K=F6nig?= On Thu, May 07, 2015 at 01:24:19PM +0200, Marcel Behlau wrote: > Hi, > > many thanks for your help. I activated the i2c devices in the device > tree, the pinctrl is already done in the imx6q.dtsi, which is > included. The used pins are identically with the used pins on the > SBC. devinfo told me, that the driver "i2c-fsl" is loaded. After > rebuild barebox, it's possible to probe the bus, but the command > only answered with an timeout: > > barebox@Phytec phyFLEX-i.MX6 Quad Carrier-Board:/ i2c_probe 1 83 83 > probing i2c range 0x53 - 0x53 : > i2c2: timeout waiting for I2C bus busy I *think* this means that the levels on the bus do not properly follow what the controller wants to do. Maybe pullup missing? An oscilloscope might help here. Sascha -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox