zephyr/drivers/i2c
Bjarki Arge Andreasen 2e0092356f drivers: i2c: nrfx_twim_rtio: cast buf to non-const
RTIO correctly declares tx buffers as const, however, the
existing I2C API and NRFX (SDK) drivers don't. Therefor cast the
const buf to non-const when passing the tx buf to the twim driver
from the RTIO call to avoid the const warning.

The tx buffer is being treated as const data naturally in the
NRFX driver, its just not declared as such since we reuse the
buffer for both RX and TX data.

Alternatively the SDK and "shim" drivers built on top of it need
to be updated, which is quite a bit of work :)

Signed-off-by: Bjarki Arge Andreasen <bjarki.andreasen@nordicsemi.no>
2025-01-13 20:23:36 +01:00
..
target drivers: i2c: Add zephyr-keep-sorted defines 2025-01-08 01:30:34 +01:00
CMakeLists.txt drivers: i2c: Base OMAP I2C support for TI-K3 processor 2025-01-09 23:26:23 +01:00
gpio_i2c_switch.c drivers: i2c: Place API into iterable section 2024-12-16 18:25:36 +01:00
i2c-priv.h
i2c_ambiq.c drivers: i2c: Place API into iterable section 2024-12-16 18:25:36 +01:00
i2c_andes_atciic100.c drivers: i2c: Place API into iterable section 2024-12-16 18:25:36 +01:00
i2c_andes_atciic100.h drivers: i2c: andes: Remove the inclusion of soc.h 2024-01-30 17:56:07 +01:00
i2c_b91.c drivers: i2c: Place API into iterable section 2024-12-16 18:25:36 +01:00
i2c_bcm_iproc.c drivers: i2c: Place API into iterable section 2024-12-16 18:25:36 +01:00
i2c_bitbang.c doc: i2c: Update I2C specification link 2024-11-21 09:17:50 +01:00
i2c_bitbang.h drivers: i2c: bitbang: add get_config 2024-05-28 09:56:48 +02:00
i2c_cc13xx_cc26xx.c drivers: i2c: Place API into iterable section 2024-12-16 18:25:36 +01:00
i2c_cc32xx.c drivers: i2c: Place API into iterable section 2024-12-16 18:25:36 +01:00
i2c_common.c i2c: add filtering of i2c dumped messages 2023-09-06 17:54:53 +02:00
i2c_dw.c drivers: i2c: dw: Fix the "resets" property exists check logic 2024-12-26 19:43:54 +01:00
i2c_dw.h drivers: i2c_dw: add devicetree property to offset clock settings 2024-12-16 20:51:32 +01:00
i2c_dw_registers.h drivers: i2c: Designware IP clang format pass 2024-10-07 20:15:54 -04:00
i2c_emul.c drivers: i2c: Place API into iterable section 2024-12-16 18:25:36 +01:00
i2c_ene_kb1200.c drivers: i2c: Place API into iterable section 2024-12-16 18:25:36 +01:00
i2c_esp32.c drivers: i2c: Place API into iterable section 2024-12-16 18:25:36 +01:00
i2c_gd32.c drivers: i2c: Place API into iterable section 2024-12-16 18:25:36 +01:00
i2c_gecko.c drivers: i2c: Place API into iterable section 2024-12-16 18:25:36 +01:00
i2c_gpio.c drivers: i2c: Place API into iterable section 2024-12-16 18:25:36 +01:00
i2c_handlers.c build: namespace the generated headers with zephyr/ 2024-05-28 22:03:55 +02:00
i2c_ifx_cat1.c drivers: i2c: Place API into iterable section 2024-12-16 18:25:36 +01:00
i2c_ifx_xmc4.c drivers: i2c: Place API into iterable section 2024-12-16 18:25:36 +01:00
i2c_imx.c drivers: i2c: Place API into iterable section 2024-12-16 18:25:36 +01:00
i2c_ite_enhance.c drivers: i2c: Place API into iterable section 2024-12-16 18:25:36 +01:00
i2c_ite_it8xxx2.c drivers: i2c: Place API into iterable section 2024-12-16 18:25:36 +01:00
i2c_litex.c drivers: i2c: Place API into iterable section 2024-12-16 18:25:36 +01:00
i2c_ll_stm32.c drivers: i2c: Fix SMBus build with stm32f4 family chip 2024-12-18 08:32:32 +01: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 drivers: i2c: stm32 I2C V2 handles i2c_target processed_cb return code 2024-11-08 11:38:02 -06:00
i2c_lpc11u6x.c drivers: i2c: Place API into iterable section 2024-12-16 18:25:36 +01:00
i2c_lpc11u6x.h
i2c_max32.c drivers: i2c: Place API into iterable section 2024-12-16 18:25:36 +01:00
i2c_max32_rtio.c i2c: Add RTIO-compatible driver for adi MAX32 2024-12-20 16:08:52 +01:00
i2c_mchp_mss.c drivers: i2c: Place API into iterable section 2024-12-16 18:25:36 +01:00
i2c_mchp_xec.c drivers: i2c: Place API into iterable section 2024-12-16 18:25:36 +01:00
i2c_mchp_xec_v2.c drivers: i2c: Place API into iterable section 2024-12-16 18:25:36 +01:00
i2c_mcux.c drivers: i2c: Place API into iterable section 2024-12-16 18:25:36 +01:00
i2c_mcux_flexcomm.c drivers: i2c_mcux_flexcomm: add support for bus recovery. 2025-01-08 09:33:16 +01:00
i2c_mcux_lpi2c.c drivers: i2c: Place API into iterable section 2024-12-16 18:25:36 +01:00
i2c_mcux_lpi2c_rtio.c drivers: i2c: Place API into iterable section 2024-12-16 18:25:36 +01:00
i2c_nios2.c drivers: i2c: Place API into iterable section 2024-12-16 18:25:36 +01:00
i2c_npcx_controller.c driver: i2c: npcx: use CONFIG_I2C_LOG_LEVEL 2024-12-19 04:18:34 +01:00
i2c_npcx_controller.h drivers: i2c: correct spelling 2024-01-15 09:59:17 +01:00
i2c_npcx_port.c driver: i2c: npcx: use CONFIG_I2C_LOG_LEVEL 2024-12-19 04:18:34 +01:00
i2c_nrfx_twi.c drivers: i2c: Place API into iterable section 2024-12-16 18:25:36 +01: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 drivers: i2c: nrfx_twi[m]: default to I2C_BITRATE_STANDARD 2024-10-29 09:27:05 -07:00
i2c_nrfx_twi_rtio.c drivers: i2c: Place API into iterable section 2024-12-16 18:25:36 +01:00
i2c_nrfx_twim.c i2c: nrfx_twim: mark as PM_DEVICE_ISR_SAFE 2024-12-18 08:31:30 +01: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 drivers: i2c: nrfx_twi[m]: default to I2C_BITRATE_STANDARD 2024-10-29 09:27:05 -07:00
i2c_nrfx_twim_rtio.c drivers: i2c: nrfx_twim_rtio: cast buf to non-const 2025-01-13 20:23:36 +01:00
i2c_nrfx_twis.c drivers: i2c: add nrf twis suppport 2024-12-20 16:14:05 +01:00
i2c_numaker.c drivers: i2c: Place API into iterable section 2024-12-16 18:25:36 +01:00
i2c_omap.c drivers: i2c: Added Bus recovery support to OMAP I2C. 2025-01-09 23:26:23 +01:00
i2c_rcar.c drivers: i2c: Place API into iterable section 2024-12-16 18:25:36 +01:00
i2c_renesas_ra_iic.c drivers: i2c: Place API into iterable section 2024-12-16 18:25:36 +01: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 drivers: i2c: Place API into iterable section 2024-12-16 18:25:36 +01:00
i2c_sam0.c drivers: i2c: Place API into iterable section 2024-12-16 18:25:36 +01:00
i2c_sam4l_twim.c drivers: i2c: Place API into iterable section 2024-12-16 18:25:36 +01:00
i2c_sam_twi.c drivers: i2c: Place API into iterable section 2024-12-16 18:25:36 +01:00
i2c_sam_twihs.c drivers: i2c: Place API into iterable section 2024-12-16 18:25:36 +01:00
i2c_sam_twihs_rtio.c drivers: i2c: Place API into iterable section 2024-12-16 18:25:36 +01:00
i2c_sbcon.c drivers: i2c: Place API into iterable section 2024-12-16 18:25:36 +01:00
i2c_sc18im704.c drivers: i2c: Place API into iterable section 2024-12-16 18:25:36 +01:00
i2c_sc18im704.h drivers: i2c: Add NXP SC18IM704 I2C support 2023-04-03 20:02:51 +02:00
i2c_sedi.c drivers: sedi: Update device definition macros to use DT_INST variants 2025-01-08 19:10:52 +01:00
i2c_shell.c shell: use shell_device_get_binding 2024-12-18 15:32:10 +01:00
i2c_sifive.c drivers: i2c: Place API into iterable section 2024-12-16 18:25:36 +01:00
i2c_smartbond.c drivers: i2c: Place API into iterable section 2024-12-16 18:25:36 +01:00
i2c_tca954x.c drivers: i2c: Place API into iterable section 2024-12-16 18:25:36 +01:00
i2c_test.c drivers: i2c: Place API into iterable section 2024-12-16 18:25:36 +01:00
i2c_xilinx_axi.c drivers: i2c: Place API into iterable section 2024-12-16 18:25:36 +01:00
i2c_xilinx_axi.h drivers: i2c: add Xilinx AXI I2C driver 2023-04-17 11:39:21 +02:00
Kconfig drivers: i2c: Base OMAP I2C support for TI-K3 processor 2025-01-09 23:26:23 +01:00
Kconfig.ambiq drivers: i2c: add bus recovery 2024-10-22 20:40:29 +02:00
Kconfig.andes_atciic100
Kconfig.b91 drivers: all: telink-b91: select PINCTRL 2024-12-05 15:17:47 +01:00
Kconfig.bcm_iproc drivers: i2c: add Broadcom iProc I2C driver 2024-05-28 09:57:40 +02:00
Kconfig.cc13xx_cc26xx drivers: all: cc12xx_cc26xx: select PINCTRL 2024-12-05 15:18:01 +01:00
Kconfig.dw soc: raspberrypi: Drop PINCTRL from Kconfig.defconfig 2024-11-25 14:42:01 +01:00
Kconfig.ene drivers: i2c: initial device driver for ENE KB1200 2024-03-15 09:39:48 +00:00
Kconfig.esp32
Kconfig.gd32 soc: gd32: Drop PINCTRL from Kconfig.defconfig 2024-11-04 13:40:42 -06:00
Kconfig.gpio
Kconfig.i2c_emul emul: Make ESPI/I2C_EMUL depend on EMUL 2023-05-08 16:20:52 +02:00
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 drivers: i2c: add Microchip PolarFire SoC I2C driver 2023-06-23 12:31:36 -04:00
Kconfig.mcux drivers: i2c_mcux_flexcomm: add support for bus recovery. 2025-01-08 09:33:16 +01:00
Kconfig.npcx board: npcx: remove CONFIG_PINCTRL from defconfig of npcx boards 2024-11-07 08:59:14 -08:00
Kconfig.nrfx drivers: i2c: add nrf twis suppport 2024-12-20 16:14:05 +01:00
Kconfig.numaker boards: nuvoton: numaker: Drop PINCTRL from board defconfig 2024-11-20 08:23:58 -05:00
Kconfig.omap drivers: i2c: Added Bus recovery support to OMAP I2C. 2025-01-09 23:26:23 +01:00
Kconfig.rcar
Kconfig.renesas_ra drivers: i2c: Rename RENESAS_RA_I2C_IIC 2024-12-16 18:26:23 +01:00
Kconfig.sam0 drivers: i2c: Introduce I2C timeout for SAM0 2024-11-16 15:07:11 -05:00
Kconfig.sam_twihs soc: atmel: Drop PINCTRL from Kconfig.defconfig 2024-11-04 13:43:26 -06:00
Kconfig.sbcon
Kconfig.sc18im704 drivers: i2c: sc18im704: Add dependency to UART runtime config 2023-11-15 10:02:18 +01:00
Kconfig.sedi drivers: i2c: Add Intel SEDI driver 2023-08-04 10:46:24 +02:00
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: LL API C filers are not required 2024-11-16 14:06:21 -05:00
Kconfig.tca954x drivers: i2c: tca9544a 2024-11-22 22:47:17 +00:00
Kconfig.test
Kconfig.xec drivers: microchip xec: select PINCTRL 2024-11-29 05:41:53 +01:00
Kconfig.xilinx_axi drivers: i2c: add Xilinx AXI I2C driver 2023-04-17 11:39:21 +02:00