zephyr/drivers/i2c
Johan Hedberg 05f8dd9ab9 drivers: i2c_dw: Remove hard-coded instance count assumption
Introduce a Kconfig variable that the SoC can set to indicate the
number of instances in Device Tree. This also fixes the accuracy of
the Elkhart Lake instance count where the code was previously assuming
up to 12 instances even though DT lists 15 nodes.

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
2021-01-19 14:52:29 -05:00
..
slave drivers: i2c: eeprom: Convert drivers to new DT device macros 2020-12-18 08:01:59 -06:00
CMakeLists.txt drivers: i2c_dw: Remove hard-coded instance count assumption 2021-01-19 14:52:29 -05:00
i2c_bitbang.c
i2c_bitbang.h
i2c_cc13xx_cc26xx.c device: Remove DEVICE_DT_DECLARE / DEVICE_DT_INST_DECLARE 2021-01-15 07:16:21 -06:00
i2c_cc32xx.c drivers: i2c: Convert drivers to new DT device macros 2020-12-10 16:40:11 -06:00
i2c_common.c drivers: i2c: Add a dump routine 2020-08-04 17:50:39 +02:00
i2c_dw_port_x.h drivers: i2c_dw: Remove hard-coded instance count assumption 2021-01-19 14:52:29 -05:00
i2c_dw_registers.h
i2c_dw.c drivers: i2c_dw: Remove hard-coded instance count assumption 2021-01-19 14:52:29 -05:00
i2c_dw.h drivers: i2c_dw: User proper PCIe DT hierarchy 2021-01-19 14:52:29 -05:00
i2c_emul.c drivers: i2c: Convert drivers to new DT device macros 2020-12-10 16:40:11 -06:00
i2c_esp32.c device: Remove DEVICE_DT_DECLARE / DEVICE_DT_INST_DECLARE 2021-01-15 07:16:21 -06:00
i2c_gecko.c drivers: i2c_gecko: refactor to unify device definition 2020-12-15 11:19:26 +01:00
i2c_gpio.c drivers: i2c: Convert drivers to new DT device macros 2020-12-10 16:40:11 -06:00
i2c_handlers.c device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
i2c_imx.c NXP: Enable I2C for imx6sx 2021-01-18 17:01:34 -05:00
i2c_ite_it8xxx2.c drivers/i2c: add i2c driver on it8xxx2 platform 2021-01-15 11:22:57 -05:00
i2c_litex.c drivers: i2c: Convert drivers to new DT device macros 2020-12-10 16:40:11 -06:00
i2c_ll_stm32_v1.c drivers: i2c: stm32: use generic LL headers 2020-11-30 15:50:03 +01:00
i2c_ll_stm32_v2.c drivers: i2c: stm32: use generic LL headers 2020-11-30 15:50:03 +01:00
i2c_ll_stm32.c drivers: i2c: stm32: Convert drivers to new DT device macros 2020-12-10 16:40:11 -06:00
i2c_ll_stm32.h drivers/i2c: stm32: Add pinctrl configuration at driver init 2020-10-09 11:52:59 +02:00
i2c_lpc11u6x.c drivers: i2c: Convert drivers to new DT device macros 2020-12-10 16:40:11 -06:00
i2c_lpc11u6x.h device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
i2c_mchp_xec.c drivers: i2c_mchp_xec: fix incorrect timeout value 2020-12-17 08:06:39 -05:00
i2c_mcux_flexcomm.c drivers: i2c: Convert drivers to new DT device macros 2020-12-10 16:40:11 -06:00
i2c_mcux_lpi2c.c drivers: i2c: Convert drivers to new DT device macros 2020-12-10 16:40:11 -06:00
i2c_mcux.c drivers: i2c: Convert drivers to new DT device macros 2020-12-10 16:40:11 -06:00
i2c_nios2.c drivers: i2c: Convert drivers to new DT device macros 2020-12-10 16:40:11 -06:00
i2c_npcx_controller.c driver: i2c: fix recovery mechanism in npcx series. 2021-01-12 23:30:58 -05:00
i2c_npcx_controller.h driver: i2c: add i2c support in npcx series. 2020-12-27 18:15:14 +01:00
i2c_npcx_port.c driver: i2c: npcx: Convert drivers to new DT device macros 2021-01-05 13:19:32 -06:00
i2c_nrfx_twi.c power: standarize PM Kconfigs and cleanup 2020-12-09 15:18:29 -05:00
i2c_nrfx_twim.c power: standarize PM Kconfigs and cleanup 2020-12-09 15:18:29 -05:00
i2c_rv32m1_lpi2c.c drivers: i2c: Convert drivers to new DT device macros 2020-12-10 16:40:11 -06:00
i2c_sam0.c drivers: i2c: Convert drivers to new DT device macros 2020-12-10 16:40:11 -06:00
i2c_sam4l_twim.c device: Remove DEVICE_DT_DECLARE / DEVICE_DT_INST_DECLARE 2021-01-15 07:16:21 -06:00
i2c_sam_twi.c device: Remove DEVICE_DT_DECLARE / DEVICE_DT_INST_DECLARE 2021-01-15 07:16:21 -06:00
i2c_sam_twihs.c device: Remove DEVICE_DT_DECLARE / DEVICE_DT_INST_DECLARE 2021-01-15 07:16:21 -06:00
i2c_sbcon.c drivers: i2c: Convert drivers to new DT device macros 2020-12-10 16:40:11 -06:00
i2c_shell.c i2c_shell: restore documentation on scan technique 2020-09-03 08:52:19 -04:00
i2c_sifive.c drivers: i2c: i2c_sifive: Fix build issue 2020-12-11 09:13:02 -06:00
i2c-priv.h
Kconfig drivers/i2c: add i2c driver on it8xxx2 platform 2021-01-15 11:22:57 -05:00
Kconfig.cc13xx_cc26xx
Kconfig.dw drivers: i2c_dw: Remove hard-coded instance count assumption 2021-01-19 14:52:29 -05:00
Kconfig.esp32 drivers: i2c: Move Kconfig I2C instances to esp32 2020-10-16 06:36:18 -04:00
Kconfig.gpio
Kconfig.i2c_emul emul: i2c: Add support for I2C emulators 2020-09-01 14:30:46 -04:00
Kconfig.it8xxx2 drivers/i2c: add i2c driver on it8xxx2 platform 2021-01-15 11:22:57 -05:00
Kconfig.litex
Kconfig.lpc11u6x drivers: i2c: Add support for LPC11U6X I2C controllers 2020-07-29 20:12:24 +02:00
Kconfig.npcx driver: i2c: add i2c support in npcx series. 2020-12-27 18:15:14 +01:00
Kconfig.nrfx
Kconfig.sam0
Kconfig.sbcon
Kconfig.sifive
Kconfig.stm32
Kconfig.xec