11da177e4SLinus Torvalds# 21da177e4SLinus Torvalds# Character device configuration 31da177e4SLinus Torvalds# 41da177e4SLinus Torvalds 51da177e4SLinus Torvaldsmenu "I2C support" 61da177e4SLinus Torvalds 71da177e4SLinus Torvaldsconfig I2C 81da177e4SLinus Torvalds tristate "I2C support" 91da177e4SLinus Torvalds ---help--- 101da177e4SLinus Torvalds I2C (pronounce: I-square-C) is a slow serial bus protocol used in 111da177e4SLinus Torvalds many micro controller applications and developed by Philips. SMBus, 121da177e4SLinus Torvalds or System Management Bus is a subset of the I2C protocol. More 131da177e4SLinus Torvalds information is contained in the directory <file:Documentation/i2c/>, 141da177e4SLinus Torvalds especially in the file called "summary" there. 151da177e4SLinus Torvalds 161da177e4SLinus Torvalds Both I2C and SMBus are supported here. You will need this for 171da177e4SLinus Torvalds hardware sensors support, and also for Video For Linux support. 181da177e4SLinus Torvalds 191da177e4SLinus Torvalds If you want I2C support, you should say Y here and also to the 201da177e4SLinus Torvalds specific driver for your bus adapter(s) below. 211da177e4SLinus Torvalds 221da177e4SLinus Torvalds This I2C support can also be built as a module. If so, the module 231da177e4SLinus Torvalds will be called i2c-core. 241da177e4SLinus Torvalds 251da177e4SLinus Torvaldsconfig I2C_CHARDEV 261da177e4SLinus Torvalds tristate "I2C device interface" 271da177e4SLinus Torvalds depends on I2C 281da177e4SLinus Torvalds help 291da177e4SLinus Torvalds Say Y here to use i2c-* device files, usually found in the /dev 301da177e4SLinus Torvalds directory on your system. They make it possible to have user-space 311da177e4SLinus Torvalds programs use the I2C bus. Information on how to do this is 321da177e4SLinus Torvalds contained in the file <file:Documentation/i2c/dev-interface>. 331da177e4SLinus Torvalds 341da177e4SLinus Torvalds This support is also available as a module. If so, the module 351da177e4SLinus Torvalds will be called i2c-dev. 361da177e4SLinus Torvalds 371da177e4SLinus Torvaldssource drivers/i2c/algos/Kconfig 381da177e4SLinus Torvaldssource drivers/i2c/busses/Kconfig 391da177e4SLinus Torvaldssource drivers/i2c/chips/Kconfig 401da177e4SLinus Torvalds 411da177e4SLinus Torvaldsconfig I2C_DEBUG_CORE 421da177e4SLinus Torvalds bool "I2C Core debugging messages" 431da177e4SLinus Torvalds depends on I2C 441da177e4SLinus Torvalds help 451da177e4SLinus Torvalds Say Y here if you want the I2C core to produce a bunch of debug 461da177e4SLinus Torvalds messages to the system log. Select this if you are having a 471da177e4SLinus Torvalds problem with I2C support and want to see more of what is going on. 481da177e4SLinus Torvalds 491da177e4SLinus Torvaldsconfig I2C_DEBUG_ALGO 501da177e4SLinus Torvalds bool "I2C Algorithm debugging messages" 511da177e4SLinus Torvalds depends on I2C 521da177e4SLinus Torvalds help 531da177e4SLinus Torvalds Say Y here if you want the I2C algorithm drivers to produce a bunch 541da177e4SLinus Torvalds of debug messages to the system log. Select this if you are having 551da177e4SLinus Torvalds a problem with I2C support and want to see more of what is going 561da177e4SLinus Torvalds on. 571da177e4SLinus Torvalds 581da177e4SLinus Torvaldsconfig I2C_DEBUG_BUS 591da177e4SLinus Torvalds bool "I2C Bus debugging messages" 601da177e4SLinus Torvalds depends on I2C 611da177e4SLinus Torvalds help 621da177e4SLinus Torvalds Say Y here if you want the I2C bus drivers to produce a bunch of 631da177e4SLinus Torvalds debug messages to the system log. Select this if you are having 641da177e4SLinus Torvalds a problem with I2C support and want to see more of what is going 651da177e4SLinus Torvalds on. 661da177e4SLinus Torvalds 671da177e4SLinus Torvaldsconfig I2C_DEBUG_CHIP 681da177e4SLinus Torvalds bool "I2C Chip debugging messages" 691da177e4SLinus Torvalds depends on I2C 701da177e4SLinus Torvalds help 711da177e4SLinus Torvalds Say Y here if you want the I2C chip drivers to produce a bunch of 721da177e4SLinus Torvalds debug messages to the system log. Select this if you are having 731da177e4SLinus Torvalds a problem with I2C support and want to see more of what is going 741da177e4SLinus Torvalds on. 751da177e4SLinus Torvalds 761da177e4SLinus Torvaldsendmenu 771da177e4SLinus Torvalds 78