zephyr/drivers/i2c
Tom Burdick 24762115d4 i2c: Fix default RTIO handler transactions
Transactions from RTIO should result in single calls to i2c_transfer.
This corrects the default handler to first count the number of
submissions in the transaction, allocate on the stack, and then copy
over each submission to an equivalent i2c_msg.

It also cleans up the helper functions to be infallible, taking only the
submission and msg to copy to.

Signed-off-by: Tom Burdick <thomas.burdick@intel.com>
2024-10-22 18:29:34 -04:00
..
target i2c: target: eeprom_target: add addressable size assert 2024-05-30 05:31:40 -07:00
CMakeLists.txt i2c: nrfx_twim: native RTIO support 2024-10-21 15:53:05 +02:00
Kconfig i2c: Fix default RTIO handler transactions 2024-10-22 18:29:34 -04:00
Kconfig.ambiq drivers: i2c: add bus recovery 2024-10-22 20:40:29 +02:00
Kconfig.andes_atciic100
Kconfig.b91
Kconfig.bcm_iproc drivers: i2c: add Broadcom iProc I2C driver 2024-05-28 09:57:40 +02:00
Kconfig.cc13xx_cc26xx
Kconfig.dw drivers: I2C_DW: Fix I2C scan example 2024-07-04 08:23:43 +02:00
Kconfig.ene
Kconfig.esp32
Kconfig.gd32
Kconfig.gpio
Kconfig.i2c_emul
Kconfig.ifx_cat1 drivers: Remove CONFIG_PINCTRL in defconfig files 2024-09-23 18:08:14 -04:00
Kconfig.ifx_xmc4 drivers: Remove CONFIG_PINCTRL in defconfig files 2024-09-23 18:08:14 -04:00
Kconfig.it8xxx2 ITE: it8xxx2: Remove CONFIG_PINCTRL from soc defconfig file 2024-10-15 13:52:55 +02:00
Kconfig.litex
Kconfig.lpc11u6x boards: nxp: Removing CONFIG_PINCTRL from the boards defconfig 2024-10-15 19:09:45 -04:00
Kconfig.max32 drivers: i2c: Select PINCTRL for MAX32 MCUs 2024-08-16 16:29:55 +01:00
Kconfig.mchp_mss
Kconfig.mcux drivers: nxp: Add reset code to driver inits 2024-05-21 16:49:42 -04:00
Kconfig.npcx
Kconfig.nrfx rtio: Add default i2c submit handler 2024-09-04 21:28:26 +02:00
Kconfig.numaker
Kconfig.rcar
Kconfig.renesas_ra drivers: i2c: Add I2C driver support for Renesas RA8 devices 2024-08-14 15:53:50 -05:00
Kconfig.sam0
Kconfig.sam_twihs rtio: Add default i2c submit handler 2024-09-04 21:28:26 +02:00
Kconfig.sbcon
Kconfig.sc18im704
Kconfig.sedi
Kconfig.sifive
Kconfig.smartbond da1469x: Remove CONFIG_PINCTRL from all defconfig files 2024-10-08 16:57:41 +02:00
Kconfig.stm32 drivers: i2c: stm32: add support for STM32WB0 2024-10-17 10:49:34 -04:00
Kconfig.tca954x
Kconfig.test
Kconfig.xec
Kconfig.xilinx_axi
gpio_i2c_switch.c rtio: Add default i2c submit handler 2024-09-04 21:28:26 +02:00
i2c-priv.h
i2c_ambiq.c drivers: i2c: add bus recovery 2024-10-22 20:40:29 +02:00
i2c_andes_atciic100.c rtio: Add default i2c submit handler 2024-09-04 21:28:26 +02:00
i2c_andes_atciic100.h
i2c_b91.c rtio: Add default i2c submit handler 2024-09-04 21:28:26 +02:00
i2c_bcm_iproc.c rtio: Add default i2c submit handler 2024-09-04 21:28:26 +02:00
i2c_bitbang.c drivers: i2c: bitbang: add get_config 2024-05-28 09:56:48 +02:00
i2c_bitbang.h drivers: i2c: bitbang: add get_config 2024-05-28 09:56:48 +02:00
i2c_cc13xx_cc26xx.c rtio: Add default i2c submit handler 2024-09-04 21:28:26 +02:00
i2c_cc32xx.c rtio: Add default i2c submit handler 2024-09-04 21:28:26 +02:00
i2c_common.c
i2c_dw.c drivers: i2c: Designware IP clang format pass 2024-10-07 20:15:54 -04:00
i2c_dw.h drivers: i2c: Designware IP clang format pass 2024-10-07 20:15:54 -04:00
i2c_dw_registers.h drivers: i2c: Designware IP clang format pass 2024-10-07 20:15:54 -04:00
i2c_emul.c rtio: Add default i2c submit handler 2024-09-04 21:28:26 +02:00
i2c_ene_kb1200.c rtio: Add default i2c submit handler 2024-09-04 21:28:26 +02:00
i2c_esp32.c zephyr: bulk update to DT_NODE_HAS_STATUS_OKAY 2024-10-03 17:06:52 +01:00
i2c_gd32.c rtio: Add default i2c submit handler 2024-09-04 21:28:26 +02:00
i2c_gecko.c drivers: i2c: i2c_gecko: add exclusive access 2024-10-15 19:05:24 +01:00
i2c_gpio.c rtio: Add default i2c submit handler 2024-09-04 21:28:26 +02:00
i2c_handlers.c build: namespace the generated headers with `zephyr/` 2024-05-28 22:03:55 +02:00
i2c_ifx_cat1.c rtio: Add default i2c submit handler 2024-09-04 21:28:26 +02:00
i2c_ifx_xmc4.c rtio: Add default i2c submit handler 2024-09-04 21:28:26 +02:00
i2c_imx.c rtio: Add default i2c submit handler 2024-09-04 21:28:26 +02:00
i2c_ite_enhance.c drivers/i2c: it8xxx2: Add a property for maximum time allowed I2C transfer 2024-09-18 19:56:43 +01:00
i2c_ite_it8xxx2.c drivers/i2c: it8xxx2: Add a property for maximum time allowed I2C transfer 2024-09-18 19:56:43 +01:00
i2c_litex.c rtio: Add default i2c submit handler 2024-09-04 21:28:26 +02:00
i2c_ll_stm32.c drivers: i2c: update i2c driver to integrate stm32u0 2024-09-11 13:59:54 -04:00
i2c_ll_stm32.h drivers: i2c: stm32 for V2 driver get_config with timings 2024-06-12 14:35:48 +03:00
i2c_ll_stm32_v1.c drivers: i2c: i2c_ll_stm32_v1 2024-05-03 07:53:31 -04:00
i2c_ll_stm32_v2.c Driver: i2c_ll_stm32_v2: Remove log msg on boot 2024-07-08 20:40:54 -04:00
i2c_lpc11u6x.c rtio: Add default i2c submit handler 2024-09-04 21:28:26 +02:00
i2c_lpc11u6x.h
i2c_max32.c rtio: Add default i2c submit handler 2024-09-04 21:28:26 +02:00
i2c_mchp_mss.c rtio: Add default i2c submit handler 2024-09-04 21:28:26 +02:00
i2c_mchp_xec.c rtio: Add default i2c submit handler 2024-09-04 21:28:26 +02:00
i2c_mchp_xec_v2.c rtio: Add default i2c submit handler 2024-09-04 21:28:26 +02:00
i2c_mcux.c rtio: Add default i2c submit handler 2024-09-04 21:28:26 +02:00
i2c_mcux_flexcomm.c rtio: Add default i2c submit handler 2024-09-04 21:28:26 +02:00
i2c_mcux_lpi2c.c drivers: i2c: Use the NXP Flexcomm driver for interrupt handling 2024-04-02 21:00:24 -04:00
i2c_mcux_lpi2c_rtio.c i2c: Fix build failure with i2c_mcux_rtio driver 2024-08-22 09:10:52 +02:00
i2c_nios2.c rtio: Add default i2c submit handler 2024-09-04 21:28:26 +02:00
i2c_npcx_controller.c style: drivers: adjust `return` usage in `void functions` 2024-09-18 09:56:16 +02:00
i2c_npcx_controller.h
i2c_npcx_port.c rtio: Add default i2c submit handler 2024-09-04 21:28:26 +02:00
i2c_nrfx_twi.c i2c: nrfx_twi: Refactor nrfx_twi to utilize common code 2024-05-21 16:48:00 -04:00
i2c_nrfx_twi_common.c i2c: Add nRFX TWI RTIO-compatible driver 2024-05-21 16:48:00 -04:00
i2c_nrfx_twi_common.h i2c: Add nRFX TWI RTIO-compatible driver 2024-05-21 16:48:00 -04:00
i2c_nrfx_twi_rtio.c i2c: nrf_twi: Add cast to const buffer pointers 2024-09-05 12:41:45 -05:00
i2c_nrfx_twim.c i2c: i2c_nrfx_twim: update callback context to dev 2024-10-21 15:53:05 +02:00
i2c_nrfx_twim_common.c i2c: i2c_nrfx_twim: update callback context to dev 2024-10-21 15:53:05 +02:00
i2c_nrfx_twim_common.h i2c: i2c_nrfx_twim: extract common code 2024-10-21 15:53:05 +02:00
i2c_nrfx_twim_rtio.c i2c: nrfx_twim: native RTIO support 2024-10-21 15:53:05 +02:00
i2c_numaker.c rtio: Add default i2c submit handler 2024-09-04 21:28:26 +02:00
i2c_rcar.c rtio: Add default i2c submit handler 2024-09-04 21:28:26 +02:00
i2c_renesas_ra_iic.c drivers: i2c: change to use IRQ_CONNECT in Renesas RA i2c driver 2024-09-23 10:01:26 +02:00
i2c_rtio.c rtio: Remove builtin iodev mpsc queue 2024-06-12 21:12:54 -04:00
i2c_rtio_default.c i2c: Fix default RTIO handler transactions 2024-10-22 18:29:34 -04:00
i2c_rv32m1_lpi2c.c rtio: Add default i2c submit handler 2024-09-04 21:28:26 +02:00
i2c_sam0.c rtio: Add default i2c submit handler 2024-09-04 21:28:26 +02:00
i2c_sam4l_twim.c rtio: Add default i2c submit handler 2024-09-04 21:28:26 +02:00
i2c_sam_twi.c rtio: Add default i2c submit handler 2024-09-04 21:28:26 +02:00
i2c_sam_twihs.c
i2c_sam_twihs_rtio.c rtio: Split the rx and tx buffer unions 2024-08-17 08:55:01 -04:00
i2c_sbcon.c rtio: Add default i2c submit handler 2024-09-04 21:28:26 +02:00
i2c_sc18im704.c rtio: Add default i2c submit handler 2024-09-04 21:28:26 +02:00
i2c_sc18im704.h
i2c_sedi.c rtio: Add default i2c submit handler 2024-09-04 21:28:26 +02:00
i2c_shell.c drivers: i2c_shell: Add direct_read sub command 2024-05-08 09:29:58 -04:00
i2c_sifive.c rtio: Add default i2c submit handler 2024-09-04 21:28:26 +02:00
i2c_smartbond.c i2c_smartbond: Don't set STOP flag to last message 2024-09-28 08:20:41 -05:00
i2c_tca954x.c rtio: Add default i2c submit handler 2024-09-04 21:28:26 +02:00
i2c_test.c
i2c_xilinx_axi.c rtio: Add default i2c submit handler 2024-09-04 21:28:26 +02:00
i2c_xilinx_axi.h