]> git.sur5r.net Git - u-boot/blobdiff - drivers/i2c/Kconfig
i2c: add i2c driver for stm32
[u-boot] / drivers / i2c / Kconfig
index 720e82d5ded11fce156d6ca73c8bcabb8fa304c6..d2d9367bfc46653a0608398bcb3b7d39bbc72c2f 100644 (file)
@@ -174,6 +174,26 @@ config SYS_I2C_S3C24X0
        help
          Support for Samsung I2C controller as Samsung SoCs.
 
+config SYS_I2C_STM32F7
+       bool "STMicroelectronics STM32F7 I2C support"
+       depends on (STM32F7 || STM32H7) && DM_I2C
+       help
+         Enable this option to add support for STM32 I2C controller
+         introduced with STM32F7/H7 SoCs. This I2C controller supports :
+          _ Slave and master modes
+          _ Multimaster capability
+          _ Standard-mode (up to 100 kHz)
+          _ Fast-mode (up to 400 kHz)
+          _ Fast-mode Plus (up to 1 MHz)
+          _ 7-bit and 10-bit addressing mode
+          _ Multiple 7-bit slave addresses (2 addresses, 1 with configurable mask)
+          _ All 7-bit addresses acknowledge mode
+          _ General call
+          _ Programmable setup and hold times
+          _ Easy to use event management
+          _ Optional clock stretching
+          _ Software reset
+
 config SYS_I2C_UNIPHIER
        bool "UniPhier I2C driver"
        depends on ARCH_UNIPHIER && DM_I2C