mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-25 13:14:07 +08:00
ccf988b66d
Convert each file at I2C subsystem, renaming them to .rst and adding to the driver-api book. Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org> Acked-by: Wolfram Sang <wsa@the-dreams.de> Acked-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Acked-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> Signed-off-by: Jonathan Corbet <corbet@lwn.net>
15 lines
507 B
ReStructuredText
15 lines
507 B
ReStructuredText
==============================
|
|
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.
|