linux/drivers/misc/eeprom
Bartosz Golaszewski 818d0220d8 eeprom: at24: support reading the serial number for 24csxx
The chips from the at24cs family have two memory areas - a regular
read-write block and a read-only area containing the serial number.

The latter is visible on a different slave address (the address of the
rw memory block + 0x08). In order to access both blocks the user needs
to instantiate a regular at24c device for the rw block address and a
corresponding at24cs device on the serial number block address.

Add a function that allows to access the serial number and assign it
to at24->read_func if the chip allows serial number read operations
and the driver was passed the relevant flag for this device.

Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
2016-07-17 19:57:30 +02:00
..
at24.c eeprom: at24: support reading the serial number for 24csxx 2016-07-17 19:57:30 +02:00
at25.c eeprom: at25: Fix SPI device leak 2016-05-01 14:04:19 -07:00
digsy_mtc_eeprom.c
eeprom.c misc: eeprom: use kobj_to_dev() 2016-02-07 23:01:45 -08:00
eeprom_93cx6.c eeprom-93cx6: Add (read-only) support for 8-bit mode 2014-11-25 15:42:53 +01:00
eeprom_93xx46.c eeprom: 93xx46: Fix SPI device leak 2016-05-01 14:04:19 -07:00
Kconfig eeprom: at25: remove nvmem regmap dependency 2016-05-01 14:01:00 -07:00
Makefile nvmem: sunxi: Move the SID driver to the nvmem framework 2015-08-05 13:44:24 -07:00
max6875.c Merge branch 'i2c/for-4.3' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux 2015-09-08 16:16:26 -07:00