| .. | .. |
|---|
| 1 | +# SPDX-License-Identifier: GPL-2.0-only |
|---|
| 1 | 2 | # |
|---|
| 2 | 3 | # I2C subsystem configuration |
|---|
| 3 | 4 | # |
|---|
| .. | .. |
|---|
| 8 | 9 | tristate "I2C support" |
|---|
| 9 | 10 | select RT_MUTEXES |
|---|
| 10 | 11 | select IRQ_DOMAIN |
|---|
| 11 | | - ---help--- |
|---|
| 12 | + help |
|---|
| 12 | 13 | I2C (pronounce: I-squared-C) is a slow serial bus protocol used in |
|---|
| 13 | 14 | many micro controller applications and developed by Philips. SMBus, |
|---|
| 14 | 15 | or System Management Bus is a subset of the I2C protocol. More |
|---|
| .. | .. |
|---|
| 53 | 54 | Say Y here to use i2c-* device files, usually found in the /dev |
|---|
| 54 | 55 | directory on your system. They make it possible to have user-space |
|---|
| 55 | 56 | programs use the I2C bus. Information on how to do this is |
|---|
| 56 | | - contained in the file <file:Documentation/i2c/dev-interface>. |
|---|
| 57 | + contained in the file <file:Documentation/i2c/dev-interface.rst>. |
|---|
| 57 | 58 | |
|---|
| 58 | 59 | This support is also available as a module. If so, the module |
|---|
| 59 | 60 | will be called i2c-dev. |
|---|
| .. | .. |
|---|
| 68 | 69 | This support is also available as a module. If so, the module |
|---|
| 69 | 70 | will be called i2c-mux. |
|---|
| 70 | 71 | |
|---|
| 71 | | -source drivers/i2c/muxes/Kconfig |
|---|
| 72 | +source "drivers/i2c/muxes/Kconfig" |
|---|
| 72 | 73 | |
|---|
| 73 | 74 | config I2C_HELPER_AUTO |
|---|
| 74 | 75 | bool "Autoselect pertinent helper modules" |
|---|
| .. | .. |
|---|
| 94 | 95 | This support is also available as a module. If so, the module |
|---|
| 95 | 96 | will be called i2c-smbus. |
|---|
| 96 | 97 | |
|---|
| 97 | | -source drivers/i2c/algos/Kconfig |
|---|
| 98 | | -source drivers/i2c/busses/Kconfig |
|---|
| 98 | +source "drivers/i2c/algos/Kconfig" |
|---|
| 99 | +source "drivers/i2c/busses/Kconfig" |
|---|
| 99 | 100 | |
|---|
| 100 | 101 | config I2C_STUB |
|---|
| 101 | 102 | tristate "I2C/SMBus Test Stub" |
|---|
| 102 | 103 | depends on m |
|---|
| 103 | | - default 'n' |
|---|
| 104 | 104 | help |
|---|
| 105 | 105 | This module may be useful to developers of SMBus client drivers, |
|---|
| 106 | 106 | especially for certain kinds of sensor chips. |
|---|
| 107 | 107 | |
|---|
| 108 | 108 | If you do build this module, be sure to read the notes and warnings |
|---|
| 109 | | - in <file:Documentation/i2c/i2c-stub>. |
|---|
| 109 | + in <file:Documentation/i2c/i2c-stub.rst>. |
|---|
| 110 | 110 | |
|---|
| 111 | 111 | If you don't know what to do here, definitely say N. |
|---|
| 112 | 112 | |
|---|
| 113 | 113 | config I2C_SLAVE |
|---|
| 114 | 114 | bool "I2C slave support" |
|---|
| 115 | + help |
|---|
| 116 | + This enables Linux to act as an I2C slave device. Note that your I2C |
|---|
| 117 | + bus master driver also needs to support this functionality. Please |
|---|
| 118 | + read Documentation/i2c/slave-interface.rst for further details. |
|---|
| 115 | 119 | |
|---|
| 116 | 120 | if I2C_SLAVE |
|---|
| 117 | 121 | |
|---|
| 118 | 122 | config I2C_SLAVE_EEPROM |
|---|
| 119 | 123 | tristate "I2C eeprom slave driver" |
|---|
| 124 | + help |
|---|
| 125 | + This backend makes Linux behave like an I2C EEPROM. Please read |
|---|
| 126 | + Documentation/i2c/slave-eeprom-backend.rst for further details. |
|---|
| 127 | + |
|---|
| 128 | +config I2C_SLAVE_TESTUNIT |
|---|
| 129 | + tristate "I2C eeprom testunit driver" |
|---|
| 130 | + help |
|---|
| 131 | + This backend can be used to trigger test cases for I2C bus masters |
|---|
| 132 | + which require a remote device with certain capabilities, e.g. |
|---|
| 133 | + multi-master, SMBus Host Notify, etc. Please read |
|---|
| 134 | + Documentation/i2c/slave-testunit-backend.rst for further details. |
|---|
| 120 | 135 | |
|---|
| 121 | 136 | endif |
|---|
| 122 | 137 | |
|---|