swh:1:snp:32555a3fd8878f019c2ebd6c964bc1edcaeff337
Raw File
Tip revision: 39da7c509acff13fc8cb12ec1bb20337c988ed36 authored by Linus Torvalds on 09 April 2017, 16:49:44 UTC
Linux 4.11-rc6
Tip revision: 39da7c5
slave-eeprom-backend
Linux I2C slave eeprom backend
==============================

by Wolfram Sang <wsa@sang-engineering.com> in 2014-15

This is a proof-of-concept backend which acts like an EEPROM on the connected
I2C bus. The memory contents can be modified from userspace via this file
located in sysfs:

	/sys/bus/i2c/devices/<device-directory>/slave-eeprom

As of 2015, Linux doesn't support poll on binary sysfs files, so there is no
notification when another master changed the content.

back to top