]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - drivers/i2c/Kconfig
dm: i2c: add i2c-gpio driver
[karo-tx-uboot.git] / drivers / i2c / Kconfig
index 180cf785ac09a32607440cf949f02774a4fdda80..23a347a68c8a575a9bf226802b43408dbdefafde 100644 (file)
@@ -19,6 +19,15 @@ config DM_I2C_COMPAT
          to convert all code for a board in a single commit. It should not
          be enabled for any board in an official release.
 
+config DM_I2C_GPIO
+       bool "Enable Driver Model for software emulated I2C bus driver"
+       depends on DM_I2C && DM_GPIO
+       help
+         Enable the i2c bus driver emulation by using the GPIOs. The bus GPIO
+         configuration is given by the device tree. Kernel-style device tree
+         bindings are supported.
+         Binding info: doc/device-tree-bindings/i2c/i2c-gpio.txt
+
 config SYS_I2C_UNIPHIER
        bool "UniPhier I2C driver"
        depends on ARCH_UNIPHIER && DM_I2C