Kconfig 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. #
  2. # I2C subsystem configuration
  3. #
  4. menu "I2C support"
  5. config I2C
  6. tristate "I2C support"
  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. config I2C_CHARDEV
  20. tristate "I2C device interface"
  21. depends on I2C
  22. help
  23. Say Y here to use i2c-* device files, usually found in the /dev
  24. directory on your system. They make it possible to have user-space
  25. programs use the I2C bus. Information on how to do this is
  26. contained in the file <file:Documentation/i2c/dev-interface>.
  27. This support is also available as a module. If so, the module
  28. will be called i2c-dev.
  29. source drivers/i2c/algos/Kconfig
  30. source drivers/i2c/busses/Kconfig
  31. source drivers/i2c/chips/Kconfig
  32. config I2C_DEBUG_CORE
  33. bool "I2C Core debugging messages"
  34. depends on I2C
  35. help
  36. Say Y here if you want the I2C core to produce a bunch of debug
  37. messages to the system log. Select this if you are having a
  38. problem with I2C support and want to see more of what is going on.
  39. config I2C_DEBUG_ALGO
  40. bool "I2C Algorithm debugging messages"
  41. depends on I2C
  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. depends on I2C
  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. depends on I2C
  58. help
  59. Say Y here if you want the I2C chip drivers to produce a bunch of
  60. debug messages to the system log. Select this if you are having
  61. a problem with I2C support and want to see more of what is going
  62. on.
  63. endmenu