Re: Problems with i2c_eg20t

2011-10-21 Thread Christian Gmeiner
Hi Ben, 2011/10/21 Ben Dooks ben-...@fluff.org: On Tue, Oct 18, 2011 at 09:22:50PM +0900, Tomoya MORINAGA wrote: (2011/10/18 20:16), Christian Gmeiner wrote: Hi, Christian Hi all I am using a 3.0.7 linux kernel with [PATCH x/7 v4] i2c-eg20t: ... from 12. October on top of it. Shall I

Re: [PATCH] i2c: boilerplate function for byte swapped smbus_write/read_word_data

2011-10-21 Thread Jonathan Cameron
On 10/11/11 16:21, Jonathan Cameron wrote: On 10/11/11 12:49, Jean Delvare wrote: On Mon, 10 Oct 2011 13:50:14 +0200, Jean Delvare wrote: On Mon, 10 Oct 2011 10:07:43 +0100, Jonathan Cameron wrote: Reimplemented at least 17 times discounting error mangling cases where it could be used.

Re: [PATCH 2/2] i2c/nomadik: runtime PM support

2011-10-21 Thread Linus Walleij
On Thu, Oct 20, 2011 at 6:44 PM, Magnus Damm magnus.d...@gmail.com wrote: On Fri, Oct 21, 2011 at 1:23 AM, Linus Walleij linus.wall...@stericsson.com wrote: From: Jonas Aaberg jonas.ab...@stericsson.com ... +static int nmk_i2c_runtime_suspend(struct device *dev) +{ +      

Re: [PATCH V2] input:ad7879-i2c use swapped varient of i2c_smbus_read_word_data

2011-10-21 Thread Jonathan Cameron
On 10/21/11 17:09, Dmitry Torokhov wrote: On Fri, Oct 21, 2011 at 12:57:16PM +0100, Jonathan Cameron wrote: This varient was introduced in i2c: boilerplate function for byte swapped smbus_write/read_word_data This also has the side effect of ensuring any errors from the i2c read and no

Re: [PATCH V2] input:ad7879-i2c use swapped varient of i2c_smbus_read_word_data

2011-10-21 Thread Dmitry Torokhov
On Fri, Oct 21, 2011 at 05:14:45PM +0100, Jonathan Cameron wrote: On 10/21/11 17:09, Dmitry Torokhov wrote: On Fri, Oct 21, 2011 at 12:57:16PM +0100, Jonathan Cameron wrote: This varient was introduced in i2c: boilerplate function for byte swapped smbus_write/read_word_data This also

[PATCH] i2c: mxs: Let i2c-mxs be built for MX23

2011-10-21 Thread Fabio Estevam
MX23 and MX28 share the same I2C block, so let i2c-mxs be built for MX23 too. Signed-off-by: Fabio Estevam fabio.este...@freescale.com --- drivers/i2c/busses/Kconfig |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/i2c/busses/Kconfig

Re: [PATCH] i2c: mxs: Let i2c-mxs be built for MX23

2011-10-21 Thread Uwe Kleine-König
On Fri, Oct 21, 2011 at 04:06:19PM -0200, Fabio Estevam wrote: MX23 and MX28 share the same I2C block, so let i2c-mxs be built for MX23 too. Signed-off-by: Fabio Estevam fabio.este...@freescale.com --- drivers/i2c/busses/Kconfig |6 +++--- 1 files changed, 3 insertions(+), 3

[PATCH v2] i2c: mxs: Let i2c-mxs be built for MX23

2011-10-21 Thread Fabio Estevam
MX23 and MX28 share the same I2C block, so let i2c-mxs be built for MX23 too. Signed-off-by: Fabio Estevam fabio.este...@freescale.com --- Changes since v1: - Remove unneeded parenthesis drivers/i2c/busses/Kconfig |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git

Re: [PATCH v2] i2c: mxs: Let i2c-mxs be built for MX23

2011-10-21 Thread Uwe Kleine-König
On Fri, Oct 21, 2011 at 04:27:44PM -0200, Fabio Estevam wrote: MX23 and MX28 share the same I2C block, so let i2c-mxs be built for MX23 too. Signed-off-by: Fabio Estevam fabio.este...@freescale.com arch/arm/mach-mxs/devices/platform-mxs-i2c.c doesn't support i.MX23 yet, but still I think the

Re: [PATCH] i2c: mxs: Let i2c-mxs be built for MX23

2011-10-21 Thread Wolfram Sang
On Fri, Oct 21, 2011 at 04:06:19PM -0200, Fabio Estevam wrote: MX23 and MX28 share the same I2C block, so let i2c-mxs be built for MX23 too. Signed-off-by: Fabio Estevam fabio.este...@freescale.com Have you tested this? AFAIK, the mx23 does not support PIOQUEUE mode and the driver only