10b11dbf7SMasahiro Yamada# 20b11dbf7SMasahiro Yamada# I2C subsystem configuration 30b11dbf7SMasahiro Yamada# 40b11dbf7SMasahiro Yamada 50b11dbf7SMasahiro Yamadamenu "I2C support" 60b11dbf7SMasahiro Yamada 7b6036bcdSMasahiro Yamadaconfig DM_I2C 8b6036bcdSMasahiro Yamada bool "Enable Driver Model for I2C drivers" 9b6036bcdSMasahiro Yamada depends on DM 10b6036bcdSMasahiro Yamada help 11705fcf4dSPrzemyslaw Marczak Enable driver model for I2C. The I2C uclass interface: probe, read, 12705fcf4dSPrzemyslaw Marczak write and speed, is implemented with the bus drivers operations, 13705fcf4dSPrzemyslaw Marczak which provide methods for bus setting and data transfer. Each chip 14705fcf4dSPrzemyslaw Marczak device (bus child) info is kept as parent platdata. The interface 15705fcf4dSPrzemyslaw Marczak is defined in include/i2c.h. When i2c bus driver supports the i2c 16705fcf4dSPrzemyslaw Marczak uclass, but the device drivers not, then DM_I2C_COMPAT config can 17705fcf4dSPrzemyslaw Marczak be used as compatibility layer. 1826f820f3SMasahiro Yamada 194bba9d3fSSimon Glassconfig DM_I2C_COMPAT 204bba9d3fSSimon Glass bool "Enable I2C compatibility layer" 214bba9d3fSSimon Glass depends on DM 224bba9d3fSSimon Glass help 234bba9d3fSSimon Glass Enable old-style I2C functions for compatibility with existing code. 244bba9d3fSSimon Glass This option can be enabled as a temporary measure to avoid needing 254bba9d3fSSimon Glass to convert all code for a board in a single commit. It should not 264bba9d3fSSimon Glass be enabled for any board in an official release. 274bba9d3fSSimon Glass 28cc456bd7SSimon Glassconfig I2C_CROS_EC_TUNNEL 29cc456bd7SSimon Glass tristate "Chrome OS EC tunnel I2C bus" 30cc456bd7SSimon Glass depends on CROS_EC 31cc456bd7SSimon Glass help 32cc456bd7SSimon Glass This provides an I2C bus that will tunnel i2c commands through to 33cc456bd7SSimon Glass the other side of the Chrome OS EC to the I2C bus connected there. 34cc456bd7SSimon Glass This will work whatever the interface used to talk to the EC (SPI, 35cc456bd7SSimon Glass I2C or LPC). Some Chromebooks use this when the hardware design 36cc456bd7SSimon Glass does not allow direct access to the main PMIC from the AP. 37cc456bd7SSimon Glass 38f48eaf01SSimon Glassconfig I2C_CROS_EC_LDO 39f48eaf01SSimon Glass bool "Provide access to LDOs on the Chrome OS EC" 40f48eaf01SSimon Glass depends on CROS_EC 41f48eaf01SSimon Glass ---help--- 42f48eaf01SSimon Glass On many Chromebooks the main PMIC is inaccessible to the AP. This is 43f48eaf01SSimon Glass often dealt with by using an I2C pass-through interface provided by 44f48eaf01SSimon Glass the EC. On some unfortunate models (e.g. Spring) the pass-through 45f48eaf01SSimon Glass is not available, and an LDO message is available instead. This 46f48eaf01SSimon Glass option enables a driver which provides very basic access to those 47f48eaf01SSimon Glass regulators, via the EC. We implement this as an I2C bus which 48f48eaf01SSimon Glass emulates just the TPS65090 messages we know about. This is done to 49f48eaf01SSimon Glass avoid duplicating the logic in the TPS65090 regulator driver for 50f48eaf01SSimon Glass enabling/disabling an LDO. 51cc456bd7SSimon Glass 52e46f8a33SLukasz Majewskiconfig I2C_SET_DEFAULT_BUS_NUM 53e46f8a33SLukasz Majewski bool "Set default I2C bus number" 54e46f8a33SLukasz Majewski depends on DM_I2C 55e46f8a33SLukasz Majewski help 56e46f8a33SLukasz Majewski Set default number of I2C bus to be accessed. This option provides 57e46f8a33SLukasz Majewski behaviour similar to old (i.e. pre DM) I2C bus driver. 58e46f8a33SLukasz Majewski 59e46f8a33SLukasz Majewskiconfig I2C_DEFAULT_BUS_NUMBER 60e46f8a33SLukasz Majewski hex "I2C default bus number" 61e46f8a33SLukasz Majewski depends on I2C_SET_DEFAULT_BUS_NUM 62e46f8a33SLukasz Majewski default 0x0 63e46f8a33SLukasz Majewski help 64e46f8a33SLukasz Majewski Number of default I2C bus to use 65e46f8a33SLukasz Majewski 66c54473cbSPrzemyslaw Marczakconfig DM_I2C_GPIO 67c54473cbSPrzemyslaw Marczak bool "Enable Driver Model for software emulated I2C bus driver" 68c54473cbSPrzemyslaw Marczak depends on DM_I2C && DM_GPIO 69c54473cbSPrzemyslaw Marczak help 70c54473cbSPrzemyslaw Marczak Enable the i2c bus driver emulation by using the GPIOs. The bus GPIO 71c54473cbSPrzemyslaw Marczak configuration is given by the device tree. Kernel-style device tree 72c54473cbSPrzemyslaw Marczak bindings are supported. 73c54473cbSPrzemyslaw Marczak Binding info: doc/device-tree-bindings/i2c/i2c-gpio.txt 74c54473cbSPrzemyslaw Marczak 758800e0faSSongjun Wuconfig SYS_I2C_AT91 768800e0faSSongjun Wu bool "Atmel I2C driver" 778800e0faSSongjun Wu depends on DM_I2C && ARCH_AT91 788800e0faSSongjun Wu help 798800e0faSSongjun Wu Add support for the Atmel I2C driver. A serious problem is that there 808800e0faSSongjun Wu is no documented way to issue repeated START conditions for more than 818800e0faSSongjun Wu two messages, as needed to support combined I2C messages. Use the 828800e0faSSongjun Wu i2c-gpio driver unless your system can cope with this limitation. 838800e0faSSongjun Wu Binding info: doc/device-tree-bindings/i2c/i2c-at91.txt 848800e0faSSongjun Wu 85dbc82ce3Smario.six@gdsys.ccconfig SYS_I2C_FSL 86dbc82ce3Smario.six@gdsys.cc bool "Freescale I2C bus driver" 87dbc82ce3Smario.six@gdsys.cc depends on DM_I2C 88dbc82ce3Smario.six@gdsys.cc help 89dbc82ce3Smario.six@gdsys.cc Add support for Freescale I2C busses as used on MPC8240, MPC8245, and 90dbc82ce3Smario.six@gdsys.cc MPC85xx processors. 91dbc82ce3Smario.six@gdsys.cc 92fdec2d21SMoritz Fischerconfig SYS_I2C_CADENCE 93fdec2d21SMoritz Fischer tristate "Cadence I2C Controller" 94fdec2d21SMoritz Fischer depends on DM_I2C && (ARCH_ZYNQ || ARM64) 95fdec2d21SMoritz Fischer help 96fdec2d21SMoritz Fischer Say yes here to select Cadence I2C Host Controller. This controller is 97fdec2d21SMoritz Fischer e.g. used by Xilinx Zynq. 98fdec2d21SMoritz Fischer 999f8cf76bSAdam Fordconfig SYS_I2C_DAVINCI 1009f8cf76bSAdam Ford bool "Davinci I2C Controller" 1019f8cf76bSAdam Ford depends on (ARCH_KEYSTONE || ARCH_DAVINCI) 1029f8cf76bSAdam Ford help 1039f8cf76bSAdam Ford Say yes here to add support for Davinci and Keystone I2C controller 1049f8cf76bSAdam Ford 105e32d0db7SStefan Roeseconfig SYS_I2C_DW 106e32d0db7SStefan Roese bool "Designware I2C Controller" 107e32d0db7SStefan Roese default n 108e32d0db7SStefan Roese help 109e32d0db7SStefan Roese Say yes here to select the Designware I2C Host Controller. This 110e32d0db7SStefan Roese controller is used in various SoCs, e.g. the ST SPEAr, Altera 111e32d0db7SStefan Roese SoCFPGA, Synopsys ARC700 and some Intel x86 SoCs. 112e32d0db7SStefan Roese 1133a370528SStefan Roeseconfig SYS_I2C_DW_ENABLE_STATUS_UNSUPPORTED 1143a370528SStefan Roese bool "DW I2C Enable Status Register not supported" 1153a370528SStefan Roese depends on SYS_I2C_DW && (TARGET_SPEAR300 || TARGET_SPEAR310 || \ 1163a370528SStefan Roese TARGET_SPEAR320 || TARGET_SPEAR600 || TARGET_X600) 1173a370528SStefan Roese default y 1183a370528SStefan Roese help 1193a370528SStefan Roese Some versions of the Designware I2C controller do not support the 1203a370528SStefan Roese enable status register. This config option can be enabled in such 1213a370528SStefan Roese cases. 1223a370528SStefan Roese 123*a1fee7bcSryan_chenconfig I2C_ASPEED_GLOBAL 124*a1fee7bcSryan_chen bool 125*a1fee7bcSryan_chen 126*a1fee7bcSryan_chenconfig SYS_I2C_AST2600 127*a1fee7bcSryan_chen bool "AST2600 I2C Controller" 128*a1fee7bcSryan_chen depends on DM_I2C && ARCH_ASPEED 129*a1fee7bcSryan_chen select I2C_ASPEED_GLOBAL 130*a1fee7bcSryan_chen help 131*a1fee7bcSryan_chen Say yes here to select AST2600 I2C Host Controller. The driver 132*a1fee7bcSryan_chen support AST2600 I2C new mode register. 133*a1fee7bcSryan_chen 1344dc038f3Smaxims@google.comconfig SYS_I2C_ASPEED 1354dc038f3Smaxims@google.com bool "Aspeed I2C Controller" 1364dc038f3Smaxims@google.com depends on DM_I2C && ARCH_ASPEED 137*a1fee7bcSryan_chen select I2C_ASPEED_GLOBAL 1384dc038f3Smaxims@google.com help 1394dc038f3Smaxims@google.com Say yes here to select Aspeed I2C Host Controller. The driver 1404dc038f3Smaxims@google.com supports AST2500 and AST2400 controllers, but is very limited. 1414dc038f3Smaxims@google.com Only single master mode is supported and only byte-by-byte 1424dc038f3Smaxims@google.com synchronous reads and writes are supported, no Pool Buffers or DMA. 1434dc038f3Smaxims@google.com 144abb0b01eSSimon Glassconfig SYS_I2C_INTEL 145abb0b01eSSimon Glass bool "Intel I2C/SMBUS driver" 146abb0b01eSSimon Glass depends on DM_I2C 147abb0b01eSSimon Glass help 148abb0b01eSSimon Glass Add support for the Intel SMBUS driver. So far this driver is just 149abb0b01eSSimon Glass a stub which perhaps some basic init. There is no implementation of 150abb0b01eSSimon Glass the I2C API meaning that any I2C operations will immediately fail 151abb0b01eSSimon Glass for now. 152abb0b01eSSimon Glass 1537ee3f149SPeng Fanconfig SYS_I2C_IMX_LPI2C 1547ee3f149SPeng Fan bool "NXP i.MX LPI2C driver" 1557ee3f149SPeng Fan help 1567ee3f149SPeng Fan Add support for the NXP i.MX LPI2C driver. 1577ee3f149SPeng Fan 158f8d9ca18SBeniamino Galvaniconfig SYS_I2C_MESON 159f8d9ca18SBeniamino Galvani bool "Amlogic Meson I2C driver" 160f8d9ca18SBeniamino Galvani depends on DM_I2C && ARCH_MESON 161f8d9ca18SBeniamino Galvani help 1624ecbb8b6SBeniamino Galvani Add support for the I2C controller available in Amlogic Meson 1634ecbb8b6SBeniamino Galvani SoCs. The controller supports programmable bus speed including 1644ecbb8b6SBeniamino Galvani standard (100kbits/s) and fast (400kbit/s) speed and allows the 1654ecbb8b6SBeniamino Galvani software to define a flexible format of the bit streams. It has an 1664ecbb8b6SBeniamino Galvani internal buffer holding up to 8 bytes for transfers and supports 1674ecbb8b6SBeniamino Galvani both 7-bit and 10-bit addresses. 168f8d9ca18SBeniamino Galvani 16972c8c10bSJagan Tekiconfig SYS_I2C_MXC 170942ecc8bSSriram Dash bool "NXP MXC I2C driver" 17172c8c10bSJagan Teki help 17274751454SChris Packham Add support for the NXP I2C driver. This supports up to four bus 17372c8c10bSJagan Teki channels and operating on standard mode up to 100 kbits/s and fast 17472c8c10bSJagan Teki mode up to 400 kbits/s. 17572c8c10bSJagan Teki 176942ecc8bSSriram Dashif SYS_I2C_MXC 177942ecc8bSSriram Dashconfig SYS_I2C_MXC_I2C1 178942ecc8bSSriram Dash bool "NXP MXC I2C1" 179942ecc8bSSriram Dash help 180942ecc8bSSriram Dash Add support for NXP MXC I2C Controller 1. 181942ecc8bSSriram Dash Required for SoCs which have I2C MXC controller 1 eg LS1088A, LS2080A 182942ecc8bSSriram Dash 183942ecc8bSSriram Dashconfig SYS_I2C_MXC_I2C2 184942ecc8bSSriram Dash bool "NXP MXC I2C2" 185942ecc8bSSriram Dash help 186942ecc8bSSriram Dash Add support for NXP MXC I2C Controller 2. 187942ecc8bSSriram Dash Required for SoCs which have I2C MXC controller 2 eg LS1088A, LS2080A 188942ecc8bSSriram Dash 189942ecc8bSSriram Dashconfig SYS_I2C_MXC_I2C3 190942ecc8bSSriram Dash bool "NXP MXC I2C3" 191942ecc8bSSriram Dash help 192942ecc8bSSriram Dash Add support for NXP MXC I2C Controller 3. 193942ecc8bSSriram Dash Required for SoCs which have I2C MXC controller 3 eg LS1088A, LS2080A 194942ecc8bSSriram Dash 195942ecc8bSSriram Dashconfig SYS_I2C_MXC_I2C4 196942ecc8bSSriram Dash bool "NXP MXC I2C4" 197942ecc8bSSriram Dash help 198942ecc8bSSriram Dash Add support for NXP MXC I2C Controller 4. 199942ecc8bSSriram Dash Required for SoCs which have I2C MXC controller 4 eg LS1088A, LS2080A 200fa452192SSriram Dash 201fa452192SSriram Dashconfig SYS_I2C_MXC_I2C5 202fa452192SSriram Dash bool "NXP MXC I2C5" 203fa452192SSriram Dash help 204fa452192SSriram Dash Add support for NXP MXC I2C Controller 5. 205fa452192SSriram Dash Required for SoCs which have I2C MXC controller 5 eg LX2160A 206fa452192SSriram Dash 207fa452192SSriram Dashconfig SYS_I2C_MXC_I2C6 208fa452192SSriram Dash bool "NXP MXC I2C6" 209fa452192SSriram Dash help 210fa452192SSriram Dash Add support for NXP MXC I2C Controller 6. 211fa452192SSriram Dash Required for SoCs which have I2C MXC controller 6 eg LX2160A 212fa452192SSriram Dash 213fa452192SSriram Dashconfig SYS_I2C_MXC_I2C7 214fa452192SSriram Dash bool "NXP MXC I2C7" 215fa452192SSriram Dash help 216fa452192SSriram Dash Add support for NXP MXC I2C Controller 7. 217fa452192SSriram Dash Required for SoCs which have I2C MXC controller 7 eg LX2160A 218fa452192SSriram Dash 219fa452192SSriram Dashconfig SYS_I2C_MXC_I2C8 220fa452192SSriram Dash bool "NXP MXC I2C8" 221fa452192SSriram Dash help 222fa452192SSriram Dash Add support for NXP MXC I2C Controller 8. 223fa452192SSriram Dash Required for SoCs which have I2C MXC controller 8 eg LX2160A 224942ecc8bSSriram Dashendif 225942ecc8bSSriram Dash 226942ecc8bSSriram Dashif SYS_I2C_MXC_I2C1 227942ecc8bSSriram Dashconfig SYS_MXC_I2C1_SPEED 228942ecc8bSSriram Dash int "I2C Channel 1 speed" 229942ecc8bSSriram Dash default 40000000 if TARGET_LS2080A_SIMU || TARGET_LS2080A_EMU 230942ecc8bSSriram Dash default 100000 231942ecc8bSSriram Dash help 232942ecc8bSSriram Dash MXC I2C Channel 1 speed 233942ecc8bSSriram Dash 234942ecc8bSSriram Dashconfig SYS_MXC_I2C1_SLAVE 235942ecc8bSSriram Dash int "I2C1 Slave" 236942ecc8bSSriram Dash default 0 237942ecc8bSSriram Dash help 238942ecc8bSSriram Dash MXC I2C1 Slave 239942ecc8bSSriram Dashendif 240942ecc8bSSriram Dash 241942ecc8bSSriram Dashif SYS_I2C_MXC_I2C2 242942ecc8bSSriram Dashconfig SYS_MXC_I2C2_SPEED 243942ecc8bSSriram Dash int "I2C Channel 2 speed" 244942ecc8bSSriram Dash default 40000000 if TARGET_LS2080A_SIMU || TARGET_LS2080A_EMU 245942ecc8bSSriram Dash default 100000 246942ecc8bSSriram Dash help 247942ecc8bSSriram Dash MXC I2C Channel 2 speed 248942ecc8bSSriram Dash 249942ecc8bSSriram Dashconfig SYS_MXC_I2C2_SLAVE 250942ecc8bSSriram Dash int "I2C2 Slave" 251942ecc8bSSriram Dash default 0 252942ecc8bSSriram Dash help 253942ecc8bSSriram Dash MXC I2C2 Slave 254942ecc8bSSriram Dashendif 255942ecc8bSSriram Dash 256942ecc8bSSriram Dashif SYS_I2C_MXC_I2C3 257942ecc8bSSriram Dashconfig SYS_MXC_I2C3_SPEED 258942ecc8bSSriram Dash int "I2C Channel 3 speed" 259942ecc8bSSriram Dash default 100000 260942ecc8bSSriram Dash help 261942ecc8bSSriram Dash MXC I2C Channel 3 speed 262942ecc8bSSriram Dash 263942ecc8bSSriram Dashconfig SYS_MXC_I2C3_SLAVE 264942ecc8bSSriram Dash int "I2C3 Slave" 265942ecc8bSSriram Dash default 0 266942ecc8bSSriram Dash help 267942ecc8bSSriram Dash MXC I2C3 Slave 268942ecc8bSSriram Dashendif 269942ecc8bSSriram Dash 270942ecc8bSSriram Dashif SYS_I2C_MXC_I2C4 271942ecc8bSSriram Dashconfig SYS_MXC_I2C4_SPEED 272942ecc8bSSriram Dash int "I2C Channel 4 speed" 273942ecc8bSSriram Dash default 100000 274942ecc8bSSriram Dash help 275942ecc8bSSriram Dash MXC I2C Channel 4 speed 276942ecc8bSSriram Dash 277942ecc8bSSriram Dashconfig SYS_MXC_I2C4_SLAVE 278942ecc8bSSriram Dash int "I2C4 Slave" 279942ecc8bSSriram Dash default 0 280942ecc8bSSriram Dash help 281942ecc8bSSriram Dash MXC I2C4 Slave 282942ecc8bSSriram Dashendif 283942ecc8bSSriram Dash 284fa452192SSriram Dashif SYS_I2C_MXC_I2C5 285fa452192SSriram Dashconfig SYS_MXC_I2C5_SPEED 286fa452192SSriram Dash int "I2C Channel 5 speed" 287fa452192SSriram Dash default 100000 288fa452192SSriram Dash help 289fa452192SSriram Dash MXC I2C Channel 5 speed 290fa452192SSriram Dash 291fa452192SSriram Dashconfig SYS_MXC_I2C5_SLAVE 292fa452192SSriram Dash int "I2C5 Slave" 293fa452192SSriram Dash default 0 294fa452192SSriram Dash help 295fa452192SSriram Dash MXC I2C5 Slave 296fa452192SSriram Dashendif 297fa452192SSriram Dash 298fa452192SSriram Dashif SYS_I2C_MXC_I2C6 299fa452192SSriram Dashconfig SYS_MXC_I2C6_SPEED 300fa452192SSriram Dash int "I2C Channel 6 speed" 301fa452192SSriram Dash default 100000 302fa452192SSriram Dash help 303fa452192SSriram Dash MXC I2C Channel 6 speed 304fa452192SSriram Dash 305fa452192SSriram Dashconfig SYS_MXC_I2C6_SLAVE 306fa452192SSriram Dash int "I2C6 Slave" 307fa452192SSriram Dash default 0 308fa452192SSriram Dash help 309fa452192SSriram Dash MXC I2C6 Slave 310fa452192SSriram Dashendif 311fa452192SSriram Dash 312fa452192SSriram Dashif SYS_I2C_MXC_I2C7 313fa452192SSriram Dashconfig SYS_MXC_I2C7_SPEED 314fa452192SSriram Dash int "I2C Channel 7 speed" 315fa452192SSriram Dash default 100000 316fa452192SSriram Dash help 317fa452192SSriram Dash MXC I2C Channel 7 speed 318fa452192SSriram Dash 319fa452192SSriram Dashconfig SYS_MXC_I2C7_SLAVE 320fa452192SSriram Dash int "I2C7 Slave" 321fa452192SSriram Dash default 0 322fa452192SSriram Dash help 323fa452192SSriram Dash MXC I2C7 Slave 324fa452192SSriram Dashendif 325fa452192SSriram Dash 326fa452192SSriram Dashif SYS_I2C_MXC_I2C8 327fa452192SSriram Dashconfig SYS_MXC_I2C8_SPEED 328fa452192SSriram Dash int "I2C Channel 8 speed" 329fa452192SSriram Dash default 100000 330fa452192SSriram Dash help 331fa452192SSriram Dash MXC I2C Channel 8 speed 332fa452192SSriram Dash 333fa452192SSriram Dashconfig SYS_MXC_I2C8_SLAVE 334fa452192SSriram Dash int "I2C8 Slave" 335fa452192SSriram Dash default 0 336fa452192SSriram Dash help 337fa452192SSriram Dash MXC I2C8 Slave 338fa452192SSriram Dashendif 339fa452192SSriram Dash 340daa0f050SAdam Fordconfig SYS_I2C_OMAP24XX 341daa0f050SAdam Ford bool "TI OMAP2+ I2C driver" 342daa0f050SAdam Ford depends on ARCH_OMAP2PLUS 343daa0f050SAdam Ford help 344daa0f050SAdam Ford Add support for the OMAP2+ I2C driver. 345daa0f050SAdam Ford 34611d2e98dSAdam Fordif SYS_I2C_OMAP24XX 34711d2e98dSAdam Fordconfig SYS_OMAP24_I2C_SLAVE 34811d2e98dSAdam Ford int "I2C Slave addr channel 0" 34911d2e98dSAdam Ford default 1 35011d2e98dSAdam Ford help 35111d2e98dSAdam Ford OMAP24xx I2C Slave address channel 0 35211d2e98dSAdam Ford 35311d2e98dSAdam Fordconfig SYS_OMAP24_I2C_SPEED 35411d2e98dSAdam Ford int "I2C Slave channel 0 speed" 35511d2e98dSAdam Ford default 100000 35611d2e98dSAdam Ford help 35711d2e98dSAdam Ford OMAP24xx Slave speed channel 0 35811d2e98dSAdam Fordendif 35911d2e98dSAdam Ford 360a06a0ac3SMarek Vasutconfig SYS_I2C_RCAR_I2C 361a06a0ac3SMarek Vasut bool "Renesas RCar I2C driver" 362a06a0ac3SMarek Vasut depends on (RCAR_GEN3 || RCAR_GEN2) && DM_I2C 363a06a0ac3SMarek Vasut help 364a06a0ac3SMarek Vasut Support for Renesas RCar I2C controller. 365a06a0ac3SMarek Vasut 3669e75ea46SMarek Vasutconfig SYS_I2C_RCAR_IIC 3679e75ea46SMarek Vasut bool "Renesas RCar Gen3 IIC driver" 368f51155ecSMarek Vasut depends on (RCAR_GEN3 || RCAR_GEN2) && DM_I2C 3699e75ea46SMarek Vasut help 3709e75ea46SMarek Vasut Support for Renesas RCar Gen3 IIC controller. 3719e75ea46SMarek Vasut 37234374699SSimon Glassconfig SYS_I2C_ROCKCHIP 37334374699SSimon Glass bool "Rockchip I2C driver" 37434374699SSimon Glass depends on DM_I2C 37534374699SSimon Glass help 37634374699SSimon Glass Add support for the Rockchip I2C driver. This is used with various 37734374699SSimon Glass Rockchip parts such as RK3126, RK3128, RK3036 and RK3288. All chips 37874751454SChris Packham have several I2C ports and all are provided, controlled by the 37934374699SSimon Glass device tree. 38034374699SSimon Glass 3811174aadaSSimon Glassconfig SYS_I2C_SANDBOX 3821174aadaSSimon Glass bool "Sandbox I2C driver" 3831174aadaSSimon Glass depends on SANDBOX && DM_I2C 3841174aadaSSimon Glass help 3851174aadaSSimon Glass Enable I2C support for sandbox. This is an emulation of a real I2C 3861174aadaSSimon Glass bus. Devices can be attached to the bus using the device tree 387c77c7db5SMasahiro Yamada which specifies the driver to use. See sandbox.dts as an example. 3881174aadaSSimon Glass 3891d61ad95SJaehoon Chungconfig SYS_I2C_S3C24X0 3901d61ad95SJaehoon Chung bool "Samsung I2C driver" 3911d61ad95SJaehoon Chung depends on ARCH_EXYNOS4 && DM_I2C 3921d61ad95SJaehoon Chung help 3931d61ad95SJaehoon Chung Support for Samsung I2C controller as Samsung SoCs. 3941174aadaSSimon Glass 3954fadcaf0SPatrice Chotardconfig SYS_I2C_STM32F7 3964fadcaf0SPatrice Chotard bool "STMicroelectronics STM32F7 I2C support" 3972514c2d0SPatrick Delaunay depends on (STM32F7 || STM32H7 || ARCH_STM32MP) && DM_I2C 3984fadcaf0SPatrice Chotard help 3994fadcaf0SPatrice Chotard Enable this option to add support for STM32 I2C controller 4004fadcaf0SPatrice Chotard introduced with STM32F7/H7 SoCs. This I2C controller supports : 4014fadcaf0SPatrice Chotard _ Slave and master modes 4024fadcaf0SPatrice Chotard _ Multimaster capability 4034fadcaf0SPatrice Chotard _ Standard-mode (up to 100 kHz) 4044fadcaf0SPatrice Chotard _ Fast-mode (up to 400 kHz) 4054fadcaf0SPatrice Chotard _ Fast-mode Plus (up to 1 MHz) 4064fadcaf0SPatrice Chotard _ 7-bit and 10-bit addressing mode 4074fadcaf0SPatrice Chotard _ Multiple 7-bit slave addresses (2 addresses, 1 with configurable mask) 4084fadcaf0SPatrice Chotard _ All 7-bit addresses acknowledge mode 4094fadcaf0SPatrice Chotard _ General call 4104fadcaf0SPatrice Chotard _ Programmable setup and hold times 4114fadcaf0SPatrice Chotard _ Easy to use event management 4124fadcaf0SPatrice Chotard _ Optional clock stretching 4134fadcaf0SPatrice Chotard _ Software reset 4144fadcaf0SPatrice Chotard 41502253d4dSPeter Robinsonconfig SYS_I2C_TEGRA 41602253d4dSPeter Robinson bool "NVIDIA Tegra internal I2C controller" 41702253d4dSPeter Robinson depends on TEGRA 41802253d4dSPeter Robinson help 41902253d4dSPeter Robinson Support for NVIDIA I2C controller available in Tegra SoCs. 42002253d4dSPeter Robinson 42126f820f3SMasahiro Yamadaconfig SYS_I2C_UNIPHIER 42226f820f3SMasahiro Yamada bool "UniPhier I2C driver" 42326f820f3SMasahiro Yamada depends on ARCH_UNIPHIER && DM_I2C 42426f820f3SMasahiro Yamada default y 42526f820f3SMasahiro Yamada help 426b6ef3a3fSMasahiro Yamada Support for UniPhier I2C controller driver. This I2C controller 427b6ef3a3fSMasahiro Yamada is used on PH1-LD4, PH1-sLD8 or older UniPhier SoCs. 428238bd0b8SMasahiro Yamada 429238bd0b8SMasahiro Yamadaconfig SYS_I2C_UNIPHIER_F 430238bd0b8SMasahiro Yamada bool "UniPhier FIFO-builtin I2C driver" 431238bd0b8SMasahiro Yamada depends on ARCH_UNIPHIER && DM_I2C 432238bd0b8SMasahiro Yamada default y 433238bd0b8SMasahiro Yamada help 434b6ef3a3fSMasahiro Yamada Support for UniPhier FIFO-builtin I2C controller driver. 435238bd0b8SMasahiro Yamada This I2C controller is used on PH1-Pro4 or newer UniPhier SoCs. 4363d1957f0SSimon Glass 437e3bc4bb8SHeiko Schocherconfig SYS_I2C_VERSATILE 438e3bc4bb8SHeiko Schocher bool "Arm Ltd Versatile I2C bus driver" 439e3bc4bb8SHeiko Schocher depends on DM_I2C && (TARGET_VEXPRESS_CA15_TC2 || TARGET_VEXPRESS64_JUNO) 440e3bc4bb8SHeiko Schocher help 441e3bc4bb8SHeiko Schocher Add support for the Arm Ltd Versatile Express I2C driver. The I2C host 442e3bc4bb8SHeiko Schocher controller is present in the development boards manufactured by Arm Ltd. 443e3bc4bb8SHeiko Schocher 44414a6ff2cSmario.six@gdsys.ccconfig SYS_I2C_MVTWSI 44514a6ff2cSmario.six@gdsys.cc bool "Marvell I2C driver" 44614a6ff2cSmario.six@gdsys.cc depends on DM_I2C 44714a6ff2cSmario.six@gdsys.cc help 44814a6ff2cSmario.six@gdsys.cc Support for Marvell I2C controllers as used on the orion5x and 44914a6ff2cSmario.six@gdsys.cc kirkwood SoC families. 45014a6ff2cSmario.six@gdsys.cc 45134f1c9feSStephen Warrenconfig TEGRA186_BPMP_I2C 45234f1c9feSStephen Warren bool "Enable Tegra186 BPMP-based I2C driver" 45334f1c9feSStephen Warren depends on TEGRA186_BPMP 45434f1c9feSStephen Warren help 45534f1c9feSStephen Warren Support for Tegra I2C controllers managed by the BPMP (Boot and 45634f1c9feSStephen Warren Power Management Processor). On Tegra186, some I2C controllers are 45734f1c9feSStephen Warren directly controlled by the main CPU, whereas others are controlled 45834f1c9feSStephen Warren by the BPMP, and can only be accessed by the main CPU via IPC 45934f1c9feSStephen Warren requests to the BPMP. This driver covers the latter case. 46034f1c9feSStephen Warren 461fc760cc6SAdam Fordconfig SYS_I2C_BUS_MAX 462fc760cc6SAdam Ford int "Max I2C busses" 463fc760cc6SAdam Ford depends on ARCH_KEYSTONE || ARCH_OMAP2PLUS || ARCH_SOCFPGA 464fc760cc6SAdam Ford default 2 if TI816X 465fc760cc6SAdam Ford default 3 if OMAP34XX || AM33XX || AM43XX || ARCH_KEYSTONE 466fc760cc6SAdam Ford default 4 if ARCH_SOCFPGA || OMAP44XX || TI814X 467fc760cc6SAdam Ford default 5 if OMAP54XX 468fc760cc6SAdam Ford help 469fc760cc6SAdam Ford Define the maximum number of available I2C buses. 470fc760cc6SAdam Ford 471ad827a50SMarek Vasutconfig SYS_I2C_XILINX_XIIC 472ad827a50SMarek Vasut bool "Xilinx AXI I2C driver" 473ad827a50SMarek Vasut depends on DM_I2C 474ad827a50SMarek Vasut help 475ad827a50SMarek Vasut Support for Xilinx AXI I2C controller. 476ad827a50SMarek Vasut 47792164216SMario Sixconfig SYS_I2C_IHS 47892164216SMario Six bool "gdsys IHS I2C driver" 47992164216SMario Six depends on DM_I2C 48092164216SMario Six help 48192164216SMario Six Support for gdsys IHS I2C driver on FPGA bus. 48292164216SMario Six 4833d1957f0SSimon Glasssource "drivers/i2c/muxes/Kconfig" 4840b11dbf7SMasahiro Yamada 4850b11dbf7SMasahiro Yamadaendmenu 486