1# I2C configuration options
2
3# Copyright (c) 2015 Intel Corporation
4# SPDX-License-Identifier: Apache-2.0
5
6#
7# I2C options
8#
9menuconfig I2C
10	bool "I2C Drivers"
11	help
12	  Enable I2C Driver Configuration
13
14if I2C
15
16config I2C_SHELL
17	bool "Enable I2C Shell"
18	default y
19	depends on SHELL
20	help
21	  Enable I2C Shell.
22
23	  The I2C shell currently support scanning and bus recovery.
24
25# Include these first so that any properties (e.g. defaults) below can be
26# overridden (by defining symbols in multiple locations)
27source "drivers/i2c/Kconfig.b91"
28source "drivers/i2c/Kconfig.cc13xx_cc26xx"
29source "drivers/i2c/Kconfig.dw"
30source "drivers/i2c/Kconfig.esp32"
31source "drivers/i2c/slave/Kconfig"
32source "drivers/i2c/Kconfig.gpio"
33source "drivers/i2c/Kconfig.xec"
34source "drivers/i2c/Kconfig.nrfx"
35source "drivers/i2c/Kconfig.i2c_emul"
36source "drivers/i2c/Kconfig.it8xxx2"
37source "drivers/i2c/Kconfig.sbcon"
38source "drivers/i2c/Kconfig.sifive"
39source "drivers/i2c/Kconfig.stm32"
40source "drivers/i2c/Kconfig.sam0"
41source "drivers/i2c/Kconfig.litex"
42source "drivers/i2c/Kconfig.lpc11u6x"
43source "drivers/i2c/Kconfig.npcx"
44source "drivers/i2c/Kconfig.test"
45source "drivers/i2c/Kconfig.rcar"
46source "drivers/i2c/Kconfig.tca9546a"
47
48config I2C_INIT_PRIORITY
49	int "Init priority"
50	default 60
51	help
52	  I2C device driver initialization priority.
53
54
55module = I2C
56module-str = i2c
57source "subsys/logging/Kconfig.template.log_config"
58
59config I2C_GECKO
60	bool "Gecko I2C driver"
61	depends on HAS_SILABS_GECKO
62	select SOC_GECKO_I2C
63	help
64	  Enable the SiLabs Gecko I2C bus driver.
65
66config I2C_SAM_TWIHS
67	bool "Atmel SAM (TWIHS) I2C driver"
68	depends on SOC_FAMILY_SAM
69	help
70	  Enable Atmel SAM MCU Family (TWIHS) I2C bus driver.
71
72config I2C_SAM_TWIM
73	bool "Atmel SAM (TWIM) I2C driver"
74	depends on SOC_SERIES_SAM4L
75	help
76	  Enable Atmel SAM MCU Family (TWIM) I2C bus driver.
77
78config I2C_SAM_TWI
79	bool "Atmel SAM (TWI) I2C driver"
80	depends on SOC_FAMILY_SAM
81	help
82	  Enable Atmel SAM MCU Family (TWI) I2C bus driver.
83
84config I2C_MCUX
85	bool "MCUX I2C driver"
86	depends on HAS_MCUX
87	help
88	  Enable the mcux I2C driver.
89
90config I2C_MCUX_FLEXCOMM
91	bool "MCUX FLEXCOMM I2C driver"
92	depends on HAS_MCUX_FLEXCOMM
93	help
94	  Enable the mcux flexcomm i2c driver.
95
96config I2C_MCUX_LPI2C
97	bool "MCUX LPI2C driver"
98	depends on HAS_MCUX_LPI2C && CLOCK_CONTROL
99	help
100	  Enable the mcux LPI2C driver.
101
102config I2C_IMX
103	bool "i.MX I2C driver"
104	depends on HAS_IMX_I2C
105	help
106	  Enable the i.MX I2C driver.
107
108config I2C_CC32XX
109	bool "CC32XX I2C driver"
110	depends on SOC_SERIES_CC32XX
111	help
112	  Enable the CC32XX I2C driver.
113
114config I2C_BITBANG
115	bool
116	help
117	  Enable library used for software driven (bit banging) I2C support
118
119config I2C_NIOS2
120	bool "Nios-II I2C driver"
121	depends on HAS_ALTERA_HAL
122	help
123	  Enable the Nios-II I2C driver.
124
125config I2C_RV32M1_LPI2C
126	bool "RV32M1 LPI2C driver"
127	depends on HAS_RV32M1_LPI2C && CLOCK_CONTROL
128	help
129	  Enable the RV32M1 LPI2C driver.
130
131endif # I2C
132