Loading...
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 | # Kconfig - I2C configuration options # # Copyright (c) 2015 Intel Corporation # # SPDX-License-Identifier: Apache-2.0 # # # I2C options # menuconfig I2C bool "I2C Drivers" help Enable I2C Driver Configuration if I2C # Include these first so that any properties (e.g. defaults) below can be # overriden (by defining symbols in multiple locations) source "drivers/i2c/Kconfig.dw" source "drivers/i2c/Kconfig.esp32" source "drivers/i2c/slave/Kconfig" source "drivers/i2c/Kconfig.gpio" source "drivers/i2c/Kconfig.nrfx" source "drivers/i2c/Kconfig.qmsi" source "drivers/i2c/Kconfig.sbcon" source "drivers/i2c/Kconfig.sifive" source "drivers/i2c/Kconfig.stm32" config I2C_INIT_PRIORITY int "Init priority" default 60 help I2C device driver initialization priority. module = I2C module-str = i2c source "subsys/logging/Kconfig.template.log_config" config I2C_0 bool "Enable I2C Port 0" config I2C_0_NAME string "Port 0 device name" depends on I2C_0 && !HAS_DTS_I2C default "I2C_0" config I2C_0_DEFAULT_CFG hex "Port 0 default configuration" depends on I2C_0 && !HAS_DTS_I2C default 0x0 help Allows the I2C port to be brought up with a default configuration. This is useful to set if other drivers depend upon using the I2C bus before the application has a chance to custom configure the port. Setting this value does not prohibit the application from customizing the values later. Refer to include/i2c.h file for proper values. config I2C_0_IRQ_PRI int "Port 0 interrupt priority" depends on I2C_0 && !HAS_DTS_I2C help IRQ priority. config I2C_1 bool "Enable I2C Port 1" config I2C_1_NAME string "Port 1 device name" default "I2C_1" depends on I2C_1 && !HAS_DTS_I2C config I2C_1_DEFAULT_CFG hex "Port 1 default configuration" depends on I2C_1 && !HAS_DTS_I2C default 0x0 help Allows the I2C port to be brought up with a default configuration. This is useful to set if other drivers depend upon using the I2C bus before the application has a chance to custom configure the port. Setting this value does not prohibit the application from customizing the values later. Refer to include/i2c.h file for proper values. config I2C_1_IRQ_PRI int "Port 1 interrupt priority" depends on I2C_1 && !HAS_DTS_I2C help IRQ priority. config I2C_2 bool "Enable I2C Port 2" config I2C_2_NAME string "Port 2 device name" default "I2C_2" depends on I2C_2 && !HAS_DTS_I2C config I2C_2_DEFAULT_CFG hex "Port 2 default configuration" depends on I2C_2 && !HAS_DTS_I2C default 0x0 help Allows the I2C port to be brought up with a default configuration. This is useful to set if other drivers depend upon using the I2C bus before the application has a chance to custom configure the port. Setting this value does not prohibit the application from customizing the values later. Refer to include/i2c.h file for proper values. config I2C_2_IRQ_PRI int "Port 2 interrupt priority" depends on I2C_2 && !HAS_DTS_I2C help IRQ priority. config I2C_3 bool "Enable I2C Port 3" config I2C_3_NAME string "Port 3 device name" depends on I2C_3 && !HAS_DTS_I2C default "I2C_3" config I2C_3_DEFAULT_CFG hex "Port 3 default configuration" depends on I2C_3 && !HAS_DTS_I2C default 0x0 help Allows the I2C port to be brought up with a default configuration. This is useful to set if other drivers depend upon using the I2C bus before the application has a chance to custom configure the port. Setting this value does not prohibit the application from customizing the values later. Refer to include/i2c.h file for proper values. config I2C_3_IRQ_PRI int "Port 3 interrupt priority" depends on I2C_3 && !HAS_DTS_I2C help IRQ priority. config I2C_4 bool "Enable I2C Port 4" config I2C_4_NAME string "Port 4 device name" depends on I2C_4 && !HAS_DTS_I2C default "I2C_4" config I2C_4_DEFAULT_CFG hex "Port 4 default configuration" depends on I2C_4 && !HAS_DTS_I2C default 0x0 help Allows the I2C port to be brought up with a default configuration. This is useful to set if other drivers depend upon using the I2C bus before the application has a chance to custom configure the port. Setting this value does not prohibit the application from customizing the values later. Refer to include/i2c.h file for proper values. config I2C_4_IRQ_PRI int "Port 4 interrupt priority" depends on I2C_4 && !HAS_DTS_I2C help IRQ priority. config I2C_5 bool "Enable I2C Port 5" config I2C_5_NAME string "Port 5 device name" depends on I2C_5 && !HAS_DTS_I2C default "I2C_5" config I2C_5_DEFAULT_CFG hex "Port 5 default configuration" depends on I2C_5 && !HAS_DTS_I2C default 0x0 help Allows the I2C port to be brought up with a default configuration. This is useful to set if other drivers depend upon using the I2C bus before the application has a chance to custom configure the port. Setting this value does not prohibit the application from customizing the values later. Refer to include/i2c.h file for proper values. config I2C_5_IRQ_PRI int "Port 5 interrupt priority" depends on I2C_5 && !HAS_DTS_I2C help IRQ priority. config I2C_6 bool "Enable I2C Port 6" config I2C_6_NAME string "Port 6 device name" depends on I2C_6 && !HAS_DTS_I2C default "I2C_6" config I2C_6_DEFAULT_CFG hex "Port 6 default configuration" depends on I2C_6 && !HAS_DTS_I2C default 0x0 help Allows the I2C port to be brought up with a default configuration. This is useful to set if other drivers depend upon using the I2C bus before the application has a chance to custom configure the port. Setting this value does not prohibit the application from customizing the values later. Refer to include/i2c.h file for proper values. config I2C_6_IRQ_PRI int "Port 6 interrupt priority" depends on I2C_6 && !HAS_DTS_I2C help IRQ priority. config I2C_7 bool "Enable I2C Port 7" config I2C_7_NAME string "Port 7 device name" depends on I2C_7 && !HAS_DTS_I2C default "I2C_7" config I2C_7_DEFAULT_CFG hex "Port 7 default configuration" depends on I2C_7 && !HAS_DTS_I2C default 0x0 help Allows the I2C port to be brought up with a default configuration. This is useful to set if other drivers depend upon using the I2C bus before the application has a chance to custom configure the port. Setting this value does not prohibit the application from customizing the values later. Refer to include/i2c.h file for proper values. config I2C_7_IRQ_PRI int "Port 7 interrupt priority" depends on I2C_7 && !HAS_DTS_I2C help IRQ priority. config I2C_GECKO bool "Gecko I2C driver" depends on HAS_SILABS_GECKO select SOC_GECKO_I2C help Enable the SiLabs Gecko I2C bus driver. config I2C_SAM_TWIHS bool "Atmel SAM (TWIHS) I2C driver" depends on SOC_FAMILY_SAM select HAS_DTS_I2C help Enable Atmel SAM MCU Family (TWIHS) I2C bus driver. config I2C_SAM_TWI bool "Atmel SAM (TWI) I2C driver" depends on SOC_FAMILY_SAM select HAS_DTS_I2C help Enable Atmel SAM MCU Family (TWI) I2C bus driver. config I2C_MCUX bool "MCUX I2C driver" depends on HAS_MCUX select HAS_DTS_I2C help Enable the mcux I2C driver. config I2C_MCUX_LPI2C bool "MCUX LPI2C driver" depends on HAS_MCUX_LPI2C && CLOCK_CONTROL select HAS_DTS_I2C help Enable the mcux LPI2C driver. config I2C_IMX bool "i.MX I2C driver" depends on HAS_IMX_I2C select HAS_DTS_I2C help Enable the i.MX I2C driver. config I2C_CC32XX bool "CC32XX I2C driver" depends on SOC_SERIES_CC32XX select HAS_DTS_I2C help Enable the CC32XX I2C driver. config I2C_BITBANG bool help Enable library used for software driven (bit banging) I2C support config I2C_NIOS2 bool "Nios-II I2C driver" depends on HAS_ALTERA_HAL help Enable the Nios-II I2C driver. endif # I2C |