Wolfram Sang | d0c892f | 2015-03-23 09:26:38 +0100 | [diff] [blame] | 1 | Linux I2C slave eeprom backend |
| 2 | ============================== |
| 3 | |
| 4 | by Wolfram Sang <wsa@sang-engineering.com> in 2014-15 |
| 5 | |
| 6 | This is a proof-of-concept backend which acts like an EEPROM on the connected |
| 7 | I2C bus. The memory contents can be modified from userspace via this file |
| 8 | located in sysfs: |
| 9 | |
Masanari Iida | 2e049d6 | 2016-02-02 20:41:25 +0900 | [diff] [blame] | 10 | /sys/bus/i2c/devices/<device-directory>/slave-eeprom |
Wolfram Sang | d0c892f | 2015-03-23 09:26:38 +0100 | [diff] [blame] | 11 | |
| 12 | As of 2015, Linux doesn't support poll on binary sysfs files, so there is no |
Masanari Iida | 2e049d6 | 2016-02-02 20:41:25 +0900 | [diff] [blame] | 13 | notification when another master changed the content. |
Wolfram Sang | d0c892f | 2015-03-23 09:26:38 +0100 | [diff] [blame] | 14 | |