Squashed backup commit (no shallow-clone history issues) of xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2 branch, upstream commit 9eece662e) plus all fixes applied to get everpal_defconfig building clean against a modern (GCC 15.2.0) toolchain -- see the previous commit message on the lineage-23.2 branch (also in this repo history is not available here since this is a squashed snapshot; full incremental history lives in the local DL380 checkout and the upstream GitHub remote). Upstream: https://github.com/xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2)
15 lines
476 B
Plaintext
15 lines
476 B
Plaintext
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.
|
|
|