zephyr/drivers/i2c
Andrzej Głąbek dd4c57d564 dts: Use separate compatibles for Nordic TWI/TWIM/TWIS peripherals
This commit introduces separate "compatible" strings for dts nodes
representing different types of Nordic TWI peripherals. Previously
"nordic,nrf-i2c" was used for both TWI and TWIM, and TWIS was not
supported.

Quite a few files need to be touched by this commit but the changes can
be divided into groups of related or very similar ones, distinguishable
by the initial part of the path to the modified file:

* dts/bindings/i2c/
  new bindings for "nordic,nrf-twim" and "nordic,nrf-twis" are added
  and the one for "nordic,nrf-i2s" is renamed to "nordic,nrf-twi",
  common fields for all these bindings are extracted to a shared file

* dts/arm/nordic/
  "compatible" properties in i2cX nodes are updated (when there is no
  choice as only one type of TWI peripheral is available) or replaced
  with a comment pointing out that the proper type of peripheral needs
  to be picked at some upper layer

* drivers/i2c/
  both flavors of i2c_nrfx drivers are updated with the new names of
  macros generated from dts

* boards/
  all i2cX nodes in dts files for boards equipped with an nRF chip are
  updated with the proper "compatible" property, according to the type
  of TWI peripheral that is currently selected for the board by the
  corresponding Kconfig choice option (I2C_x_NRF_TWI*)

Signed-off-by: Andrzej Głąbek <andrzej.glabek@nordicsemi.no>
2019-09-26 19:13:17 +02:00
..
slave dts: Make instance defines consistent 2019-07-30 17:10:31 -05:00
CMakeLists.txt drivers: i2c: remove qmsi I2C driver 2019-09-18 11:06:18 -05:00
i2c_bitbang.c drivers: i2c_bitbang: Do not use CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC 2019-07-24 15:10:02 +02:00
i2c_bitbang.h drivers: i2c_bitbang: Do not use CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC 2019-07-24 15:10:02 +02:00
i2c_cc13xx_cc26xx.c cleanup: include/: move i2c.h to drivers/i2c.h 2019-06-27 22:55:49 -04:00
i2c_cc32xx.c drivers: i2c_cc32xx: Get clock frequency from DTS 2019-07-24 15:10:02 +02:00
i2c_dw_port_x.h dts: Convert from DT_<COMPAT>_<INSTANCE>_<PROP> to DT_INST... 2019-06-14 08:02:15 -05:00
i2c_dw_registers.h headers: Fix headers across the project 2018-09-17 15:49:26 -04:00
i2c_dw.c cleanup: include/: move misc/util.h to sys/util.h 2019-06-27 22:55:49 -04:00
i2c_dw.h cleanup: include/: move i2c.h to drivers/i2c.h 2019-06-27 22:55:49 -04:00
i2c_esp32.c cleanup: include/: move misc/util.h to sys/util.h 2019-06-27 22:55:49 -04:00
i2c_gecko.c dts: Make instance defines consistent 2019-07-30 17:10:31 -05:00
i2c_gpio.c cleanup: include/: move i2c.h to drivers/i2c.h 2019-06-27 22:55:49 -04:00
i2c_handlers.c kernel: Port remaining buildable syscalls to new API 2019-09-12 11:31:50 +08:00
i2c_imx.c cleanup: include/: move misc/util.h to sys/util.h 2019-06-27 22:55:49 -04:00
i2c_ll_stm32_v1.c drivers: i2c: stm32_Slave: Fix addr flag handling 2019-09-19 20:52:23 -04:00
i2c_ll_stm32_v2.c i2c_ll_stm32_v2: Set slave_attached to false on slave unregister 2019-07-23 10:53:22 +02:00
i2c_ll_stm32.c drivers/i2c: Add support of stm32mp1 2019-07-31 05:59:16 -04:00
i2c_ll_stm32.h drivers/i2c: stm32: (FIX) add mutex to lock bus 2019-01-16 21:33:49 -05:00
i2c_mchp_xec.c drivers: i2c: xec: Add proper error handling for I2C transactions 2019-09-08 17:11:26 -04:00
i2c_mcux_lpi2c.c cleanup: include/: move i2c.h to drivers/i2c.h 2019-06-27 22:55:49 -04:00
i2c_mcux.c drivers: i2c: mcux_i2c: add instances 2 and 3 2019-09-11 09:23:28 -05:00
i2c_nios2.c cleanup: include/: move misc/util.h to sys/util.h 2019-06-27 22:55:49 -04:00
i2c_nrfx_twi.c dts: Use separate compatibles for Nordic TWI/TWIM/TWIS peripherals 2019-09-26 19:13:17 +02:00
i2c_nrfx_twim.c dts: Use separate compatibles for Nordic TWI/TWIM/TWIS peripherals 2019-09-26 19:13:17 +02:00
i2c_rv32m1_lpi2c.c cleanup: include/: move i2c.h to drivers/i2c.h 2019-06-27 22:55:49 -04:00
i2c_sam0.c cleanup: include/: move i2c.h to drivers/i2c.h 2019-06-27 22:55:49 -04:00
i2c_sam_twi.c cleanup: include/: move misc/__assert.h to sys/__assert.h 2019-06-27 22:55:49 -04:00
i2c_sam_twihs.c cleanup: include/: move misc/__assert.h to sys/__assert.h 2019-06-27 22:55:49 -04:00
i2c_sbcon.c dts: Make instance defines consistent 2019-07-30 17:10:31 -05:00
i2c_sifive.c cleanup: include/: move i2c.h to drivers/i2c.h 2019-06-27 22:55:49 -04:00
i2c-priv.h drivers: rearrange for standard use of extern "C" in private headers 2019-08-13 18:00:31 +02:00
Kconfig drivers: i2c: remove qmsi I2C driver 2019-09-18 11:06:18 -05:00
Kconfig.cc13xx_cc26xx drivers: add CC13xx / CC26xx I2C driver 2019-05-21 15:37:22 -04:00
Kconfig.dw drivers/i2c/i2c_dw.c: rewrite for PCI(e) support 2019-05-21 08:23:22 -04:00
Kconfig.esp32
Kconfig.gpio
Kconfig.nrfx modules: Kconfig: Unify the way of enabling instances in nrfx drivers 2019-09-10 13:23:44 +02:00
Kconfig.sam0 drivers: i2c: Add SAM0 I2C driver 2019-05-07 08:42:24 -04:00
Kconfig.sbcon drivers/i2c: Add missing HAS_DTS_I2C to sbcon 2019-06-18 11:22:23 -04:00
Kconfig.sifive riscv: freedom: rename RISCV32 to RISCV 2019-08-08 00:29:24 -04:00
Kconfig.stm32 drivers/i2c: Add support of stm32mp1 2019-07-31 05:59:16 -04:00
Kconfig.xec drivers: i2c: mchp: Add I2C driver for MEC family 2019-05-08 15:02:26 -07:00