]> git.sur5r.net Git - u-boot/blobdiff - drivers/i2c/Kconfig
Merge git://git.denx.de/u-boot-ubi
[u-boot] / drivers / i2c / Kconfig
index 1989f8eb572e1d728d8e10ce5558562b0fbbe300..3299ef0fead2f2aa5b028142c30a8689f6917b0b 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,26 @@ 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 || RCAR_GEN2) && DM_I2C
+       help
+         Support for Renesas RCar Gen3 IIC controller.
+
 config SYS_I2C_ROCKCHIP
        bool "Rockchip I2C driver"
        depends on DM_I2C
@@ -182,7 +207,7 @@ config SYS_I2C_S3C24X0
 
 config SYS_I2C_STM32F7
        bool "STMicroelectronics STM32F7 I2C support"
-       depends on (STM32F7 || STM32H7) && DM_I2C
+       depends on (STM32F7 || STM32H7 || ARCH_STM32MP) && DM_I2C
        help
          Enable this option to add support for STM32 I2C controller
          introduced with STM32F7/H7 SoCs. This I2C controller supports :
@@ -243,6 +268,44 @@ config SYS_I2C_BUS_MAX
        help
          Define the maximum number of available I2C buses.
 
+config SYS_I2C_ZYNQ
+       bool "Xilinx I2C driver"
+       depends on ARCH_ZYNQMP || ARCH_ZYNQ
+       help
+         Support for Xilinx I2C controller.
+
+config SYS_I2C_ZYNQ_SLAVE
+       hex "Set slave addr"
+       depends on SYS_I2C_ZYNQ
+       default 0
+       help
+         Set CONFIG_SYS_I2C_ZYNQ_SLAVE for slave addr.
+
+config SYS_I2C_ZYNQ_SPEED
+       int "Set I2C speed"
+       depends on SYS_I2C_ZYNQ
+       default 100000
+       help
+         Set CONFIG_SYS_I2C_ZYNQ_SPEED for speed setting.
+
+config ZYNQ_I2C0
+       bool "Xilinx I2C0 controller"
+       depends on SYS_I2C_ZYNQ
+       help
+         Enable Xilinx I2C0 controller.
+
+config ZYNQ_I2C1
+       bool "Xilinx I2C1 controller"
+       depends on SYS_I2C_ZYNQ
+       help
+         Enable Xilinx I2C1 controller.
+
+config SYS_I2C_IHS
+        bool "gdsys IHS I2C driver"
+        depends on DM_I2C
+        help
+          Support for gdsys IHS I2C driver on FPGA bus.
+
 source "drivers/i2c/muxes/Kconfig"
 
 endmenu