Kconfig 2.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. #
  2. # I2C subsystem configuration
  3. #
  4. menuconfig I2C
  5. tristate "I2C support"
  6. depends on HAS_IOMEM
  7. ---help---
  8. I2C (pronounce: I-square-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_CHARDEV
  24. tristate "I2C device interface"
  25. help
  26. Say Y here to use i2c-* device files, usually found in the /dev
  27. directory on your system. They make it possible to have user-space
  28. programs use the I2C bus. Information on how to do this is
  29. contained in the file <file:Documentation/i2c/dev-interface>.
  30. This support is also available as a module. If so, the module
  31. will be called i2c-dev.
  32. source drivers/i2c/algos/Kconfig
  33. source drivers/i2c/busses/Kconfig
  34. source drivers/i2c/chips/Kconfig
  35. config I2C_DEBUG_CORE
  36. bool "I2C Core debugging messages"
  37. help
  38. Say Y here if you want the I2C core to produce a bunch of debug
  39. messages to the system log. Select this if you are having a
  40. problem with I2C support and want to see more of what is going on.
  41. config I2C_DEBUG_ALGO
  42. bool "I2C Algorithm debugging messages"
  43. help
  44. Say Y here if you want the I2C algorithm drivers to produce a bunch
  45. of debug messages to the system log. Select this if you are having
  46. a problem with I2C support and want to see more of what is going
  47. on.
  48. config I2C_DEBUG_BUS
  49. bool "I2C Bus debugging messages"
  50. help
  51. Say Y here if you want the I2C bus drivers to produce a bunch of
  52. debug messages to the system log. Select this if you are having
  53. a problem with I2C support and want to see more of what is going
  54. on.
  55. config I2C_DEBUG_CHIP
  56. bool "I2C Chip debugging messages"
  57. help
  58. Say Y here if you want the I2C chip drivers to produce a bunch of
  59. debug messages to the system log. Select this if you are having
  60. a problem with I2C support and want to see more of what is going
  61. on.
  62. endif # I2C