Blame view

drivers/i2c/Kconfig 3.54 KB
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1
  #
be53f9b2a   Arthur Othieno   i2c: Fix copy-n-p...
2
  # I2C subsystem configuration
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
3
  #
16538e6b3   Jan Engelhardt   Use menuconfig ob...
4
  menuconfig I2C
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
5
  	tristate "I2C support"
e25df1205   Martin Schwidefsky   [S390] Kconfig: m...
6
  	depends on HAS_IOMEM
194684e59   Mika Kuoppala   i2c: Prevent prio...
7
  	select RT_MUTEXES
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
8
  	---help---
622e040d5   Michael Witten   doc: Kconfig: Typ...
9
  	  I2C (pronounce: I-squared-C) is a slow serial bus protocol used in
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
10
11
12
13
14
15
16
17
18
19
20
21
22
  	  many micro controller applications and developed by Philips.  SMBus,
  	  or System Management Bus is a subset of the I2C protocol.  More
  	  information is contained in the directory <file:Documentation/i2c/>,
  	  especially in the file called "summary" there.
  
  	  Both I2C and SMBus are supported here. You will need this for
  	  hardware sensors support, and also for Video For Linux support.
  
  	  If you want I2C support, you should say Y here and also to the
  	  specific driver for your bus adapter(s) below.
  
  	  This I2C support can also be built as a module.  If so, the module
  	  will be called i2c-core.
16538e6b3   Jan Engelhardt   Use menuconfig ob...
23
  if I2C
9c1600eda   David Brownell   i2c: Add i2c_boar...
24
25
  config I2C_BOARDINFO
  	boolean
9c1600eda   David Brownell   i2c: Add i2c_boar...
26
  	default y
2bb5095af   Jean Delvare   i2c: Provide comp...
27
28
29
30
31
32
33
  config I2C_COMPAT
  	boolean "Enable compatibility bits for old user-space"
  	default y
  	help
  	  Say Y here if you intend to run lm-sensors 3.1.1 or older, or any
  	  other user-space package which expects i2c adapters to be class
  	  devices. If you don't know, say Y.
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
34
35
  config I2C_CHARDEV
  	tristate "I2C device interface"
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
36
37
38
39
40
41
42
43
  	help
  	  Say Y here to use i2c-* device files, usually found in the /dev
  	  directory on your system.  They make it possible to have user-space
  	  programs use the I2C bus.  Information on how to do this is
  	  contained in the file <file:Documentation/i2c/dev-interface>.
  
  	  This support is also available as a module.  If so, the module 
  	  will be called i2c-dev.
0826374bf   Michael Lawnick   i2c: Multiplexed ...
44
45
46
47
48
49
50
51
52
53
  config I2C_MUX
  	tristate "I2C bus multiplexing support"
  	depends on EXPERIMENTAL
  	help
  	  Say Y here if you want the I2C core to support the ability to
  	  handle multiplexed I2C bus topologies, by presenting each
  	  multiplexed segment as a I2C adapter.
  
  	  This support is also available as a module.  If so, the module
  	  will be called i2c-mux.
7f528135d   Michael Lawnick   i2c: I2C bus mult...
54
  source drivers/i2c/muxes/Kconfig
8d24f8dcb   Jean Delvare   i2c: Let users se...
55
56
57
58
59
60
61
62
63
64
65
66
67
  config I2C_HELPER_AUTO
  	bool "Autoselect pertinent helper modules"
  	default y
  	help
  	  Some I2C bus drivers require so-called "I2C algorithm" modules
  	  to work. These are basically software-only abstractions of generic
  	  I2C interfaces. This option will autoselect them so that you don't
  	  have to care.
  
  	  Unselect this only if you need to enable additional helper
  	  modules, for example for use with external I2C bus drivers.
  
  	  In doubt, say Y.
e2ca30743   Jean Delvare   i2c: Separate Kco...
68
  config I2C_SMBUS
dfc518dd6   Arnaud Lacombe   Revert "i2c: Fix ...
69
  	tristate "SMBus-specific protocols" if !I2C_HELPER_AUTO
e2ca30743   Jean Delvare   i2c: Separate Kco...
70
71
72
73
74
75
76
  	help
  	  Say Y here if you want support for SMBus extensions to the I2C
  	  specification. At the moment, the only supported extension is
  	  the SMBus alert protocol.
  
  	  This support is also available as a module.  If so, the module
  	  will be called i2c-smbus.
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
77
78
  source drivers/i2c/algos/Kconfig
  source drivers/i2c/busses/Kconfig
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
79
80
81
  
  config I2C_DEBUG_CORE
  	bool "I2C Core debugging messages"
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
82
83
84
85
86
87
88
  	help
  	  Say Y here if you want the I2C core to produce a bunch of debug
  	  messages to the system log.  Select this if you are having a
  	  problem with I2C support and want to see more of what is going on.
  
  config I2C_DEBUG_ALGO
  	bool "I2C Algorithm debugging messages"
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
89
90
91
92
93
94
95
96
  	help
  	  Say Y here if you want the I2C algorithm drivers to produce a bunch
  	  of debug messages to the system log.  Select this if you are having
  	  a problem with I2C support and want to see more of what is going
  	  on.
  
  config I2C_DEBUG_BUS
  	bool "I2C Bus debugging messages"
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
97
98
99
100
101
  	help
  	  Say Y here if you want the I2C bus drivers to produce a bunch of
  	  debug messages to the system log.  Select this if you are having
  	  a problem with I2C support and want to see more of what is going
  	  on.
16538e6b3   Jan Engelhardt   Use menuconfig ob...
102
  endif # I2C