Re: [PATCH] i2c/pnx: Really fix start/stop issue

2010-04-20 Thread Wolfram Sang
On Tue, Apr 20, 2010 at 01:15:36AM +0100, Ben Dooks wrote: On Sun, Apr 18, 2010 at 01:40:21PM +0200, Wolfram Sang wrote: On Sun, Apr 18, 2010 at 01:04:57PM +0200, Jean Delvare wrote: Hi Wolfram, On Sun, 18 Apr 2010 12:21:10 +0200, Wolfram Sang wrote: The issue was truly solved by

Re: [PATCH V2] mach-pxa/viper: Fix timeout usage for I2C

2010-04-20 Thread Marc Zyngier
On Sun, 18 Apr 2010 13:48:29 +0200, Wolfram Sang w.s...@pengutronix.de wrote: The timeout value is in jiffies, so it should be using HZ, not a plain number. Assume with HZ=100 '100' means 1s here and adapt accordingly. Signed-off-by: Wolfram Sang w.s...@pengutronix.de Cc: Eric Miao

Re: [PATCH V2] mach-pxa/viper: Fix timeout usage for I2C

2010-04-20 Thread Marek Vasut
Dne Út 20. dubna 2010 10:27:00 Marc Zyngier napsal(a): On Sun, 18 Apr 2010 13:48:29 +0200, Wolfram Sang w.s...@pengutronix.de wrote: The timeout value is in jiffies, so it should be using HZ, not a plain number. Assume with HZ=100 '100' means 1s here and adapt accordingly.

Re: [PATCH V2] mach-pxa/viper: Fix timeout usage for I2C

2010-04-20 Thread Eric Miao
On Tue, Apr 20, 2010 at 4:40 PM, Marek Vasut marek.va...@gmail.com wrote: Dne Út 20. dubna 2010 10:27:00 Marc Zyngier napsal(a): On Sun, 18 Apr 2010 13:48:29 +0200, Wolfram Sang w.s...@pengutronix.de wrote: The timeout value is in jiffies, so it should be using HZ, not a plain number.

[PATCH] i2c-stub: Add support for bus multiplexing

2010-04-20 Thread Jean Delvare
From: Jean Delvare kh...@linux-fr.org Subject: i2c-stub: Add support for bus multiplexing Emulate a PCA9540 mux chip on request. There are two reasons for implementing this: * This makes it possible to emulate two chips at the same address. * This lets us test the multiplexing code.

Re: [PATCH 0/6] i2c: davinci updates for 2.6.35

2010-04-20 Thread Kevin Hilman
Ben Dooks ben-li...@fluff.org writes: On Tue, Apr 06, 2010 at 10:42:12AM -0700, Kevin Hilman wrote: This series of davinci I2C driver updates and fixes is targetted for 2.6.35. It has been tested in davinci git on multiple davinci SoCs. Ben, since these changes are isolated to the davinci

[PATCH v2] i2c-stub: Add support for bus multiplexing

2010-04-20 Thread Jean Delvare
Emulate a PCA9540 mux chip on request. There are two reasons for implementing this: * This makes it possible to emulate two chips at the same address. * This lets us test the multiplexing code. Signed-off-by: Jean Delvare kh...@linux-fr.org Cc: Michael Lawnick ml.lawn...@gmx.de Cc: Rodolfo

RE: [PATCH] i2c/pnx: Really fix start/stop issue

2010-04-20 Thread Kevin Wells
Subject: Re: [PATCH] i2c/pnx: Really fix start/stop issue On Tue, Apr 20, 2010 at 01:15:36AM +0100, Ben Dooks wrote: On Sun, Apr 18, 2010 at 01:40:21PM +0200, Wolfram Sang wrote: On Sun, Apr 18, 2010 at 01:04:57PM +0200, Jean Delvare wrote: Hi Wolfram, On Sun, 18 Apr 2010

Re: [PATCH v2] i2c-stub: Add support for bus multiplexing

2010-04-20 Thread Rodolfo Giometti
On Tue, Apr 20, 2010 at 05:10:42PM +0200, Jean Delvare wrote: Emulate a PCA9540 mux chip on request. There are two reasons for implementing this: * This makes it possible to emulate two chips at the same address. * This lets us test the multiplexing code. Signed-off-by: Jean Delvare