aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Engelhardt <jengelh@linux01.gwdg.de>2007-05-01 17:26:34 -0400
committerJean Delvare <khali@hyperion.delvare>2007-05-01 17:26:34 -0400
commit16538e6b32600f76ad212d42fc2b1f801e32ab4b (patch)
treee63d5eda9af87ce6e587f79a4b10a0982d36480c
parentb86a1bc8e39641d0c4676943b77a3486ee296db8 (diff)
Use menuconfig objects - I2C
Allow the whole I2C menu to be disabled at once without diving into the submenus for deselecting all options (should the user desire so). Signed-off-by: Jan Engelhardt <jengelh@gmx.de> Signed-off-by: Jean Delvare <khali@linux-fr.org>
-rw-r--r--drivers/i2c/Kconfig15
-rw-r--r--drivers/i2c/algos/Kconfig8
-rw-r--r--drivers/i2c/busses/Kconfig91
-rw-r--r--drivers/i2c/chips/Kconfig21
4 files changed, 60 insertions, 75 deletions
diff --git a/drivers/i2c/Kconfig b/drivers/i2c/Kconfig
index 74c8518b69e7..434a61b415a3 100644
--- a/drivers/i2c/Kconfig
+++ b/drivers/i2c/Kconfig
@@ -2,9 +2,7 @@
2# I2C subsystem configuration 2# I2C subsystem configuration
3# 3#
4 4
5menu "I2C support" 5menuconfig I2C
6
7config I2C
8 tristate "I2C support" 6 tristate "I2C support"
9 ---help--- 7 ---help---
10 I2C (pronounce: I-square-C) is a slow serial bus protocol used in 8 I2C (pronounce: I-square-C) is a slow serial bus protocol used in
@@ -22,14 +20,14 @@ config I2C
22 This I2C support can also be built as a module. If so, the module 20 This I2C support can also be built as a module. If so, the module
23 will be called i2c-core. 21 will be called i2c-core.
24 22
23if I2C
24
25config I2C_BOARDINFO 25config I2C_BOARDINFO
26 boolean 26 boolean
27 depends on I2C
28 default y 27 default y
29 28
30config I2C_CHARDEV 29config I2C_CHARDEV
31 tristate "I2C device interface" 30 tristate "I2C device interface"
32 depends on I2C
33 help 31 help
34 Say Y here to use i2c-* device files, usually found in the /dev 32 Say Y here to use i2c-* device files, usually found in the /dev
35 directory on your system. They make it possible to have user-space 33 directory on your system. They make it possible to have user-space
@@ -45,7 +43,6 @@ source drivers/i2c/chips/Kconfig
45 43
46config I2C_DEBUG_CORE 44config I2C_DEBUG_CORE
47 bool "I2C Core debugging messages" 45 bool "I2C Core debugging messages"
48 depends on I2C
49 help 46 help
50 Say Y here if you want the I2C core to produce a bunch of debug 47 Say Y here if you want the I2C core to produce a bunch of debug
51 messages to the system log. Select this if you are having a 48 messages to the system log. Select this if you are having a
@@ -53,7 +50,6 @@ config I2C_DEBUG_CORE
53 50
54config I2C_DEBUG_ALGO 51config I2C_DEBUG_ALGO
55 bool "I2C Algorithm debugging messages" 52 bool "I2C Algorithm debugging messages"
56 depends on I2C
57 help 53 help
58 Say Y here if you want the I2C algorithm drivers to produce a bunch 54 Say Y here if you want the I2C algorithm drivers to produce a bunch
59 of debug messages to the system log. Select this if you are having 55 of debug messages to the system log. Select this if you are having
@@ -62,7 +58,6 @@ config I2C_DEBUG_ALGO
62 58
63config I2C_DEBUG_BUS 59config I2C_DEBUG_BUS
64 bool "I2C Bus debugging messages" 60 bool "I2C Bus debugging messages"
65 depends on I2C
66 help 61 help
67 Say Y here if you want the I2C bus drivers to produce a bunch of 62 Say Y here if you want the I2C bus drivers to produce a bunch of
68 debug messages to the system log. Select this if you are having 63 debug messages to the system log. Select this if you are having
@@ -71,12 +66,10 @@ config I2C_DEBUG_BUS
71 66
72config I2C_DEBUG_CHIP 67config I2C_DEBUG_CHIP
73 bool "I2C Chip debugging messages" 68 bool "I2C Chip debugging messages"
74 depends on I2C
75 help 69 help
76 Say Y here if you want the I2C chip drivers to produce a bunch of 70 Say Y here if you want the I2C chip drivers to produce a bunch of
77 debug messages to the system log. Select this if you are having 71 debug messages to the system log. Select this if you are having
78 a problem with I2C support and want to see more of what is going 72 a problem with I2C support and want to see more of what is going
79 on. 73 on.
80 74
81endmenu 75endif # I2C
82
diff --git a/drivers/i2c/algos/Kconfig b/drivers/i2c/algos/Kconfig
index af0203409dd1..58899078810b 100644
--- a/drivers/i2c/algos/Kconfig
+++ b/drivers/i2c/algos/Kconfig
@@ -3,11 +3,9 @@
3# 3#
4 4
5menu "I2C Algorithms" 5menu "I2C Algorithms"
6 depends on I2C
7 6
8config I2C_ALGOBIT 7config I2C_ALGOBIT
9 tristate "I2C bit-banging interfaces" 8 tristate "I2C bit-banging interfaces"
10 depends on I2C
11 help 9 help
12 This allows you to use a range of I2C adapters called bit-banging 10 This allows you to use a range of I2C adapters called bit-banging
13 adapters. Say Y if you own an I2C adapter belonging to this class 11 adapters. Say Y if you own an I2C adapter belonging to this class
@@ -18,7 +16,6 @@ config I2C_ALGOBIT
18 16
19config I2C_ALGOPCF 17config I2C_ALGOPCF
20 tristate "I2C PCF 8584 interfaces" 18 tristate "I2C PCF 8584 interfaces"
21 depends on I2C
22 help 19 help
23 This allows you to use a range of I2C adapters called PCF adapters. 20 This allows you to use a range of I2C adapters called PCF adapters.
24 Say Y if you own an I2C adapter belonging to this class and then say 21 Say Y if you own an I2C adapter belonging to this class and then say
@@ -29,7 +26,6 @@ config I2C_ALGOPCF
29 26
30config I2C_ALGOPCA 27config I2C_ALGOPCA
31 tristate "I2C PCA 9564 interfaces" 28 tristate "I2C PCA 9564 interfaces"
32 depends on I2C
33 help 29 help
34 This allows you to use a range of I2C adapters called PCA adapters. 30 This allows you to use a range of I2C adapters called PCA adapters.
35 Say Y if you own an I2C adapter belonging to this class and then say 31 Say Y if you own an I2C adapter belonging to this class and then say
@@ -40,11 +36,11 @@ config I2C_ALGOPCA
40 36
41config I2C_ALGO8XX 37config I2C_ALGO8XX
42 tristate "MPC8xx CPM I2C interface" 38 tristate "MPC8xx CPM I2C interface"
43 depends on 8xx && I2C 39 depends on 8xx
44 40
45config I2C_ALGO_SGI 41config I2C_ALGO_SGI
46 tristate "I2C SGI interfaces" 42 tristate "I2C SGI interfaces"
47 depends on I2C && (SGI_IP22 || SGI_IP32 || X86_VISWS) 43 depends on SGI_IP22 || SGI_IP32 || X86_VISWS
48 help 44 help
49 Supports the SGI interfaces like the ones found on SGI Indy VINO 45 Supports the SGI interfaces like the ones found on SGI Indy VINO
50 or SGI O2 MACE. 46 or SGI O2 MACE.
diff --git a/drivers/i2c/busses/Kconfig b/drivers/i2c/busses/Kconfig
index 62b9363dd40e..8ccf6e4e91d0 100644
--- a/drivers/i2c/busses/Kconfig
+++ b/drivers/i2c/busses/Kconfig
@@ -3,11 +3,10 @@
3# 3#
4 4
5menu "I2C Hardware Bus support" 5menu "I2C Hardware Bus support"
6 depends on I2C
7 6
8config I2C_ALI1535 7config I2C_ALI1535
9 tristate "ALI 1535" 8 tristate "ALI 1535"
10 depends on I2C && PCI 9 depends on PCI
11 help 10 help
12 If you say yes to this option, support will be included for the SMB 11 If you say yes to this option, support will be included for the SMB
13 Host controller on Acer Labs Inc. (ALI) M1535 South Bridges. The SMB 12 Host controller on Acer Labs Inc. (ALI) M1535 South Bridges. The SMB
@@ -19,7 +18,7 @@ config I2C_ALI1535
19 18
20config I2C_ALI1563 19config I2C_ALI1563
21 tristate "ALI 1563" 20 tristate "ALI 1563"
22 depends on I2C && PCI && EXPERIMENTAL 21 depends on PCI && EXPERIMENTAL
23 help 22 help
24 If you say yes to this option, support will be included for the SMB 23 If you say yes to this option, support will be included for the SMB
25 Host controller on Acer Labs Inc. (ALI) M1563 South Bridges. The SMB 24 Host controller on Acer Labs Inc. (ALI) M1563 South Bridges. The SMB
@@ -31,7 +30,7 @@ config I2C_ALI1563
31 30
32config I2C_ALI15X3 31config I2C_ALI15X3
33 tristate "ALI 15x3" 32 tristate "ALI 15x3"
34 depends on I2C && PCI 33 depends on PCI
35 help 34 help
36 If you say yes to this option, support will be included for the 35 If you say yes to this option, support will be included for the
37 Acer Labs Inc. (ALI) M1514 and M1543 motherboard I2C interfaces. 36 Acer Labs Inc. (ALI) M1514 and M1543 motherboard I2C interfaces.
@@ -41,7 +40,7 @@ config I2C_ALI15X3
41 40
42config I2C_AMD756 41config I2C_AMD756
43 tristate "AMD 756/766/768/8111 and nVidia nForce" 42 tristate "AMD 756/766/768/8111 and nVidia nForce"
44 depends on I2C && PCI 43 depends on PCI
45 help 44 help
46 If you say yes to this option, support will be included for the AMD 45 If you say yes to this option, support will be included for the AMD
47 756/766/768 mainboard I2C interfaces. The driver also includes 46 756/766/768 mainboard I2C interfaces. The driver also includes
@@ -66,7 +65,7 @@ config I2C_AMD756_S4882
66 65
67config I2C_AMD8111 66config I2C_AMD8111
68 tristate "AMD 8111" 67 tristate "AMD 8111"
69 depends on I2C && PCI 68 depends on PCI
70 help 69 help
71 If you say yes to this option, support will be included for the 70 If you say yes to this option, support will be included for the
72 second (SMBus 2.0) AMD 8111 mainboard I2C interface. 71 second (SMBus 2.0) AMD 8111 mainboard I2C interface.
@@ -76,14 +75,14 @@ config I2C_AMD8111
76 75
77config I2C_AT91 76config I2C_AT91
78 tristate "Atmel AT91 I2C Two-Wire interface (TWI)" 77 tristate "Atmel AT91 I2C Two-Wire interface (TWI)"
79 depends on I2C && ARCH_AT91 && EXPERIMENTAL 78 depends on ARCH_AT91 && EXPERIMENTAL
80 help 79 help
81 This supports the use of the I2C interface on Atmel AT91 80 This supports the use of the I2C interface on Atmel AT91
82 processors. 81 processors.
83 82
84config I2C_AU1550 83config I2C_AU1550
85 tristate "Au1550/Au1200 SMBus interface" 84 tristate "Au1550/Au1200 SMBus interface"
86 depends on I2C && (SOC_AU1550 || SOC_AU1200) 85 depends on SOC_AU1550 || SOC_AU1200
87 help 86 help
88 If you say yes to this option, support will be included for the 87 If you say yes to this option, support will be included for the
89 Au1550 and Au1200 SMBus interface. 88 Au1550 and Au1200 SMBus interface.
@@ -93,7 +92,7 @@ config I2C_AU1550
93 92
94config I2C_BLACKFIN_TWI 93config I2C_BLACKFIN_TWI
95 tristate "Blackfin TWI I2C support" 94 tristate "Blackfin TWI I2C support"
96 depends on I2C && (BF534 || BF536 || BF537) 95 depends on BF534 || BF536 || BF537
97 help 96 help
98 This is the TWI I2C device driver for Blackfin 534/536/537. 97 This is the TWI I2C device driver for Blackfin 534/536/537.
99 This driver can also be built as a module. If so, the module 98 This driver can also be built as a module. If so, the module
@@ -109,7 +108,7 @@ config I2C_BLACKFIN_TWI_CLK_KHZ
109 108
110config I2C_ELEKTOR 109config I2C_ELEKTOR
111 tristate "Elektor ISA card" 110 tristate "Elektor ISA card"
112 depends on I2C && ISA && BROKEN_ON_SMP 111 depends on ISA && BROKEN_ON_SMP
113 select I2C_ALGOPCF 112 select I2C_ALGOPCF
114 help 113 help
115 This supports the PCF8584 ISA bus I2C adapter. Say Y if you own 114 This supports the PCF8584 ISA bus I2C adapter. Say Y if you own
@@ -120,7 +119,7 @@ config I2C_ELEKTOR
120 119
121config I2C_HYDRA 120config I2C_HYDRA
122 tristate "CHRP Apple Hydra Mac I/O I2C interface" 121 tristate "CHRP Apple Hydra Mac I/O I2C interface"
123 depends on I2C && PCI && PPC_CHRP && EXPERIMENTAL 122 depends on PCI && PPC_CHRP && EXPERIMENTAL
124 select I2C_ALGOBIT 123 select I2C_ALGOBIT
125 help 124 help
126 This supports the use of the I2C interface in the Apple Hydra Mac 125 This supports the use of the I2C interface in the Apple Hydra Mac
@@ -132,7 +131,7 @@ config I2C_HYDRA
132 131
133config I2C_I801 132config I2C_I801
134 tristate "Intel 82801 (ICH)" 133 tristate "Intel 82801 (ICH)"
135 depends on I2C && PCI 134 depends on PCI
136 help 135 help
137 If you say yes to this option, support will be included for the Intel 136 If you say yes to this option, support will be included for the Intel
138 801 family of mainboard I2C interfaces. Specifically, the following 137 801 family of mainboard I2C interfaces. Specifically, the following
@@ -155,7 +154,7 @@ config I2C_I801
155 154
156config I2C_I810 155config I2C_I810
157 tristate "Intel 810/815" 156 tristate "Intel 810/815"
158 depends on I2C && PCI 157 depends on PCI
159 select I2C_ALGOBIT 158 select I2C_ALGOBIT
160 help 159 help
161 If you say yes to this option, support will be included for the Intel 160 If you say yes to this option, support will be included for the Intel
@@ -172,7 +171,7 @@ config I2C_I810
172 171
173config I2C_PXA 172config I2C_PXA
174 tristate "Intel PXA2XX I2C adapter (EXPERIMENTAL)" 173 tristate "Intel PXA2XX I2C adapter (EXPERIMENTAL)"
175 depends on I2C && EXPERIMENTAL && ARCH_PXA 174 depends on EXPERIMENTAL && ARCH_PXA
176 help 175 help
177 If you have devices in the PXA I2C bus, say yes to this option. 176 If you have devices in the PXA I2C bus, say yes to this option.
178 This driver can also be built as a module. If so, the module 177 This driver can also be built as a module. If so, the module
@@ -188,7 +187,7 @@ config I2C_PXA_SLAVE
188 187
189config I2C_PIIX4 188config I2C_PIIX4
190 tristate "Intel PIIX4 and compatible (ATI/Serverworks/Broadcom/SMSC)" 189 tristate "Intel PIIX4 and compatible (ATI/Serverworks/Broadcom/SMSC)"
191 depends on I2C && PCI 190 depends on PCI
192 help 191 help
193 If you say yes to this option, support will be included for the Intel 192 If you say yes to this option, support will be included for the Intel
194 PIIX4 family of mainboard I2C interfaces. Specifically, the following 193 PIIX4 family of mainboard I2C interfaces. Specifically, the following
@@ -211,7 +210,7 @@ config I2C_PIIX4
211 210
212config I2C_IBM_IIC 211config I2C_IBM_IIC
213 tristate "IBM PPC 4xx on-chip I2C interface" 212 tristate "IBM PPC 4xx on-chip I2C interface"
214 depends on IBM_OCP && I2C 213 depends on IBM_OCP
215 help 214 help
216 Say Y here if you want to use IIC peripheral found on 215 Say Y here if you want to use IIC peripheral found on
217 embedded IBM PPC 4xx based systems. 216 embedded IBM PPC 4xx based systems.
@@ -221,7 +220,7 @@ config I2C_IBM_IIC
221 220
222config I2C_IOP3XX 221config I2C_IOP3XX
223 tristate "Intel IOPx3xx and IXP4xx on-chip I2C interface" 222 tristate "Intel IOPx3xx and IXP4xx on-chip I2C interface"
224 depends on (ARCH_IOP32X || ARCH_IOP33X || ARCH_IXP4XX || ARCH_IOP13XX) && I2C 223 depends on ARCH_IOP32X || ARCH_IOP33X || ARCH_IXP4XX || ARCH_IOP13XX
225 help 224 help
226 Say Y here if you want to use the IIC bus controller on 225 Say Y here if you want to use the IIC bus controller on
227 the Intel IOPx3xx I/O Processors or IXP4xx Network Processors. 226 the Intel IOPx3xx I/O Processors or IXP4xx Network Processors.
@@ -231,11 +230,10 @@ config I2C_IOP3XX
231 230
232config I2C_ISA 231config I2C_ISA
233 tristate 232 tristate
234 depends on I2C
235 233
236config I2C_IXP4XX 234config I2C_IXP4XX
237 tristate "IXP4xx GPIO-Based I2C Interface" 235 tristate "IXP4xx GPIO-Based I2C Interface"
238 depends on I2C && ARCH_IXP4XX 236 depends on ARCH_IXP4XX
239 select I2C_ALGOBIT 237 select I2C_ALGOBIT
240 help 238 help
241 Say Y here if you have an Intel IXP4xx(420,421,422,425) based 239 Say Y here if you have an Intel IXP4xx(420,421,422,425) based
@@ -246,7 +244,7 @@ config I2C_IXP4XX
246 244
247config I2C_IXP2000 245config I2C_IXP2000
248 tristate "IXP2000 GPIO-Based I2C Interface" 246 tristate "IXP2000 GPIO-Based I2C Interface"
249 depends on I2C && ARCH_IXP2000 247 depends on ARCH_IXP2000
250 select I2C_ALGOBIT 248 select I2C_ALGOBIT
251 help 249 help
252 Say Y here if you have an Intel IXP2000(2400, 2800, 2850) based 250 Say Y here if you have an Intel IXP2000(2400, 2800, 2850) based
@@ -257,7 +255,7 @@ config I2C_IXP2000
257 255
258config I2C_POWERMAC 256config I2C_POWERMAC
259 tristate "Powermac I2C interface" 257 tristate "Powermac I2C interface"
260 depends on I2C && PPC_PMAC 258 depends on PPC_PMAC
261 default y 259 default y
262 help 260 help
263 This exposes the various PowerMac i2c interfaces to the linux i2c 261 This exposes the various PowerMac i2c interfaces to the linux i2c
@@ -269,7 +267,7 @@ config I2C_POWERMAC
269 267
270config I2C_MPC 268config I2C_MPC
271 tristate "MPC107/824x/85xx/52xx/86xx" 269 tristate "MPC107/824x/85xx/52xx/86xx"
272 depends on I2C && PPC32 270 depends on PPC32
273 help 271 help
274 If you say yes to this option, support will be included for the 272 If you say yes to this option, support will be included for the
275 built-in I2C interface on the MPC107/Tsi107/MPC8240/MPC8245 and 273 built-in I2C interface on the MPC107/Tsi107/MPC8240/MPC8245 and
@@ -281,7 +279,7 @@ config I2C_MPC
281 279
282config I2C_NFORCE2 280config I2C_NFORCE2
283 tristate "Nvidia nForce2, nForce3 and nForce4" 281 tristate "Nvidia nForce2, nForce3 and nForce4"
284 depends on I2C && PCI 282 depends on PCI
285 help 283 help
286 If you say yes to this option, support will be included for the Nvidia 284 If you say yes to this option, support will be included for the Nvidia
287 nForce2, nForce3 and nForce4 families of mainboard I2C interfaces. 285 nForce2, nForce3 and nForce4 families of mainboard I2C interfaces.
@@ -291,7 +289,7 @@ config I2C_NFORCE2
291 289
292config I2C_OCORES 290config I2C_OCORES
293 tristate "OpenCores I2C Controller" 291 tristate "OpenCores I2C Controller"
294 depends on I2C && EXPERIMENTAL 292 depends on EXPERIMENTAL
295 help 293 help
296 If you say yes to this option, support will be included for the 294 If you say yes to this option, support will be included for the
297 OpenCores I2C controller. For details see 295 OpenCores I2C controller. For details see
@@ -302,7 +300,7 @@ config I2C_OCORES
302 300
303config I2C_OMAP 301config I2C_OMAP
304 tristate "OMAP I2C adapter" 302 tristate "OMAP I2C adapter"
305 depends on I2C && ARCH_OMAP 303 depends on ARCH_OMAP
306 default y if MACH_OMAP_H3 || MACH_OMAP_OSK 304 default y if MACH_OMAP_H3 || MACH_OMAP_OSK
307 help 305 help
308 If you say yes to this option, support will be included for the 306 If you say yes to this option, support will be included for the
@@ -312,7 +310,7 @@ config I2C_OMAP
312 310
313config I2C_PARPORT 311config I2C_PARPORT
314 tristate "Parallel port adapter" 312 tristate "Parallel port adapter"
315 depends on I2C && PARPORT 313 depends on PARPORT
316 select I2C_ALGOBIT 314 select I2C_ALGOBIT
317 help 315 help
318 This supports parallel port I2C adapters such as the ones made by 316 This supports parallel port I2C adapters such as the ones made by
@@ -336,7 +334,6 @@ config I2C_PARPORT
336 334
337config I2C_PARPORT_LIGHT 335config I2C_PARPORT_LIGHT
338 tristate "Parallel port adapter (light)" 336 tristate "Parallel port adapter (light)"
339 depends on I2C
340 select I2C_ALGOBIT 337 select I2C_ALGOBIT
341 help 338 help
342 This supports parallel port I2C adapters such as the ones made by 339 This supports parallel port I2C adapters such as the ones made by
@@ -360,13 +357,13 @@ config I2C_PARPORT_LIGHT
360 357
361config I2C_PASEMI 358config I2C_PASEMI
362 tristate "PA Semi SMBus interface" 359 tristate "PA Semi SMBus interface"
363 depends on PPC_PASEMI && I2C && PCI 360 depends on PPC_PASEMI && PCI
364 help 361 help
365 Supports the PA Semi PWRficient on-chip SMBus interfaces. 362 Supports the PA Semi PWRficient on-chip SMBus interfaces.
366 363
367config I2C_PROSAVAGE 364config I2C_PROSAVAGE
368 tristate "S3/VIA (Pro)Savage" 365 tristate "S3/VIA (Pro)Savage"
369 depends on I2C && PCI 366 depends on PCI
370 select I2C_ALGOBIT 367 select I2C_ALGOBIT
371 help 368 help
372 If you say yes to this option, support will be included for the 369 If you say yes to this option, support will be included for the
@@ -381,19 +378,19 @@ config I2C_PROSAVAGE
381 378
382config I2C_RPXLITE 379config I2C_RPXLITE
383 tristate "Embedded Planet RPX Lite/Classic support" 380 tristate "Embedded Planet RPX Lite/Classic support"
384 depends on (RPXLITE || RPXCLASSIC) && I2C 381 depends on RPXLITE || RPXCLASSIC
385 select I2C_ALGO8XX 382 select I2C_ALGO8XX
386 383
387config I2C_S3C2410 384config I2C_S3C2410
388 tristate "S3C2410 I2C Driver" 385 tristate "S3C2410 I2C Driver"
389 depends on I2C && ARCH_S3C2410 386 depends on ARCH_S3C2410
390 help 387 help
391 Say Y here to include support for I2C controller in the 388 Say Y here to include support for I2C controller in the
392 Samsung S3C2410 based System-on-Chip devices. 389 Samsung S3C2410 based System-on-Chip devices.
393 390
394config I2C_SAVAGE4 391config I2C_SAVAGE4
395 tristate "S3 Savage 4" 392 tristate "S3 Savage 4"
396 depends on I2C && PCI && EXPERIMENTAL 393 depends on PCI && EXPERIMENTAL
397 select I2C_ALGOBIT 394 select I2C_ALGOBIT
398 help 395 help
399 If you say yes to this option, support will be included for the 396 If you say yes to this option, support will be included for the
@@ -404,13 +401,13 @@ config I2C_SAVAGE4
404 401
405config I2C_SIBYTE 402config I2C_SIBYTE
406 tristate "SiByte SMBus interface" 403 tristate "SiByte SMBus interface"
407 depends on SIBYTE_SB1xxx_SOC && I2C 404 depends on SIBYTE_SB1xxx_SOC
408 help 405 help
409 Supports the SiByte SOC on-chip I2C interfaces (2 channels). 406 Supports the SiByte SOC on-chip I2C interfaces (2 channels).
410 407
411config SCx200_I2C 408config SCx200_I2C
412 tristate "NatSemi SCx200 I2C using GPIO pins" 409 tristate "NatSemi SCx200 I2C using GPIO pins"
413 depends on SCx200_GPIO && I2C 410 depends on SCx200_GPIO
414 select I2C_ALGOBIT 411 select I2C_ALGOBIT
415 help 412 help
416 Enable the use of two GPIO pins of a SCx200 processor as an I2C bus. 413 Enable the use of two GPIO pins of a SCx200 processor as an I2C bus.
@@ -438,7 +435,7 @@ config SCx200_I2C_SDA
438 435
439config SCx200_ACB 436config SCx200_ACB
440 tristate "Geode ACCESS.bus support" 437 tristate "Geode ACCESS.bus support"
441 depends on X86_32 && I2C && PCI 438 depends on X86_32 && PCI
442 help 439 help
443 Enable the use of the ACCESS.bus controllers on the Geode SCx200 and 440 Enable the use of the ACCESS.bus controllers on the Geode SCx200 and
444 SC1100 processors and the CS5535 and CS5536 Geode companion devices. 441 SC1100 processors and the CS5535 and CS5536 Geode companion devices.
@@ -450,7 +447,7 @@ config SCx200_ACB
450 447
451config I2C_SIS5595 448config I2C_SIS5595
452 tristate "SiS 5595" 449 tristate "SiS 5595"
453 depends on I2C && PCI 450 depends on PCI
454 help 451 help
455 If you say yes to this option, support will be included for the 452 If you say yes to this option, support will be included for the
456 SiS5595 SMBus (a subset of I2C) interface. 453 SiS5595 SMBus (a subset of I2C) interface.
@@ -460,7 +457,7 @@ config I2C_SIS5595
460 457
461config I2C_SIS630 458config I2C_SIS630
462 tristate "SiS 630/730" 459 tristate "SiS 630/730"
463 depends on I2C && PCI 460 depends on PCI
464 help 461 help
465 If you say yes to this option, support will be included for the 462 If you say yes to this option, support will be included for the
466 SiS630 and SiS730 SMBus (a subset of I2C) interface. 463 SiS630 and SiS730 SMBus (a subset of I2C) interface.
@@ -470,7 +467,7 @@ config I2C_SIS630
470 467
471config I2C_SIS96X 468config I2C_SIS96X
472 tristate "SiS 96x" 469 tristate "SiS 96x"
473 depends on I2C && PCI 470 depends on PCI
474 help 471 help
475 If you say yes to this option, support will be included for the SiS 472 If you say yes to this option, support will be included for the SiS
476 96x SMBus (a subset of I2C) interfaces. Specifically, the following 473 96x SMBus (a subset of I2C) interfaces. Specifically, the following
@@ -488,7 +485,7 @@ config I2C_SIS96X
488 485
489config I2C_STUB 486config I2C_STUB
490 tristate "I2C/SMBus Test Stub" 487 tristate "I2C/SMBus Test Stub"
491 depends on I2C && EXPERIMENTAL && 'm' 488 depends on EXPERIMENTAL && m
492 default 'n' 489 default 'n'
493 help 490 help
494 This module may be useful to developers of SMBus client drivers, 491 This module may be useful to developers of SMBus client drivers,
@@ -501,7 +498,7 @@ config I2C_STUB
501 498
502config I2C_VERSATILE 499config I2C_VERSATILE
503 tristate "ARM Versatile/Realview I2C bus support" 500 tristate "ARM Versatile/Realview I2C bus support"
504 depends on I2C && (ARCH_VERSATILE || ARCH_REALVIEW) 501 depends on ARCH_VERSATILE || ARCH_REALVIEW
505 select I2C_ALGOBIT 502 select I2C_ALGOBIT
506 help 503 help
507 Say yes if you want to support the I2C serial bus on ARMs Versatile 504 Say yes if you want to support the I2C serial bus on ARMs Versatile
@@ -512,7 +509,7 @@ config I2C_VERSATILE
512 509
513config I2C_ACORN 510config I2C_ACORN
514 bool "Acorn IOC/IOMD I2C bus support" 511 bool "Acorn IOC/IOMD I2C bus support"
515 depends on I2C && ARCH_ACORN 512 depends on ARCH_ACORN
516 default y 513 default y
517 select I2C_ALGOBIT 514 select I2C_ALGOBIT
518 help 515 help
@@ -522,7 +519,7 @@ config I2C_ACORN
522 519
523config I2C_VIA 520config I2C_VIA
524 tristate "VIA 82C586B" 521 tristate "VIA 82C586B"
525 depends on I2C && PCI && EXPERIMENTAL 522 depends on PCI && EXPERIMENTAL
526 select I2C_ALGOBIT 523 select I2C_ALGOBIT
527 help 524 help
528 If you say yes to this option, support will be included for the VIA 525 If you say yes to this option, support will be included for the VIA
@@ -533,7 +530,7 @@ config I2C_VIA
533 530
534config I2C_VIAPRO 531config I2C_VIAPRO
535 tristate "VIA VT82C596/82C686/82xx and CX700" 532 tristate "VIA VT82C596/82C686/82xx and CX700"
536 depends on I2C && PCI 533 depends on PCI
537 help 534 help
538 If you say yes to this option, support will be included for the VIA 535 If you say yes to this option, support will be included for the VIA
539 VT82C596 and later SMBus interface. Specifically, the following 536 VT82C596 and later SMBus interface. Specifically, the following
@@ -552,7 +549,7 @@ config I2C_VIAPRO
552 549
553config I2C_VOODOO3 550config I2C_VOODOO3
554 tristate "Voodoo 3" 551 tristate "Voodoo 3"
555 depends on I2C && PCI 552 depends on PCI
556 select I2C_ALGOBIT 553 select I2C_ALGOBIT
557 help 554 help
558 If you say yes to this option, support will be included for the 555 If you say yes to this option, support will be included for the
@@ -563,7 +560,7 @@ config I2C_VOODOO3
563 560
564config I2C_PCA_ISA 561config I2C_PCA_ISA
565 tristate "PCA9564 on an ISA bus" 562 tristate "PCA9564 on an ISA bus"
566 depends on I2C && ISA 563 depends on ISA
567 select I2C_ALGOPCA 564 select I2C_ALGOPCA
568 default n 565 default n
569 help 566 help
@@ -580,7 +577,7 @@ config I2C_PCA_ISA
580 577
581config I2C_MV64XXX 578config I2C_MV64XXX
582 tristate "Marvell mv64xxx I2C Controller" 579 tristate "Marvell mv64xxx I2C Controller"
583 depends on I2C && MV64X60 && EXPERIMENTAL 580 depends on MV64X60 && EXPERIMENTAL
584 help 581 help
585 If you say yes to this option, support will be included for the 582 If you say yes to this option, support will be included for the
586 built-in I2C interface on the Marvell 64xxx line of host bridges. 583 built-in I2C interface on the Marvell 64xxx line of host bridges.
@@ -590,7 +587,7 @@ config I2C_MV64XXX
590 587
591config I2C_PNX 588config I2C_PNX
592 tristate "I2C bus support for Philips PNX targets" 589 tristate "I2C bus support for Philips PNX targets"
593 depends on ARCH_PNX4008 && I2C 590 depends on ARCH_PNX4008
594 help 591 help
595 This driver supports the Philips IP3204 I2C IP block master and/or 592 This driver supports the Philips IP3204 I2C IP block master and/or
596 slave controller 593 slave controller
diff --git a/drivers/i2c/chips/Kconfig b/drivers/i2c/chips/Kconfig
index 87ee3ce58618..ea085a006ead 100644
--- a/drivers/i2c/chips/Kconfig
+++ b/drivers/i2c/chips/Kconfig
@@ -3,11 +3,10 @@
3# 3#
4 4
5menu "Miscellaneous I2C Chip support" 5menu "Miscellaneous I2C Chip support"
6 depends on I2C
7 6
8config SENSORS_DS1337 7config SENSORS_DS1337
9 tristate "Dallas Semiconductor DS1337 and DS1339 Real Time Clock" 8 tristate "Dallas Semiconductor DS1337 and DS1339 Real Time Clock"
10 depends on I2C && EXPERIMENTAL 9 depends on EXPERIMENTAL
11 help 10 help
12 If you say yes here you get support for Dallas Semiconductor 11 If you say yes here you get support for Dallas Semiconductor
13 DS1337 and DS1339 real-time clock chips. 12 DS1337 and DS1339 real-time clock chips.
@@ -17,7 +16,7 @@ config SENSORS_DS1337
17 16
18config SENSORS_DS1374 17config SENSORS_DS1374
19 tristate "Maxim/Dallas Semiconductor DS1374 Real Time Clock" 18 tristate "Maxim/Dallas Semiconductor DS1374 Real Time Clock"
20 depends on I2C && EXPERIMENTAL 19 depends on EXPERIMENTAL
21 help 20 help
22 If you say yes here you get support for Dallas Semiconductor 21 If you say yes here you get support for Dallas Semiconductor
23 DS1374 real-time clock chips. 22 DS1374 real-time clock chips.
@@ -27,7 +26,7 @@ config SENSORS_DS1374
27 26
28config SENSORS_EEPROM 27config SENSORS_EEPROM
29 tristate "EEPROM reader" 28 tristate "EEPROM reader"
30 depends on I2C && EXPERIMENTAL 29 depends on EXPERIMENTAL
31 help 30 help
32 If you say yes here you get read-only access to the EEPROM data 31 If you say yes here you get read-only access to the EEPROM data
33 available on modern memory DIMMs and Sony Vaio laptops. Such 32 available on modern memory DIMMs and Sony Vaio laptops. Such
@@ -38,7 +37,7 @@ config SENSORS_EEPROM
38 37
39config SENSORS_PCF8574 38config SENSORS_PCF8574
40 tristate "Philips PCF8574 and PCF8574A" 39 tristate "Philips PCF8574 and PCF8574A"
41 depends on I2C && EXPERIMENTAL 40 depends on EXPERIMENTAL
42 default n 41 default n
43 help 42 help
44 If you say yes here you get support for Philips PCF8574 and 43 If you say yes here you get support for Philips PCF8574 and
@@ -52,7 +51,7 @@ config SENSORS_PCF8574
52 51
53config SENSORS_PCA9539 52config SENSORS_PCA9539
54 tristate "Philips PCA9539 16-bit I/O port" 53 tristate "Philips PCA9539 16-bit I/O port"
55 depends on I2C && EXPERIMENTAL 54 depends on EXPERIMENTAL
56 help 55 help
57 If you say yes here you get support for the Philips PCA9539 56 If you say yes here you get support for the Philips PCA9539
58 16-bit I/O port. 57 16-bit I/O port.
@@ -62,7 +61,7 @@ config SENSORS_PCA9539
62 61
63config SENSORS_PCF8591 62config SENSORS_PCF8591
64 tristate "Philips PCF8591" 63 tristate "Philips PCF8591"
65 depends on I2C && EXPERIMENTAL 64 depends on EXPERIMENTAL
66 default n 65 default n
67 help 66 help
68 If you say yes here you get support for Philips PCF8591 chips. 67 If you say yes here you get support for Philips PCF8591 chips.
@@ -75,7 +74,7 @@ config SENSORS_PCF8591
75 74
76config ISP1301_OMAP 75config ISP1301_OMAP
77 tristate "Philips ISP1301 with OMAP OTG" 76 tristate "Philips ISP1301 with OMAP OTG"
78 depends on I2C && ARCH_OMAP_OTG 77 depends on ARCH_OMAP_OTG
79 help 78 help
80 If you say yes here you get support for the Philips ISP1301 79 If you say yes here you get support for the Philips ISP1301
81 USB-On-The-Go transceiver working with the OMAP OTG controller. 80 USB-On-The-Go transceiver working with the OMAP OTG controller.
@@ -90,7 +89,7 @@ config ISP1301_OMAP
90# and having mostly OMAP-specific board support 89# and having mostly OMAP-specific board support
91config TPS65010 90config TPS65010
92 tristate "TPS6501x Power Management chips" 91 tristate "TPS6501x Power Management chips"
93 depends on I2C && ARCH_OMAP 92 depends on ARCH_OMAP
94 default y if MACH_OMAP_H2 || MACH_OMAP_H3 || MACH_OMAP_OSK 93 default y if MACH_OMAP_H2 || MACH_OMAP_H3 || MACH_OMAP_OSK
95 help 94 help
96 If you say yes here you get support for the TPS6501x series of 95 If you say yes here you get support for the TPS6501x series of
@@ -103,7 +102,7 @@ config TPS65010
103 102
104config SENSORS_M41T00 103config SENSORS_M41T00
105 tristate "ST M41T00 RTC chip" 104 tristate "ST M41T00 RTC chip"
106 depends on I2C && PPC32 105 depends on PPC32
107 help 106 help
108 If you say yes here you get support for the ST M41T00 RTC chip. 107 If you say yes here you get support for the ST M41T00 RTC chip.
109 108
@@ -112,7 +111,7 @@ config SENSORS_M41T00
112 111
113config SENSORS_MAX6875 112config SENSORS_MAX6875
114 tristate "Maxim MAX6875 Power supply supervisor" 113 tristate "Maxim MAX6875 Power supply supervisor"
115 depends on I2C && EXPERIMENTAL 114 depends on EXPERIMENTAL
116 help 115 help
117 If you say yes here you get support for the Maxim MAX6875 116 If you say yes here you get support for the Maxim MAX6875
118 EEPROM-programmable, quad power-supply sequencer/supervisor. 117 EEPROM-programmable, quad power-supply sequencer/supervisor.