Kconfig 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126
  1. #
  2. # I2C subsystem configuration
  3. #
  4. menuconfig I2C
  5. tristate "I2C support"
  6. select RT_MUTEXES
  7. ---help---
  8. I2C (pronounce: I-squared-C) is a slow serial bus protocol used in
  9. many micro controller applications and developed by Philips. SMBus,
  10. or System Management Bus is a subset of the I2C protocol. More
  11. information is contained in the directory <file:Documentation/i2c/>,
  12. especially in the file called "summary" there.
  13. Both I2C and SMBus are supported here. You will need this for
  14. hardware sensors support, and also for Video For Linux support.
  15. If you want I2C support, you should say Y here and also to the
  16. specific driver for your bus adapter(s) below.
  17. This I2C support can also be built as a module. If so, the module
  18. will be called i2c-core.
  19. if I2C
  20. config I2C_BOARDINFO
  21. boolean
  22. default y
  23. config I2C_COMPAT
  24. boolean "Enable compatibility bits for old user-space"
  25. default y
  26. help
  27. Say Y here if you intend to run lm-sensors 3.1.1 or older, or any
  28. other user-space package which expects i2c adapters to be class
  29. devices. If you don't know, say Y.
  30. config I2C_CHARDEV
  31. tristate "I2C device interface"
  32. help
  33. Say Y here to use i2c-* device files, usually found in the /dev
  34. directory on your system. They make it possible to have user-space
  35. programs use the I2C bus. Information on how to do this is
  36. contained in the file <file:Documentation/i2c/dev-interface>.
  37. This support is also available as a module. If so, the module
  38. will be called i2c-dev.
  39. config I2C_MUX
  40. tristate "I2C bus multiplexing support"
  41. depends on HAS_IOMEM
  42. help
  43. Say Y here if you want the I2C core to support the ability to
  44. handle multiplexed I2C bus topologies, by presenting each
  45. multiplexed segment as a I2C adapter.
  46. This support is also available as a module. If so, the module
  47. will be called i2c-mux.
  48. source drivers/i2c/muxes/Kconfig
  49. config I2C_HELPER_AUTO
  50. bool "Autoselect pertinent helper modules"
  51. default y
  52. help
  53. Some I2C bus drivers require so-called "I2C algorithm" modules
  54. to work. These are basically software-only abstractions of generic
  55. I2C interfaces. This option will autoselect them so that you don't
  56. have to care.
  57. Unselect this only if you need to enable additional helper
  58. modules, for example for use with external I2C bus drivers.
  59. In doubt, say Y.
  60. config I2C_SMBUS
  61. tristate "SMBus-specific protocols" if !I2C_HELPER_AUTO
  62. help
  63. Say Y here if you want support for SMBus extensions to the I2C
  64. specification. At the moment, the only supported extension is
  65. the SMBus alert protocol.
  66. This support is also available as a module. If so, the module
  67. will be called i2c-smbus.
  68. source drivers/i2c/algos/Kconfig
  69. source drivers/i2c/busses/Kconfig
  70. config I2C_STUB
  71. tristate "I2C/SMBus Test Stub"
  72. depends on m
  73. default 'n'
  74. help
  75. This module may be useful to developers of SMBus client drivers,
  76. especially for certain kinds of sensor chips.
  77. If you do build this module, be sure to read the notes and warnings
  78. in <file:Documentation/i2c/i2c-stub>.
  79. If you don't know what to do here, definitely say N.
  80. config I2C_DEBUG_CORE
  81. bool "I2C Core debugging messages"
  82. help
  83. Say Y here if you want the I2C core to produce a bunch of debug
  84. messages to the system log. Select this if you are having a
  85. problem with I2C support and want to see more of what is going on.
  86. config I2C_DEBUG_ALGO
  87. bool "I2C Algorithm debugging messages"
  88. help
  89. Say Y here if you want the I2C algorithm drivers to produce a bunch
  90. of debug messages to the system log. Select this if you are having
  91. a problem with I2C support and want to see more of what is going
  92. on.
  93. config I2C_DEBUG_BUS
  94. bool "I2C Bus debugging messages"
  95. depends on HAS_IOMEM
  96. help
  97. Say Y here if you want the I2C bus drivers to produce a bunch of
  98. debug messages to the system log. Select this if you are having
  99. a problem with I2C support and want to see more of what is going
  100. on.
  101. endif # I2C