aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/i2c/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/i2c/Kconfig')
-rw-r--r--drivers/i2c/Kconfig19
1 files changed, 9 insertions, 10 deletions
diff --git a/drivers/i2c/Kconfig b/drivers/i2c/Kconfig
index 11935f66fcd8..96867347bcbf 100644
--- a/drivers/i2c/Kconfig
+++ b/drivers/i2c/Kconfig
@@ -2,10 +2,9 @@
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"
7 depends on HAS_IOMEM
9 ---help--- 8 ---help---
10 I2C (pronounce: I-square-C) is a slow serial bus protocol used in 9 I2C (pronounce: I-square-C) is a slow serial bus protocol used in
11 many micro controller applications and developed by Philips. SMBus, 10 many micro controller applications and developed by Philips. SMBus,
@@ -22,9 +21,14 @@ config I2C
22 This I2C support can also be built as a module. If so, the module 21 This I2C support can also be built as a module. If so, the module
23 will be called i2c-core. 22 will be called i2c-core.
24 23
24if I2C
25
26config I2C_BOARDINFO
27 boolean
28 default y
29
25config I2C_CHARDEV 30config I2C_CHARDEV
26 tristate "I2C device interface" 31 tristate "I2C device interface"
27 depends on I2C
28 help 32 help
29 Say Y here to use i2c-* device files, usually found in the /dev 33 Say Y here to use i2c-* device files, usually found in the /dev
30 directory on your system. They make it possible to have user-space 34 directory on your system. They make it possible to have user-space
@@ -40,7 +44,6 @@ source drivers/i2c/chips/Kconfig
40 44
41config I2C_DEBUG_CORE 45config I2C_DEBUG_CORE
42 bool "I2C Core debugging messages" 46 bool "I2C Core debugging messages"
43 depends on I2C
44 help 47 help
45 Say Y here if you want the I2C core to produce a bunch of debug 48 Say Y here if you want the I2C core to produce a bunch of debug
46 messages to the system log. Select this if you are having a 49 messages to the system log. Select this if you are having a
@@ -48,7 +51,6 @@ config I2C_DEBUG_CORE
48 51
49config I2C_DEBUG_ALGO 52config I2C_DEBUG_ALGO
50 bool "I2C Algorithm debugging messages" 53 bool "I2C Algorithm debugging messages"
51 depends on I2C
52 help 54 help
53 Say Y here if you want the I2C algorithm drivers to produce a bunch 55 Say Y here if you want the I2C algorithm drivers to produce a bunch
54 of debug messages to the system log. Select this if you are having 56 of debug messages to the system log. Select this if you are having
@@ -57,7 +59,6 @@ config I2C_DEBUG_ALGO
57 59
58config I2C_DEBUG_BUS 60config I2C_DEBUG_BUS
59 bool "I2C Bus debugging messages" 61 bool "I2C Bus debugging messages"
60 depends on I2C
61 help 62 help
62 Say Y here if you want the I2C bus drivers to produce a bunch of 63 Say Y here if you want the I2C bus drivers to produce a bunch of
63 debug messages to the system log. Select this if you are having 64 debug messages to the system log. Select this if you are having
@@ -66,12 +67,10 @@ config I2C_DEBUG_BUS
66 67
67config I2C_DEBUG_CHIP 68config I2C_DEBUG_CHIP
68 bool "I2C Chip debugging messages" 69 bool "I2C Chip debugging messages"
69 depends on I2C
70 help 70 help
71 Say Y here if you want the I2C chip drivers to produce a bunch of 71 Say Y here if you want the I2C chip drivers to produce a bunch of
72 debug messages to the system log. Select this if you are having 72 debug messages to the system log. Select this if you are having
73 a problem with I2C support and want to see more of what is going 73 a problem with I2C support and want to see more of what is going
74 on. 74 on.
75 75
76endmenu 76endif # I2C
77