Re: [PATCH v6] at24: Support SMBus read/write of 16-bit devices

2015-12-18 Thread Aaron Sierra
- Original Message - > From: "Wolfram Sang" <w...@the-dreams.de> > Sent: Friday, December 11, 2015 7:19:40 AM > > On Mon, Nov 16, 2015 at 06:02:19PM -0600, Aaron Sierra wrote: > > Previously, the at24 driver would bail out in the case of a 16-b

[PATCH v6] at24: Support SMBus read/write of 16-bit devices

2015-11-16 Thread Aaron Sierra
-byte* access *limited to 32-bytes by I2C_SMBUS_BLOCK_MAX. Write performance: 248 B/s with 1-byte page (default) 3.9 KB/s with 128-byte* page (via platform data) *limited to 31-bytes by I2C_SMBUS_BLOCK_MAX - 1. Signed-off-by: Nate Case <nc...@xes-inc.com> Signed-off-by:

Re: [PATCH v4] at24: Support SMBus read/write of 16-bit devices

2015-11-10 Thread Aaron Sierra
- Original Message - > From: "Jean Delvare" <jdelv...@suse.de> > Sent: Tuesday, November 10, 2015 3:39:20 AM > > Hi Aaron, > > On Mon, 9 Nov 2015 18:25:11 -0600 (CST), Aaron Sierra wrote: > > Previously, the at24 driver would bail out in the

[PATCH v4] at24: Support SMBus read/write of 16-bit devices

2015-11-09 Thread Aaron Sierra
-byte* access *limited to 32-bytes by I2C_SMBUS_BLOCK_MAX. Write performance: 248 B/s with 1-byte page (default) 3.9 KB/s with 128-byte* page (via platform data) *limited to 31-bytes by I2C_SMBUS_BLOCK_MAX - 1. Signed-off-by: Nate Case <nc...@xes-inc.com> Signed-off-by:

Re: [PATCH 3/3] at24: Support 16-bit devices on SMBus

2015-11-03 Thread Aaron Sierra
- Original Message - > From: "Jean Delvare" <jdelv...@suse.de> > Sent: Tuesday, November 3, 2015 4:33:53 AM > > Hi Aaron, > > On Thu, 3 Sep 2015 14:53:30 -0500 (CDT), Aaron Sierra wrote: > > Previously, the at24 driver would bail out in the

Re: [PATCH 1/3] at24: Support SMBus block writes to 16-bit devices

2015-11-02 Thread Aaron Sierra
- Original Message - > From: "Jean Delvare" <jdelv...@suse.de> > Sent: Monday, November 2, 2015 7:42:09 AM > > Hi Aaron, > > Sorry for the late reply. > > On Thu, 3 Sep 2015 14:52:35 -0500 (CDT), Aaron Sierra wrote: > > Introduce at24_s

[PATCH 2/3 v2] at24: Support SMBus byte writes to 16-bit devices

2015-09-21 Thread Aaron Sierra
Introduce at24_smbus_write_byte_data() to allow very slow (e.g. 248 B/s) write access to 16-bit EEPROM devices attached to SMBus controllers like the Intel SCH. Signed-off-by: Nate Case <nc...@xes-inc.com> Signed-off-by: Aaron Sierra <asie...@xes-inc.com> --- v2 - Unchanged from

[PATCH 1/3 v2] at24: Support SMBus block writes to 16-bit devices

2015-09-21 Thread Aaron Sierra
by I2C_SMBUS_BLOCK_MAX / 2. Signed-off-by: Aaron Sierra <asie...@xes-inc.com> --- v2 - Unchanged from v1 drivers/misc/eeprom/at24.c | 35 --- 1 file changed, 32 insertions(+), 3 deletions(-) diff --git a/drivers/misc/eeprom/at24.c b/drivers/misc/eeprom/at24.c

[PATCH 3/3 v2] at24: Support 16-bit devices on SMBus

2015-09-21 Thread Aaron Sierra
-by: Nate Case <nc...@xes-inc.com> Signed-off-by: Aaron Sierra <asie...@xes-inc.com> --- v2 - Account for changes related to introduction of i2c_smbus_read_i2c_block_data_or_emulated() drivers/misc/eeprom/Kconfig | 4 +++- drivers/misc/eeprom/at24.c | 32 +++

[PATCH 3/3] at24: Support 16-bit devices on SMBus

2015-09-03 Thread Aaron Sierra
: AT24CM01 attached to Intel ISCH SMBus (1.8 KB/s) AT24C512 attached to Intel I801 SMBus (1.4 KB/s) Signed-off-by: Nate Case <nc...@xes-inc.com> Signed-off-by: Aaron Sierra <asie...@xes-inc.com> --- drivers/misc/eeprom/Kconfig | 4 +++- drivers/misc/eeprom/

[PATCH 1/3] at24: Support SMBus block writes to 16-bit devices

2015-09-03 Thread Aaron Sierra
by I2C_SMBUS_BLOCK_MAX / 2. Signed-off-by: Aaron Sierra <asie...@xes-inc.com> --- drivers/misc/eeprom/at24.c | 35 --- 1 file changed, 32 insertions(+), 3 deletions(-) diff --git a/drivers/misc/eeprom/at24.c b/drivers/misc/eeprom/at24.c index 2d3db81..4cf53a0

[PATCH 2/3] at24: Support SMBus byte writes to 16-bit devices

2015-09-03 Thread Aaron Sierra
Introduce at24_smbus_write_byte_data() to allow very slow (e.g. 248 B/s) write access to 16-bit EEPROM devices attached to SMBus controllers like the Intel SCH. Signed-off-by: Nate Case <nc...@xes-inc.com> Signed-off-by: Aaron Sierra <asie...@xes-inc.com> --- drivers/misc/eeprom

Re: [PATCH 3/3] at24: Support 16-bit devices on SMBus

2015-09-03 Thread Aaron Sierra
- Original Message - > From: "Aaron Sierra" <asie...@xes-inc.com> > Sent: Thursday, September 3, 2015 2:53:30 PM > > Previously, the at24 driver would bail out in the case of a 16-bit > addressable EEPROM attached to an SMBus controller. This is because

[PATCH v2 0/1] i2c-i801: utilize hardware semaphore

2012-11-02 Thread Aaron Sierra
v2: ran through checkpatch.pl: - fixed a line of spaces at the beginning of the line (Thanks Eudean) - replaced msleep(1) with usleep_range(1000, 3000) -- To unsubscribe from this list: send the line unsubscribe linux-i2c in the body of a message to majord...@vger.kernel.org More majordomo

[PATCH v2 1/1] i2c-i801: utilize hardware semaphore

2012-11-02 Thread Aaron Sierra
will occur. This corrects behavior seen on some hardware where an ACPI resource conflict is detected, but the ASL methods defined in ACPI are incompatible with the i2c-scmi driver. This results in no driver being bound to the hardware, when both could safely be bound. Signed-off-by: Aaron Sierra asie

[PATCH] i2c-i801: utilize hardware semaphore

2012-01-26 Thread Aaron Sierra
will occur. This corrects behavior seen on some hardware where an ACPI resource conflict is detected, but the ASL methods defined in ACPI are incompatible with the i2c-scmi driver. This results in no driver being bound to the hardware, when both could safely be bound. Signed-off-by: Aaron Sierra asie