diff options
author | Wolfram Sang <wsa+renesas@sang-engineering.com> | 2015-03-23 09:26:38 +0100 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2015-03-27 16:53:39 +0100 |
commit | d0c892f59c918535f902caea63637af87d931d91 (patch) | |
tree | 2d0598a81e244481473005d8c4b135a00a761628 /Documentation/i2c/slave-eeprom-backend | |
parent | 7c6037508357b553670a713ec537b8a76941b952 (diff) |
i2c: slave: add documentation for i2c-slave-eeprom
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Acked-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'Documentation/i2c/slave-eeprom-backend')
-rw-r--r-- | Documentation/i2c/slave-eeprom-backend | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/Documentation/i2c/slave-eeprom-backend b/Documentation/i2c/slave-eeprom-backend new file mode 100644 index 000000000000..c8444ef82acf --- /dev/null +++ b/Documentation/i2c/slave-eeprom-backend @@ -0,0 +1,14 @@ +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-direcory>/slave-eeprom + +As of 2015, Linux doesn't support poll on binary sysfs files, so there is no +notfication when another master changed the content. + |