zephyr/drivers/adc
Henrik Lindblom 24b4ce189f drivers: stm32: dma: fix external dcache support
Several drivers checked for the presense and availability of data cache
through Kconfig symbol. This is supported according to the current
documentation, but the symbol DCACHE masks two types of cache devices: arch
and external caches. The latter is present on some Cortex-M33 chips, like
the STM32U5xx. The external dcache is bypassed when accessing internal
SRAM and only used for external memories.

In commit a2dd232410 ("drivers: adc: stm32: dma support") the rationale
for gating dcache for adc_stm32 behind STM32H7X is only hinted at, but
reason seems to be that it was the only SOC the change was tested on. The
SOC configures DCACHE=y so it is most likely safe to swap the SOC gate for
DCACHE.

The DCACHE ifdefs are now hidden inside the shared stm32_buf_in_nocache()
implementation.

Signed-off-by: Henrik Lindblom <henrik.lindblom@vaisala.com>
2025-06-06 10:19:58 +02:00
..
adc_ad405x.c drivers: adc: ad405x: Add diff support and res used form adc spec 2025-04-01 22:14:31 +02:00
adc_ad559x.c drivers: adc: Place API into iterable section 2024-11-29 14:50:40 +01:00
adc_ad4114.c drivers: adc: ad4114: add driver support 2025-01-15 19:04:20 +01:00
adc_ad4130.c drivers: adc_ad4130|adc_7124: Add ret initialization in *_perform_read() 2025-05-28 15:33:14 +02:00
adc_ad7124.c drivers: adc_ad4130|adc_7124: Add ret initialization in *_perform_read() 2025-05-28 15:33:14 +02:00
adc_ads1x1x.c drivers: adc: fix IF_ENABLED macro usage in ADS1X1X trigger 2024-12-12 20:00:10 +01:00
adc_ads1x4s0x.c drivers: adc: adc_ads1x4s0x remove duplicated initialiser 2025-03-27 14:01:32 +01:00
adc_ads131m02.c drivers: Update APIs to use DEVICE_API macro 2025-01-24 01:15:19 +01:00
adc_ads1112.c drivers: adc: Place API into iterable section 2024-11-29 14:50:40 +01:00
adc_ads1119.c drivers: adc: Place API into iterable section 2024-11-29 14:50:40 +01:00
adc_ads7052.c drivers: adc: Place API into iterable section 2024-11-29 14:50:40 +01:00
adc_ambiq.c drivers: adc: Add support for Apollo510 ADC 2025-05-14 09:11:17 +02:00
adc_b91.c drivers: adc: Place API into iterable section 2024-11-29 14:50:40 +01:00
adc_cc13xx_cc26xx.c drivers: adc: Place API into iterable section 2024-11-29 14:50:40 +01:00
adc_cc23x0.c drivers: adc: Add support for cc23x0 ADC 2025-05-23 19:49:48 +02:00
adc_cc32xx.c drivers: adc: Place API into iterable section 2024-11-29 14:50:40 +01:00
adc_common.c drivers: adc: Add support for gain 2/7 in nRF devices 2025-01-29 15:13:19 +01:00
adc_context.h
adc_emul.c adc: adc_emul: support adc_read_async with no signal 2025-01-16 22:40:39 +01:00
adc_ene_kb1200.c driver: adc: ene_kb1200: Use logging API 2024-12-16 10:53:58 +01:00
adc_esp32.c driver: adc: esp32: fix read function 2025-02-25 07:57:00 +01:00
adc_gd32.c drivers: adc: Place API into iterable section 2024-11-29 14:50:40 +01:00
adc_gecko.c drivers: adc: Place API into iterable section 2024-11-29 14:50:40 +01:00
adc_handlers.c
adc_ifx_cat1.c drivers: adc: Update configuration values for CAT1B ADC 2025-04-09 09:03:19 +02:00
adc_ite_it8xxx2.c drivers: adc: Place API into iterable section 2024-11-29 14:50:40 +01:00
adc_ite_it51xxx.c drivers: adc: add it515xx_evb board adc driver 2025-04-23 15:02:36 +02:00
adc_lmp90xxx.c drivers: adc: Place API into iterable section 2024-11-29 14:50:40 +01:00
adc_ltc2451.c drivers: adc: Place API into iterable section 2024-11-29 14:50:40 +01:00
adc_max32.c drivers: adc: Place API into iterable section 2024-11-29 14:50:40 +01:00
adc_max1125x.c drivers: adc: Prevent overflow in max1125x_read_sample 2025-06-04 10:04:14 +02:00
adc_max11102_17.c drivers: adc: Place API into iterable section 2024-11-29 14:50:40 +01:00
adc_mchp_xec.c drivers: adc: microchip: Fix PR #80933 2024-12-23 23:58:47 +01:00
adc_mcp320x.c drivers: adc: Place API into iterable section 2024-11-29 14:50:40 +01:00
adc_mcp356xr.c driver: adc: add MCP3561/2/4R driver 2025-06-04 16:58:52 +02:00
adc_mcux_12b1msps_sar.c drivers: adc: Place API into iterable section 2024-11-29 14:50:40 +01:00
adc_mcux_adc12.c dts: bindings: rename nxp,kinetis-adc12 compatible 2024-12-03 19:55:50 +01:00
adc_mcux_adc16.c drivers: adc: Place API into iterable section 2024-11-29 14:50:40 +01:00
adc_mcux_gau_adc.c drivers: adc: Place API into iterable section 2024-11-29 14:50:40 +01:00
adc_mcux_lpadc.c drivers: adc: mcux_lpadc: support IP instances without side B channel 2024-12-06 10:01:26 +01:00
adc_npcx.c drivers: adc: Place API into iterable section 2024-11-29 14:50:40 +01:00
adc_nrfx_adc.c drivers: adc: Place API into iterable section 2024-11-29 14:50:40 +01:00
adc_nrfx_saadc.c drivers: adc: nrf: align to non-gain configuration 2025-06-04 17:03:48 +02:00
adc_numaker.c drivers: adc: Place API into iterable section 2024-11-29 14:50:40 +01:00
adc_nxp_s32_adc_sar.c drivers: adc: update new macro name in RTD 2.0.1 2025-05-28 05:54:38 +02:00
adc_realtek_rts5912.c drivers: adc: rts5912: clear pending irq when setup 2025-05-22 04:51:36 +02:00
adc_renesas_ra.c drivers: adc: Remove channel_count property for Renesas driver 2025-03-10 08:58:52 +01:00
adc_renesas_rz.c drivers: adc: Initial support for RZ/G3S 2025-03-13 07:21:40 +01:00
adc_rpi_pico.c docs: raspberrrypi: Correct names of products 2025-04-03 15:27:50 -07:00
adc_sam0.c driver: adjust res when oversampling 2025-01-15 07:19:03 +01:00
adc_sam_afec.c drivers: adc: Place API into iterable section 2024-11-29 14:50:40 +01:00
adc_sam.c Revert "drivers: adc: adopt new count_bits util function" 2025-03-18 16:39:47 +01:00
adc_shell.c drivers: adc: add it515xx_evb board adc driver 2025-04-23 15:02:36 +02:00
adc_smartbond_gpadc.c drivers: adc: Place API into iterable section 2024-11-29 14:50:40 +01:00
adc_smartbond_sdadc.c drivers: adc: Place API into iterable section 2024-11-29 14:50:40 +01:00
adc_stm32.c drivers: stm32: dma: fix external dcache support 2025-06-06 10:19:58 +02:00
adc_stm32wb0.c drivers: adc: Place API into iterable section 2024-11-29 14:50:40 +01:00
adc_test.c drivers: adc: Place API into iterable section 2024-11-29 14:50:40 +01:00
adc_ti_am335x.c drivers: adc: ti_am335x: initial support 2025-06-06 08:42:32 +02:00
adc_tla202x.c drivers: adc: tla202x: add support for tla2022 and tla2024 2024-12-18 08:33:49 +01:00
adc_vf610.c drivers: adc: Place API into iterable section 2024-11-29 14:50:40 +01:00
adc_xmc4xxx.c drivers: adc: Place API into iterable section 2024-11-29 14:50:40 +01:00
CMakeLists.txt drivers: adc: ti_am335x: initial support 2025-06-06 08:42:32 +02:00
iadc_gecko.c drivers: adc: iadc_gecko: Use pm_device_driver_init 2025-03-19 01:23:24 +01:00
Kconfig drivers: adc: ti_am335x: initial support 2025-06-06 08:42:32 +02:00
Kconfig.ad405x drivers: adc: ad405x: Add AD405X driver 2025-03-12 19:02:25 +01:00
Kconfig.ad559x
Kconfig.ad4114 drivers: adc: ad4114: add driver support 2025-01-15 19:04:20 +01:00
Kconfig.ad4130 drivers: adc: Introduce AD4130 adc driver 2025-04-09 17:32:29 +02:00
Kconfig.ad7124 drivers: adc: Introduce AD7124 adc driver 2025-01-30 20:33:10 +01:00
Kconfig.adc_emul
Kconfig.ads1x1x
Kconfig.ads1x4s0x drivers: adc: ads1x4s0x: Add ADS124S0X support into existing drivers 2025-01-31 09:39:07 +01:00
Kconfig.ads131m02 drivers: adc: add ads131m02 adc driver 2024-12-18 18:16:40 +01:00
Kconfig.ads1112
Kconfig.ads1119
Kconfig.ads7052
Kconfig.ambiq
Kconfig.b91
Kconfig.cc13xx_cc26xx
Kconfig.cc23x0 drivers: adc: Add support for cc23x0 ADC 2025-05-23 19:49:48 +02:00
Kconfig.cc32xx
Kconfig.ene
Kconfig.esp32
Kconfig.gd32
Kconfig.gecko
Kconfig.ifx_cat1
Kconfig.it8xxx2
Kconfig.it51xxx drivers: adc: add it515xx_evb board adc driver 2025-04-23 15:02:36 +02:00
Kconfig.lmp90xxx
Kconfig.ltc2451
Kconfig.max32
Kconfig.max1125x
Kconfig.max11102_17
Kconfig.mcp320x
Kconfig.mcp356xr driver: adc: add MCP3561/2/4R driver 2025-06-04 16:58:52 +02:00
Kconfig.mcux soc: nxp: imxrt11xx: select CONFIG_HAS_MCUX_ADC_ETC 2024-12-07 02:03:45 +01:00
Kconfig.npcx
Kconfig.nrfx
Kconfig.numaker
Kconfig.nxp_s32
Kconfig.renesas_ra
Kconfig.renesas_rz drivers: adc: Initial support for RZ/G3S 2025-03-13 07:21:40 +01:00
Kconfig.rpi_pico
Kconfig.rts5912 driver: adc: add adc driver for rts5912 2025-04-22 14:02:37 +02:00
Kconfig.sam
Kconfig.sam0
Kconfig.sam_afec
Kconfig.smartbond
Kconfig.stm32
Kconfig.test
Kconfig.ti_am335x drivers: adc: ti_am335x: initial support 2025-06-06 08:42:32 +02:00
Kconfig.tla202x drivers: adc: tla202x: add support for tla2022 and tla2024 2024-12-18 08:33:49 +01:00
Kconfig.vf610
Kconfig.xec
Kconfig.xmc4xxx SOC: Remove config PINCTRL from xmc4xxx soc 2024-12-02 22:05:16 +00:00