Re: [PATCH v5] i2c: add driver for Rockchip RK3xxx SoC I2C adapter

2014-06-11 Thread Max Schwarz
Hi Wolfram, thanks for your comments. On Tuesday 10 June 2014 at 21:27:09, Wolfram Sang wrote: > Checking if the spinlock is needed would be nice, but we can also fix > this later. I'm simply not sure about the spinlock. My knowledge about IRQ handling in linux is limited. We have an SMP syste

Re: [PATCH v5] i2c: add driver for Rockchip RK3xxx SoC I2C adapter

2014-06-10 Thread Wolfram Sang
Hi, On Sat, Jun 07, 2014 at 07:36:19PM +0200, Max Schwarz wrote: > Driver for the native I2C adapter found in Rockchip RK3xxx SoCs. > > Configuration is only possible through devicetree. The driver is > interrupt driven and supports the I2C_M_IGNORE_NAK mangling bit. > > Signed-off-by: Max Schwa

[PATCH v5] i2c: add driver for Rockchip RK3xxx SoC I2C adapter

2014-06-07 Thread Max Schwarz
Driver for the native I2C adapter found in Rockchip RK3xxx SoCs. Configuration is only possible through devicetree. The driver is interrupt driven and supports the I2C_M_IGNORE_NAK mangling bit. Signed-off-by: Max Schwarz --- Sorry for the resend, I forgot to CC the developers at Rockchip, whic

[PATCH v5] i2c: add driver for Rockchip RK3xxx SoC I2C adapter

2014-06-07 Thread Max Schwarz
Driver for the native I2C adapter found in Rockchip RK3xxx SoCs. Configuration is only possible through devicetree. The driver is interrupt driven and supports the I2C_M_IGNORE_NAK mangling bit. Signed-off-by: Max Schwarz --- The driver cannot be used without a proper clock driver supporting ra