aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/i2c/Kconfig
diff options
context:
space:
mode:
authorWolfram Sang <wsa+renesas@sang-engineering.com>2014-11-18 17:04:54 +0100
committerWolfram Sang <wsa@the-dreams.de>2014-12-11 22:25:54 +0100
commit389be323cfac383e4d71dfeeaa1b0c3aec722a5f (patch)
tree04155c9c434199a5609b0b2e6217fb74d33d03f4 /drivers/i2c/Kconfig
parenti2c: core changes for slave support (diff)
downloadlinux-dev-389be323cfac383e4d71dfeeaa1b0c3aec722a5f.tar.xz
linux-dev-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/Kconfig10
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