]> git.karo-electronics.de Git - karo-tx-uboot.git/blob - drivers/i2c/Kconfig
dm: Expand and complete Kconfig in drivers/
[karo-tx-uboot.git] / drivers / i2c / Kconfig
1 config DM_I2C
2         bool "Enable Driver Model for I2C drivers"
3         depends on DM
4         help
5           Enable driver model for I2C. This SPI flash interface
6           (spi_flash_probe(), spi_flash_write(), etc.) is then
7           implemented by the SPI flash uclass. There is one standard
8           SPI flash driver which knows how to probe most chips
9           supported by U-Boot. The uclass interface is defined in
10           include/spi_flash.h, but is currently fully compatible
11           with the old interface to avoid confusion and duplication
12           during the transition parent. SPI and SPI flash must be
13           enabled together (it is not possible to use driver model
14           for one and not the other).
15
16 config SYS_I2C_UNIPHIER
17         bool "UniPhier I2C driver"
18         depends on ARCH_UNIPHIER && DM_I2C
19         default y
20         help
21           Support for Panasonic UniPhier I2C controller driver.  This I2C
22           controller is used on PH1-LD4, PH1-sLD8 or older UniPhier SoCs.
23
24 config SYS_I2C_UNIPHIER_F
25         bool "UniPhier FIFO-builtin I2C driver"
26         depends on ARCH_UNIPHIER && DM_I2C
27         default y
28         help
29           Support for Panasonic UniPhier FIFO-builtin I2C controller driver.
30           This I2C controller is used on PH1-Pro4 or newer UniPhier SoCs.
31 menuconfig SYS_I2C
32         bool "I2C device support"
33
34 if SYS_I2C
35
36 config HARD_I2C
37         bool
38
39 config SYS_I2C_MXC
40         bool "Freescale i.MX I2C controller"
41         select HARD_I2C
42         select I2C_QUIRK_REG if FSL_LSCH3 || SOC_LS102XA
43
44 endif