X-Git-Url: https://git.karo-electronics.de/?p=karo-tx-uboot.git;a=blobdiff_plain;f=drivers%2Fi2c%2FKconfig;h=f0dc19ac088e609c1fb782b6b773fbc954ce8ce9;hp=4c8ea477a825c5e6a3f35dc0246dc43ff53dad6b;hb=8122bb73a48d5c2e376c43c1d5b703516ea944dd;hpb=9daa9e0616934ab2425f2f2051615e8a23b4e912 diff --git a/drivers/i2c/Kconfig b/drivers/i2c/Kconfig index 4c8ea477a8..f0dc19ac08 100644 --- a/drivers/i2c/Kconfig +++ b/drivers/i2c/Kconfig @@ -1,15 +1,18 @@ -menuconfig SYS_I2C - bool "I2C device support" +# +# I2C subsystem configuration +# -if SYS_I2C +menu "I2C device support" config HARD_I2C bool -config SYS_I2C_MXC - bool "Freescale i.MX I2C controller" - select HARD_I2C - select I2C_QUIRK_REG if FSL_LSCH3 || SOC_LS102XA +config SYS_I2C + bool + +config SYS_I2C_SOFT + bool "Software emulated I2C bus driver" + depends on SYS_I2C config DM_I2C bool "Enable Driver Model for I2C drivers" @@ -65,6 +68,14 @@ config DM_I2C_GPIO bindings are supported. Binding info: doc/device-tree-bindings/i2c/i2c-gpio.txt +config SYS_I2C_MXC + bool "Freescale i.MX I2C controller" + select HARD_I2C + select I2C_QUIRK_REG if FSL_LSCH3 || SOC_LS102XA + +config I2C_QUIRK_REG + bool + config SYS_I2C_SANDBOX bool "Sandbox I2C driver" depends on SANDBOX && DM_I2C @@ -113,4 +124,4 @@ config SYS_I2C_UNIPHIER_F source "drivers/i2c/muxes/Kconfig" -endif +endmenu