Kconfig 4.4 KB

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