[PATCH v3] i2c: s3c2410: dont need CPU_FREQ transitions for exynos series

2013-11-18 Thread Naveen Krishna Chatradhi
For Exynos4 and Exynos5 SoCs from Samsung the i2c clock is based on a fixed 66 MHz peripheral clock, and therefore is completely independent of the cpu frequency. Thus, registering for a CPU freq notifier is very wasteful. This patch modifes the code such that, i2c bus registers to cpu_freq_transi

RE: [PATCH 1/1] i2c-ismt: add the support of the I2C_SMBUS_I2C_BLOCK_DATA transaction type

2013-11-18 Thread Heasley, Seth
> This patch adds the support of the I2C_SMBUS_I2C_BLOCK_DATA > transaction type for the iSMT SMBus Controller. > > Signed-off-by: Robert Valiquette > --- > --- a/drivers/i2c/busses/i2c-ismt.c 2013-11-14 11:36:15.830322000 -0500 > +++ b/drivers/i2c/busses/i2c-ismt.c 2013-11-14 16:01:56.532356

Re: [PULL REQUEST] i2c for 3.13

2013-11-18 Thread Rafael J. Wysocki
On Monday, November 18, 2013 03:46:34 PM Linus Torvalds wrote: > On Mon, Nov 18, 2013 at 11:38 AM, Wolfram Sang wrote: > > > > here is the pull request from the i2c subsystem for 3.13: > > So while resolving some fairly trivial conflicts here, I noticed that > commit a76e9bd89ae7 ("i2c: attach/de

Re: [PULL REQUEST] i2c for 3.13

2013-11-18 Thread Linus Torvalds
On Mon, Nov 18, 2013 at 11:38 AM, Wolfram Sang wrote: > > here is the pull request from the i2c subsystem for 3.13: So while resolving some fairly trivial conflicts here, I noticed that commit a76e9bd89ae7 ("i2c: attach/detach I2C client device to the ACPI power domain") that I got earlier throug

Re: I2C Master with limited transmission sizes

2013-11-18 Thread Peter Hüwe
Hi Wolfram, thanks for your answer. > > I'm currently writing a driver for a cheap usb-to-i2c master device, > > which unfortunately can only write 31 bytes (+slave addr) and read 32 > > bytes. > > Which one? CH341 based ones like this one http://wch-ic.com/download/down.asp?id=114 They go for a

[PULL REQUEST] i2c for 3.13

2013-11-18 Thread Wolfram Sang
Linus, here is the pull request from the i2c subsystem for 3.13: * new drivers for exynos5, bcm kona, and st micro * bigger overhauls for drivers mxs and rcar * typical driver bugfixes, cleanups, improvements * got rid of the superfluous 'driver' member in i2c_client struct This touches a few d

Re: [PATCH -next] i2c: bcm-kona: fix error return code in bcm_kona_i2c_probe()

2013-11-18 Thread Wolfram Sang
On Mon, Nov 18, 2013 at 09:03:08PM +0800, Wei Yongjun wrote: > From: Wei Yongjun > > Fix to return a negative error code from the bus speed parse > error handling case instead of 0. > > Signed-off-by: Wei Yongjun Applied to for-next, thanks! signature.asc Description: Digital signature

Re: Problem with multiple i2c multiplexers on one bus, and mux bus naming

2013-11-18 Thread Guenter Roeck
On Mon, Nov 18, 2013 at 03:14:41PM +0100, Jean Delvare wrote: > Hi Guenter, > > On Sun, 17 Nov 2013 13:13:43 -0800, Guenter Roeck wrote: > > On 11/17/2013 12:41 PM, Jean Delvare wrote: > > > On Sun, 17 Nov 2013 10:56:24 -0800, Guenter Roeck wrote: > > >> This retains the old mux name if the mux is

Re: [PATCH -next] i2c: bcm-kona: fix error return code in bcm_kona_i2c_probe()

2013-11-18 Thread Tim Kryger
On Mon, Nov 18, 2013 at 5:03 AM, Wei Yongjun wrote: > From: Wei Yongjun > > Fix to return a negative error code from the bus speed parse > error handling case instead of 0. > > Signed-off-by: Wei Yongjun > --- > drivers/i2c/busses/i2c-bcm-kona.c | 3 ++- > 1 file changed, 2 insertions(+), 1 del

Re: [PATCH v2 0/5] Add-Broadcom-Kona-I2C-Support

2013-11-18 Thread Christian Daudt
On Fri, Nov 15, 2013 at 3:30 PM, Tim Kryger wrote: > On Fri, Nov 15, 2013 at 2:52 PM, Wolfram Sang wrote: > >> Fixed Kconfig sorting, squashed broken out patches 1-3 into one and >> applied to for-next, thanks! Let me know if I should take patches 4-5 >> also, but usually they go via arm-soc. Als

Re: Problem with multiple i2c multiplexers on one bus, and mux bus naming

2013-11-18 Thread Jean Delvare
Hi Guenter, On Sun, 17 Nov 2013 13:13:43 -0800, Guenter Roeck wrote: > On 11/17/2013 12:41 PM, Jean Delvare wrote: > > On Sun, 17 Nov 2013 10:56:24 -0800, Guenter Roeck wrote: > >> This retains the old mux name if the mux is not an i2c device, and adds > >> the i2c device address if it is. This so

[PATCH -next] i2c: bcm-kona: fix error return code in bcm_kona_i2c_probe()

2013-11-18 Thread Wei Yongjun
From: Wei Yongjun Fix to return a negative error code from the bus speed parse error handling case instead of 0. Signed-off-by: Wei Yongjun --- drivers/i2c/busses/i2c-bcm-kona.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/i2c/busses/i2c-bcm-kona.c b/drivers/i

[PATCH v4 2/3] i2c: xilinx: Do not enable irq before irq handler

2013-11-18 Thread Michal Simek
IRQ handler has to be register first before IRQ is enabled in xiic_reinit(). Signed-off-by: Michal Simek --- Changes in v4: None Changes in v3: - New patch in this patchset based on my discussion with Wolfram https://lkml.org/lkml/2013/10/4/148 Changes in v2: None drivers/i2c/busses/i2c-xii

[PATCH v4 1/3] i2c: xilinx: Fix i2c checkpatch warnings

2013-11-18 Thread Michal Simek
From: Kedareswara rao Appana Code changes to fix checkpatch warnings listed below. - WARNING: please, no space before tabs - WARNING: quoted string split across lines Signed-off-by: Kedareswara rao Appana Signed-off-by: Michal Simek --- Changes in v4: - Get back full dev_dbg message Changes i

[PATCH v4 3/3] i2c: xilinx: Use devm_* functions

2013-11-18 Thread Michal Simek
From: Kedareswara rao Appana Simplified the probe and remove functions using devm_* functions Signed-off-by: Kedareswara rao Appana Signed-off-by: Michal Simek --- Changes in v4: - Remove dev_get_platdata casting Changes in v3: - Remove error message which is already shown by devm_ioremap_res

Re: [PATCH v6 3/4] ARM: STi: Supply I2C configuration to STiH415 SoC

2013-11-18 Thread srinivas kandagatla
On 06/11/13 08:25, Maxime COQUELIN wrote: > This patch supplies I2C configuration to STiH415 SoC. > > Signed-off-by: Maxime Coquelin > --- > arch/arm/boot/dts/stih415-pinctrl.dtsi | 36 ++ > arch/arm/boot/dts/stih415.dtsi | 53 > >

Re: [PATCH v6 4/4] ARM: STi: Add I2C config to B2000 and B2020 boards

2013-11-18 Thread srinivas kandagatla
On 06/11/13 08:25, Maxime COQUELIN wrote: > This patch supplies I2C configuration to B2000 and B2020 > based on either STiH415 or STiH416 SoCs. > > Signed-off-by: Maxime Coquelin > --- > arch/arm/boot/dts/stih41x-b2000.dtsi |9 + > arch/arm/boot/dts/stih41x-b2020.dtsi | 22

Re: [PATCH v6 2/4] ARM: STi: Supply I2C configuration to STiH416 SoC

2013-11-18 Thread srinivas kandagatla
On 06/11/13 08:25, Maxime COQUELIN wrote: > This patch supplies I2C configuration to STiH416 SoC. > > Signed-off-by: Maxime Coquelin > --- > arch/arm/boot/dts/stih416-pinctrl.dtsi | 35 + > arch/arm/boot/dts/stih416.dtsi | 53 > >