]> git.sur5r.net Git - u-boot/blobdiff - drivers/i2c/Kconfig
Convert CONFIG_SYS_OMAP24_I2C_SLAVE et al to Kconfig
[u-boot] / drivers / i2c / Kconfig
index cc370b9c57c6e9cec0bb420a299173645f92cbec..17d21bbc423fe4abb9cb192a799dca2e52ff789f 100644 (file)
@@ -141,7 +141,12 @@ config SYS_I2C_MESON
        bool "Amlogic Meson I2C driver"
        depends on DM_I2C && ARCH_MESON
        help
-         Add support for the Amlogic Meson I2C driver.
+         Add support for the I2C controller available in Amlogic Meson
+         SoCs. The controller supports programmable bus speed including
+         standard (100kbits/s) and fast (400kbit/s) speed and allows the
+         software to define a flexible format of the bit streams. It has an
+         internal buffer holding up to 8 bytes for transfers and supports
+         both 7-bit and 10-bit addresses.
 
 config SYS_I2C_MXC
        bool "NXP i.MX I2C driver"
@@ -157,6 +162,20 @@ config SYS_I2C_OMAP24XX
        help
          Add support for the OMAP2+ I2C driver.
 
+if SYS_I2C_OMAP24XX
+config SYS_OMAP24_I2C_SLAVE
+       int "I2C Slave addr channel 0"
+       default 1
+       help
+         OMAP24xx I2C Slave address channel 0
+
+config SYS_OMAP24_I2C_SPEED
+       int "I2C Slave channel 0 speed"
+       default 100000
+       help
+         OMAP24xx Slave speed channel 0
+endif
+
 config SYS_I2C_RCAR_IIC
        bool "Renesas RCar Gen3 IIC driver"
        depends on RCAR_GEN3 && DM_I2C