[PATCH] i2c: iop3xxx: fix build failure after waitqueue changes

2013-06-28 Thread Kevin Hilman
kernel/next/drivers/i2c/busses/i2c-iop3xx.c:176:778: error: expected ')' b Fix by removing stray ';' Signed-off-by: Kevin Hilman --- Discovered in new build failure of iop32xx_defconfig with next-20130628 drivers/i2c/busses/i2c-iop3xx.c | 2 +- 1 file changed, 1 insertion(+)

Re: Add I2C with PCA9665

2013-06-28 Thread Elyas Razzaghi
Hi, Thanks a lot Wolfram for the hint. I have added the mapping configs: #if defined (CONFIG_I2C_PCA_PLATFORM) || defined(CONFIG_I2C_ALGOPCA) static struct resource i2c_resources[] = { [0] = { .start= AT91_CHIPSELECT_2,/* 0x3000 */ .end= AT91_CHIPSELECT_2 + S

Re: Add I2C with PCA9665

2013-06-28 Thread Wolfram Sang
> static struct resource i2c_resources[] = { > [0] = { > .start= AT91_CHIPSELECT_2,/* 0x3000 */ > .end= AT91_CHIPSELECT_2 + SZ_16K - 1, > .flags= IORESOURCE_MEM, Unless reading 0x3000 does not return something like 0xf8, you have a problem with m

Add I2C with PCA9665

2013-06-28 Thread Elyas Razzaghi
Hi, I am using the PCA9665 controller in my custom board because the internal I2C controller of my processor (AT91RM9200) is not robust. The following are my configs: Hardware: D0 - D7 --> D0 - D7 Write strobe --> NWR0/NWE/CFWE Read strobe --> NRD/NOE/CFOE Chip Enable --> NCS2 A0 --> A0/NBS0

Re: i2c-mxs: Problems with PIO mode on iMX28

2013-06-28 Thread Alexandre Belloni
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hi, It really seems like what I observed in http://www.spinics.net/lists/linux-i2c/msg11985.html I still didn't have a deeper look at it. Also, ccing Fabio that seemed interested in the resoultion of that issue On 28/06/2013 11:13, Wolfram Sang w

Re: i2c-mxs: Problems with PIO mode on iMX28

2013-06-28 Thread Wolfram Sang
CCing Marek Vasut and Pengutronix... On Thu, Jun 27, 2013 at 07:39:45PM +0200, Torsten Fleischer wrote: > Hi, > > on my board there is a temperature sensor TCN75A (compatible to LM75) > connected to the iMX283. > In the user space the temperature is periodically polled by reading the file > /s

RE: [PATCH v2 2/2] i2c: imx: Add Vybrid VF610 I2C controller support

2013-06-28 Thread Lu Jingchang-B35083
>-Original Message- >From: Sascha Hauer [mailto:s.ha...@pengutronix.de] >Sent: Thursday, June 20, 2013 4:04 PM >To: Lu Jingchang-B35083 >Cc: w...@the-dreams.de; shawn@linaro.org; Estevam Fabio-R49496; linux- >i...@vger.kernel.org; linux-arm-ker...@lists.infradead.org; Jin Zhengxiong- >R