OSDN Git Service

i2c: add Kconfig help text for slave mode
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Sun, 28 Jun 2020 18:55:22 +0000 (20:55 +0200)
committerWolfram Sang <wsa@kernel.org>
Sat, 4 Jul 2020 06:17:53 +0000 (08:17 +0200)
I can't recall why there was none, but we surely want to have it.

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Reviewed-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
drivers/i2c/Kconfig

index 6e2d0d2..bae1dc0 100644 (file)
@@ -113,6 +113,10 @@ config I2C_STUB
 
 config I2C_SLAVE
        bool "I2C slave support"
+       help
+         This enables Linux to act as an I2C slave device. Note that your I2C
+         bus master driver also needs to support this functionality. Please
+         read Documentation/i2c/slave-interface.rst for further details.
 
 if I2C_SLAVE