2019-07-26 19:51:16 +07:00
|
|
|
==============================
|
2015-03-23 15:26:38 +07:00
|
|
|
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
|
2019-07-26 19:51:16 +07:00
|
|
|
located in sysfs::
|
2015-03-23 15:26:38 +07:00
|
|
|
|
2016-02-02 18:41:25 +07:00
|
|
|
/sys/bus/i2c/devices/<device-directory>/slave-eeprom
|
2015-03-23 15:26:38 +07:00
|
|
|
|
|
|
|
As of 2015, Linux doesn't support poll on binary sysfs files, so there is no
|
2016-02-02 18:41:25 +07:00
|
|
|
notification when another master changed the content.
|