[PATCH] at24: extend driver to allow writing via i2c_smbus_write_byte_data

2012-12-19 Thread Christian Gmeiner
I have a at24 EEPROM connected via i2c bus provided by ISCH i2c bus driver. This bus driver does not support I2C_FUNC_SMBUS_WRITE_I2C_BLOCK and so I was looking for a way to be able to write the eeprom. This patch adds support for I2C_SMBUS_BYTE_DATA writing via i2c_smbus_write_byte_data. It is

Re: [PATCH 1/2] i2c-core: Add gpio based bus arbitration implementation

2012-12-19 Thread Mark Brown
On Wed, Dec 19, 2012 at 12:32:01PM +, Grant Likely wrote: I'm not convinced on the design of this protocol. It won't scale beyond 2 bus masters and it seems very specific to the design of a specific piece of hardware. I don't think it is mature enough to bake into the I ought to point out

Re: [PULL REQUEST] i2c-embedded for 3.8

2012-12-19 Thread Tony Lindgren
* Linus Torvalds torva...@linux-foundation.org [121218 17:07]: Ugh, guys. Please check this out. On Tue, Dec 18, 2012 at 3:41 PM, Wolfram Sang w.s...@pengutronix.de wrote: please pull the i2c-embedded changes for 3.8 which include: * CBUS driver (an I2C variant) * continued rework of

[PATCH] drivers: i2c-nforce2: fix coding style issues

2012-12-19 Thread Laurent Navet
avoid these checkpatch.pl issues : - ERROR: foo * bar should be foo *bar - ERROR: switch and case should be at the same indent - ERROR: (foo*) should be (foo *) - ERROR: do not use assignment in if condition - ERROR: space required before the open parenthesis '(' - WARNING: suspect code indent for

Re: [PATCH 1/2] i2c-core: Add gpio based bus arbitration implementation

2012-12-19 Thread Simon Glass
On Wed, Dec 19, 2012 at 9:14 AM, Mark Brown broo...@opensource.wolfsonmicro.com wrote: On Wed, Dec 19, 2012 at 12:32:01PM +, Grant Likely wrote: I'm not convinced on the design of this protocol. It won't scale beyond 2 bus masters and it seems very specific to the design of a specific

Re: [PATCH 1/2] i2c-core: Add gpio based bus arbitration implementation

2012-12-19 Thread Grant Likely
On Wed, Dec 19, 2012 at 5:14 PM, Mark Brown broo...@opensource.wolfsonmicro.com wrote: On Wed, Dec 19, 2012 at 12:32:01PM +, Grant Likely wrote: I'm not convinced on the design of this protocol. It won't scale beyond 2 bus masters and it seems very specific to the design of a specific

Re: [PATCH 1/2] i2c-core: Add gpio based bus arbitration implementation

2012-12-19 Thread Grant Likely
On Thu, Dec 20, 2012 at 12:17 AM, Simon Glass s...@chromium.org wrote: On Wed, Dec 19, 2012 at 9:14 AM, Mark Brown broo...@opensource.wolfsonmicro.com wrote: On Wed, Dec 19, 2012 at 12:32:01PM +, Grant Likely wrote: I'm not convinced on the design of this protocol. It won't scale beyond

i2c tools build failure with gcc 4.6

2012-12-19 Thread Guenter Roeck
Seen with latest i2c-tools from svn repository. gcc 4.6: gcc-4.6 -Llib -li2c -o tools/i2cdetect tools/i2cdetect.o tools/i2cbusses.o tools/i2cdetect.o: In function `main': i2cdetect.c:(.text.startup+0x557): undefined reference to `i2c_smbus_write_quick' i2cdetect.c:(.text.startup+0x5e9):