mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 19:51:31 -04:00
i2c: slave: add documentation for i2c-slave-eeprom
Signed-off-by: Wolfram Sang <[email protected]> Acked-by: Geert Uytterhoeven <[email protected]> Signed-off-by: Wolfram Sang <[email protected]>
This commit is contained in:
parent
7c60375083
commit
d0c892f59c
1 changed files with 14 additions and 0 deletions
14
Documentation/i2c/slave-eeprom-backend
Normal file
14
Documentation/i2c/slave-eeprom-backend
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
Linux I2C slave eeprom backend
|
||||
==============================
|
||||
|
||||
by Wolfram Sang <[email protected]> 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.
|
||||
|
||||
Loading…
Reference in a new issue