diff options
author | Wolfram Sang <wsa+renesas@sang-engineering.com> | 2014-11-18 17:04:54 +0100 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2014-12-11 22:25:54 +0100 |
commit | 389be323cfac383e4d71dfeeaa1b0c3aec722a5f (patch) | |
tree | 04155c9c434199a5609b0b2e6217fb74d33d03f4 /drivers/i2c/Kconfig | |
parent | i2c: core changes for slave support (diff) | |
download | linux-389be323cfac383e4d71dfeeaa1b0c3aec722a5f.tar.xz linux-389be323cfac383e4d71dfeeaa1b0c3aec722a5f.zip |
i2c: slave-eeprom: add eeprom simulator driver
The first user of the i2c-slave interface is an eeprom simulator. It is
a shared memory which can be accessed by the remote master via I2C and
locally via sysfs.
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'drivers/i2c/Kconfig')
-rw-r--r-- | drivers/i2c/Kconfig | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/i2c/Kconfig b/drivers/i2c/Kconfig index b51a402752c4..8c9e619f3026 100644 --- a/drivers/i2c/Kconfig +++ b/drivers/i2c/Kconfig @@ -110,6 +110,16 @@ config I2C_STUB If you don't know what to do here, definitely say N. +config I2C_SLAVE + bool "I2C slave support" + +if I2C_SLAVE + +config I2C_SLAVE_EEPROM + tristate "I2C eeprom slave driver" + +endif + config I2C_DEBUG_CORE bool "I2C Core debugging messages" help |