Skip to content

new memory_accessor interface and usage

Kevin Hilman lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest3 patches 4 repliesIn review
  2. v21 patch 2 repliesSuperseded

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3memory_accessor: new interface for reading/writing persistent memoryinclude/linux/memory.h+11 -00 replies
2/3Implement the new memory_accessor interface for I2C EEPROMdrivers/misc/eeprom/at24.c include/linux/i2c/at24.h+58 -130 replies
3/3Implement the new memory_accessor interfaces for SPI EEPROMs:drivers/misc/eeprom/at25.c include/linux/spi/eeprom.h+50 -140 replies

Reviews trailers per patch

1 of 3 patches has a Reviewed-by or Acked-by.

PatchDavid Brownell
1/3A-b
2/3
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 0/3] new memory_accessor interface and usage

This series adds an interface by which other kernel code can read/write persistent memory such as I2C or SPI EEPROMs, or devices which provide NVRAM. Use cases include storage of board-specific configuration data like Ethernet addresses and sensor calibrations, etc.

David Brownell (1):
Implement the new memory_accessor interfaces for SPI EEPROMs:

Kevin Hilman (2):
memory_accessor: new interface for reading/writing persistent memory Implement the new memory_accessor interface for I2C EEPROM

 drivers/misc/eeprom/at24.c |   67 +++++++++++++++++++++++++++++++++++--------
 drivers/misc/eeprom/at25.c |   58 +++++++++++++++++++++++++++++---------
 include/linux/i2c/at24.h   |    4 ++
 include/linux/memory.h     |   11 +++++++
 include/linux/spi/eeprom.h |    6 ++++
 5 files changed, 119 insertions(+), 27 deletions(-)