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