linux/drivers/misc/eeprom
Jean Delvare 7aeb96642f at24: Fall back to byte or word reads if needed
Increase the portability of the at24 driver by letting it read from
EEPROM chips connected to cheap SMBus controllers that support neither
raw I2C messages nor even I2C block reads. All SMBus controllers
should support either word reads or byte reads, so read support
becomes universal, much like with the legacy "eeprom" driver.

Obviously, this only works with EEPROM chips up to AT24C16, that use
8-bit offset addressing. 16-bit offset addressing is almost impossible
to support on SMBus controllers.

I did not add universal support for writes, as I had no immediate need
for this, but it could be added later if needed (with the same
performance issue as byte and word reads have, of course.)

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Reviewed-by: Wolfram Sang <w.sang@pengutronix.de>
Cc: Konstantin Lazarev <klazarev@sbcglobal.net>
2010-05-21 18:40:57 +02:00
..
at24.c at24: Fall back to byte or word reads if needed 2010-05-21 18:40:57 +02:00
at25.c init dynamic bin_attribute structures 2010-03-14 20:28:39 -07:00
eeprom_93cx6.c EEPROM: 93cx6: Header file cleanup 2010-05-14 11:00:38 +02:00
eeprom.c EEPROM: Header file cleanup 2010-05-14 11:00:37 +02:00
Kconfig i2c/chips: Move max6875 to drivers/misc/eeprom 2009-06-15 18:01:49 +02:00
Makefile i2c/chips: Move max6875 to drivers/misc/eeprom 2009-06-15 18:01:49 +02:00
max6875.c EEPROM: max6875: Header file cleanup 2010-05-14 11:00:38 +02:00