]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blob - drivers/i2c/Kconfig
Merge with /home/tmlind/src/kernel/linux-2.6
[linux-2.6-omap-h63xx.git] / drivers / i2c / Kconfig
1 #
2 # Character device configuration
3 #
4
5 menu "I2C support"
6
7 config I2C
8         tristate "I2C support"
9         default y if MACH_OMAP_H3 || MACH_OMAP_OSK
10         ---help---
11           I2C (pronounce: I-square-C) is a slow serial bus protocol used in
12           many micro controller applications and developed by Philips.  SMBus,
13           or System Management Bus is a subset of the I2C protocol.  More
14           information is contained in the directory <file:Documentation/i2c/>,
15           especially in the file called "summary" there.
16
17           Both I2C and SMBus are supported here. You will need this for
18           hardware sensors support, and also for Video For Linux support.
19
20           If you want I2C support, you should say Y here and also to the
21           specific driver for your bus adapter(s) below.
22
23           This I2C support can also be built as a module.  If so, the module
24           will be called i2c-core.
25
26 config I2C_CHARDEV
27         tristate "I2C device interface"
28         depends on I2C
29         help
30           Say Y here to use i2c-* device files, usually found in the /dev
31           directory on your system.  They make it possible to have user-space
32           programs use the I2C bus.  Information on how to do this is
33           contained in the file <file:Documentation/i2c/dev-interface>.
34
35           This support is also available as a module.  If so, the module 
36           will be called i2c-dev.
37
38 source drivers/i2c/algos/Kconfig
39 source drivers/i2c/busses/Kconfig
40 source drivers/i2c/chips/Kconfig
41
42 config I2C_DEBUG_CORE
43         bool "I2C Core debugging messages"
44         depends on I2C
45         help
46           Say Y here if you want the I2C core to produce a bunch of debug
47           messages to the system log.  Select this if you are having a
48           problem with I2C support and want to see more of what is going on.
49
50 config I2C_DEBUG_ALGO
51         bool "I2C Algorithm debugging messages"
52         depends on I2C
53         help
54           Say Y here if you want the I2C algorithm drivers to produce a bunch
55           of debug messages to the system log.  Select this if you are having
56           a problem with I2C support and want to see more of what is going
57           on.
58
59 config I2C_DEBUG_BUS
60         bool "I2C Bus debugging messages"
61         depends on I2C
62         help
63           Say Y here if you want the I2C bus drivers to produce a bunch of
64           debug messages to the system log.  Select this if you are having
65           a problem with I2C support and want to see more of what is going
66           on.
67
68 config I2C_DEBUG_CHIP
69         bool "I2C Chip debugging messages"
70         depends on I2C
71         help
72           Say Y here if you want the I2C chip drivers to produce a bunch of
73           debug messages to the system log.  Select this if you are having
74           a problem with I2C support and want to see more of what is going
75           on.
76
77 endmenu
78