aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/i2c/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/i2c/Kconfig')
-rw-r--r--drivers/i2c/Kconfig17
1 files changed, 16 insertions, 1 deletions
diff --git a/drivers/i2c/Kconfig b/drivers/i2c/Kconfig
index 5a3bb3d738d8..2f8c76becc6b 100644
--- a/drivers/i2c/Kconfig
+++ b/drivers/i2c/Kconfig
@@ -4,7 +4,7 @@
4 4
5menuconfig I2C 5menuconfig I2C
6 tristate "I2C support" 6 tristate "I2C support"
7 depends on HAS_IOMEM 7 depends on !S390
8 select RT_MUTEXES 8 select RT_MUTEXES
9 ---help--- 9 ---help---
10 I2C (pronounce: I-squared-C) is a slow serial bus protocol used in 10 I2C (pronounce: I-squared-C) is a slow serial bus protocol used in
@@ -49,6 +49,7 @@ config I2C_CHARDEV
49 49
50config I2C_MUX 50config I2C_MUX
51 tristate "I2C bus multiplexing support" 51 tristate "I2C bus multiplexing support"
52 depends on HAS_IOMEM
52 help 53 help
53 Say Y here if you want the I2C core to support the ability to 54 Say Y here if you want the I2C core to support the ability to
54 handle multiplexed I2C bus topologies, by presenting each 55 handle multiplexed I2C bus topologies, by presenting each
@@ -86,6 +87,19 @@ config I2C_SMBUS
86source drivers/i2c/algos/Kconfig 87source drivers/i2c/algos/Kconfig
87source drivers/i2c/busses/Kconfig 88source drivers/i2c/busses/Kconfig
88 89
90config I2C_STUB
91 tristate "I2C/SMBus Test Stub"
92 depends on EXPERIMENTAL && m
93 default 'n'
94 help
95 This module may be useful to developers of SMBus client drivers,
96 especially for certain kinds of sensor chips.
97
98 If you do build this module, be sure to read the notes and warnings
99 in <file:Documentation/i2c/i2c-stub>.
100
101 If you don't know what to do here, definitely say N.
102
89config I2C_DEBUG_CORE 103config I2C_DEBUG_CORE
90 bool "I2C Core debugging messages" 104 bool "I2C Core debugging messages"
91 help 105 help
@@ -103,6 +117,7 @@ config I2C_DEBUG_ALGO
103 117
104config I2C_DEBUG_BUS 118config I2C_DEBUG_BUS
105 bool "I2C Bus debugging messages" 119 bool "I2C Bus debugging messages"
120 depends on HAS_IOMEM
106 help 121 help
107 Say Y here if you want the I2C bus drivers to produce a bunch of 122 Say Y here if you want the I2C bus drivers to produce a bunch of
108 debug messages to the system log. Select this if you are having 123 debug messages to the system log. Select this if you are having