xref: /rk3399_rockchip-uboot/drivers/i2c/Kconfig (revision f94a1bed07e2af1c46ddcf2046cddd979ebfd994)
1b6036bcdSMasahiro Yamadaconfig DM_I2C
2b6036bcdSMasahiro Yamada	bool "Enable Driver Model for I2C drivers"
3b6036bcdSMasahiro Yamada	depends on DM
4b6036bcdSMasahiro Yamada	help
5*f94a1bedSSimon Glass	  Enable driver model for I2C. This SPI flash interface
6*f94a1bedSSimon Glass	  (spi_flash_probe(), spi_flash_write(), etc.) is then
7*f94a1bedSSimon Glass	  implemented by the SPI flash uclass. There is one standard
8*f94a1bedSSimon Glass	  SPI flash driver which knows how to probe most chips
9*f94a1bedSSimon Glass	  supported by U-Boot. The uclass interface is defined in
10*f94a1bedSSimon Glass	  include/spi_flash.h, but is currently fully compatible
11*f94a1bedSSimon Glass	  with the old interface to avoid confusion and duplication
12*f94a1bedSSimon Glass	  during the transition parent. SPI and SPI flash must be
13*f94a1bedSSimon Glass	  enabled together (it is not possible to use driver model
14*f94a1bedSSimon Glass	  for one and not the other).
1526f820f3SMasahiro Yamada
1626f820f3SMasahiro Yamadaconfig SYS_I2C_UNIPHIER
1726f820f3SMasahiro Yamada	bool "UniPhier I2C driver"
1826f820f3SMasahiro Yamada	depends on ARCH_UNIPHIER && DM_I2C
1926f820f3SMasahiro Yamada	default y
2026f820f3SMasahiro Yamada	help
2126f820f3SMasahiro Yamada	  Support for Panasonic UniPhier I2C controller driver.  This I2C
2226f820f3SMasahiro Yamada	  controller is used on PH1-LD4, PH1-sLD8 or older UniPhier SoCs.
23238bd0b8SMasahiro Yamada
24238bd0b8SMasahiro Yamadaconfig SYS_I2C_UNIPHIER_F
25238bd0b8SMasahiro Yamada	bool "UniPhier FIFO-builtin I2C driver"
26238bd0b8SMasahiro Yamada	depends on ARCH_UNIPHIER && DM_I2C
27238bd0b8SMasahiro Yamada	default y
28238bd0b8SMasahiro Yamada	help
29238bd0b8SMasahiro Yamada	  Support for Panasonic UniPhier FIFO-builtin I2C controller driver.
30238bd0b8SMasahiro Yamada	  This I2C controller is used on PH1-Pro4 or newer UniPhier SoCs.
31