diff options
-rw-r--r-- | drivers/i2c/Kconfig | 17 | ||||
-rw-r--r-- | drivers/i2c/busses/Kconfig | 14 |
2 files changed, 17 insertions, 14 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 | ||
5 | menuconfig I2C | 5 | menuconfig 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 | ||
50 | config I2C_MUX | 50 | config 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 | |||
86 | source drivers/i2c/algos/Kconfig | 87 | source drivers/i2c/algos/Kconfig |
87 | source drivers/i2c/busses/Kconfig | 88 | source drivers/i2c/busses/Kconfig |
88 | 89 | ||
90 | config 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 | |||
89 | config I2C_DEBUG_CORE | 103 | config 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 | ||
104 | config I2C_DEBUG_BUS | 118 | config 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 |
diff --git a/drivers/i2c/busses/Kconfig b/drivers/i2c/busses/Kconfig index 42d9fdd63de0..8eed054e3293 100644 --- a/drivers/i2c/busses/Kconfig +++ b/drivers/i2c/busses/Kconfig | |||
@@ -3,6 +3,7 @@ | |||
3 | # | 3 | # |
4 | 4 | ||
5 | menu "I2C Hardware Bus support" | 5 | menu "I2C Hardware Bus support" |
6 | depends on HAS_IOMEM | ||
6 | 7 | ||
7 | comment "PC SMBus host controller drivers" | 8 | comment "PC SMBus host controller drivers" |
8 | depends on PCI | 9 | depends on PCI |
@@ -849,19 +850,6 @@ config I2C_SIBYTE | |||
849 | help | 850 | help |
850 | Supports the SiByte SOC on-chip I2C interfaces (2 channels). | 851 | Supports the SiByte SOC on-chip I2C interfaces (2 channels). |
851 | 852 | ||
852 | config I2C_STUB | ||
853 | tristate "I2C/SMBus Test Stub" | ||
854 | depends on EXPERIMENTAL && m | ||
855 | default 'n' | ||
856 | help | ||
857 | This module may be useful to developers of SMBus client drivers, | ||
858 | especially for certain kinds of sensor chips. | ||
859 | |||
860 | If you do build this module, be sure to read the notes and warnings | ||
861 | in <file:Documentation/i2c/i2c-stub>. | ||
862 | |||
863 | If you don't know what to do here, definitely say N. | ||
864 | |||
865 | config SCx200_I2C | 853 | config SCx200_I2C |
866 | tristate "NatSemi SCx200 I2C using GPIO pins (DEPRECATED)" | 854 | tristate "NatSemi SCx200 I2C using GPIO pins (DEPRECATED)" |
867 | depends on SCx200_GPIO | 855 | depends on SCx200_GPIO |