Re: [PATCH V4 Resend 1/2] i2c/adapter: Add bus recovery infrastructure

2012-09-27 Thread Uwe Kleine-König
On Mon, Aug 27, 2012 at 10:41:26AM +0530, Viresh Kumar wrote: From: Viresh Kumar viresh.ku...@st.com Add i2c bus recovery infrastructure to i2c adapters as specified in the i2c protocol Rev. 03 section 3.16 titled Bus clear. It's 3.1.16, not 3.16.

[PATCHv3 0/3] ARM: I2C: Add device tree bindings to i2c-mux-gpio

2012-09-27 Thread Maxime Ripard
Hi everyone, This patchset adds the device tree entry to the CFA-10049 board of its i2c muxer. This muxer controls sub-buses that contains three Nuvoton NAU7802 ADCs and a NXP PCA955 GPIO expander. Support for these will be added eventually. Thanks, Maxime Changes from v2: - Fixed indentation

[PATCH 1/3] i2c: i2c-mux-gpio: Use devm_kzalloc instead of kzalloc

2012-09-27 Thread Maxime Ripard
Use the devm_kzalloc managed function to stripdown the error and remove code. Signed-off-by: Maxime Ripard maxime.rip...@free-electrons.com Acked-by: Jean Delvare kh...@linux-fr.org Acked-by: Peter Korsgaard jac...@sunsite.dk --- drivers/i2c/muxes/i2c-mux-gpio.c | 14 +- 1 file

[PATCH 2/3] i2c: mux: Add dt support to i2c-mux-gpio driver

2012-09-27 Thread Maxime Ripard
Allow the i2c-mux-gpio to be used by a device tree enabled device. The bindings are inspired by the one found in the i2c-mux-pinctrl driver. Signed-off-by: Maxime Ripard maxime.rip...@free-electrons.com --- .../devicetree/bindings/i2c/i2c-mux-gpio.txt | 81 ++

[PATCH 3/3] ARM: dts: cfa10049: Add the i2c muxer buses to the CFA-10049

2012-09-27 Thread Maxime Ripard
This will allow to add the 3 Nuvoton NAU7802 ADCs and the NXP PCA9555 GPIO expander eventually. Signed-off-by: Maxime Ripard maxime.rip...@free-electrons.com --- arch/arm/boot/dts/imx28-cfa10049.dts | 24 1 file changed, 24 insertions(+) diff --git

Re: [PATCH v2] i2c: add Renesas R-Car I2C driver

2012-09-27 Thread Kuninori Morimoto
Please teach me current status of this patch ? R-Car I2C is similar with SH7760 I2C. But the SH7760 I2C driver had many workaround operations, since H/W had bugs. Thus, it was pointless to keep compatible between SH7760 and R-Car I2C drivers. This patch creates new Renesas R-Car I2C

Re: [PATCH v2] i2c: add Renesas R-Car I2C driver

2012-09-27 Thread Simon Horman
Hi Morimoto-san, Hi Wolfram, Hi All, I'm not aware of any objections to this patch from the shmobile side of things, so to that end: Acked-by: Simon Horman ho...@verge.net.au Wolfram, would you consider merging this change? On Thu, Sep 27, 2012 at 06:57:47PM -0700, Kuninori Morimoto wrote:

Re: [PATCH v2] i2c: add Renesas R-Car I2C driver

2012-09-27 Thread Shubhrajyoti Datta
Hi A few suggestions, On Tue, Aug 28, 2012 at 2:07 PM, Kuninori Morimoto kuninori.morimoto...@renesas.com wrote: R-Car I2C is similar with SH7760 I2C. But the SH7760 I2C driver had many workaround operations, since H/W had bugs. Thus, it was pointless to keep compatible between SH7760 and

Re: [PATCH v2] i2c: add Renesas R-Car I2C driver

2012-09-27 Thread Kuninori Morimoto
Dear Shubhrajyoti Thank you for your comment. Hi A few suggestions, On Tue, Aug 28, 2012 at 2:07 PM, Kuninori Morimoto kuninori.morimoto...@renesas.com wrote: R-Car I2C is similar with SH7760 I2C. But the SH7760 I2C driver had many workaround operations, since H/W had bugs. Thus,