swh:1:snp:c2847dfd741eae21606027cf29250d1ebcd63fb4
Raw File
Tip revision: 8005c49d9aea74d382f474ce11afbbc7d7130bec authored by Linus Torvalds on 16 November 2015, 01:00:27 UTC
Linux 4.4-rc1
Tip revision: 8005c49
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-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.

back to top