1b6036bcdSMasahiro Yamadaconfig DM_I2C 2b6036bcdSMasahiro Yamada bool "Enable Driver Model for I2C drivers" 3b6036bcdSMasahiro Yamada depends on DM 4b6036bcdSMasahiro Yamada help 5f94a1bedSSimon Glass Enable driver model for I2C. This SPI flash interface 6f94a1bedSSimon Glass (spi_flash_probe(), spi_flash_write(), etc.) is then 7f94a1bedSSimon Glass implemented by the SPI flash uclass. There is one standard 8f94a1bedSSimon Glass SPI flash driver which knows how to probe most chips 9f94a1bedSSimon Glass supported by U-Boot. The uclass interface is defined in 10f94a1bedSSimon Glass include/spi_flash.h, but is currently fully compatible 11f94a1bedSSimon Glass with the old interface to avoid confusion and duplication 12f94a1bedSSimon Glass during the transition parent. SPI and SPI flash must be 13f94a1bedSSimon Glass enabled together (it is not possible to use driver model 14f94a1bedSSimon Glass for one and not the other). 1526f820f3SMasahiro Yamada 16*4bba9d3fSSimon Glassconfig DM_I2C_COMPAT 17*4bba9d3fSSimon Glass bool "Enable I2C compatibility layer" 18*4bba9d3fSSimon Glass depends on DM 19*4bba9d3fSSimon Glass help 20*4bba9d3fSSimon Glass Enable old-style I2C functions for compatibility with existing code. 21*4bba9d3fSSimon Glass This option can be enabled as a temporary measure to avoid needing 22*4bba9d3fSSimon Glass to convert all code for a board in a single commit. It should not 23*4bba9d3fSSimon Glass be enabled for any board in an official release. 24*4bba9d3fSSimon Glass 2526f820f3SMasahiro Yamadaconfig SYS_I2C_UNIPHIER 2626f820f3SMasahiro Yamada bool "UniPhier I2C driver" 2726f820f3SMasahiro Yamada depends on ARCH_UNIPHIER && DM_I2C 2826f820f3SMasahiro Yamada default y 2926f820f3SMasahiro Yamada help 3026f820f3SMasahiro Yamada Support for Panasonic UniPhier I2C controller driver. This I2C 3126f820f3SMasahiro Yamada controller is used on PH1-LD4, PH1-sLD8 or older UniPhier SoCs. 32238bd0b8SMasahiro Yamada 33238bd0b8SMasahiro Yamadaconfig SYS_I2C_UNIPHIER_F 34238bd0b8SMasahiro Yamada bool "UniPhier FIFO-builtin I2C driver" 35238bd0b8SMasahiro Yamada depends on ARCH_UNIPHIER && DM_I2C 36238bd0b8SMasahiro Yamada default y 37238bd0b8SMasahiro Yamada help 38238bd0b8SMasahiro Yamada Support for Panasonic UniPhier FIFO-builtin I2C controller driver. 39238bd0b8SMasahiro Yamada This I2C controller is used on PH1-Pro4 or newer UniPhier SoCs. 40