Kconfig 2.4 KB

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