zephyr/drivers/adc
Guillaume Gautier a1adc17b31 drivers: adc: stm32: move internal path setting to sensor drivers
On some STM32 families (such as F4), temperature and Vbat sensor share the
same ADC channel, which can lead to conflict when reading them, and wrong
measurement can follow.

To alleviate this problem, this commit moves the setting of the common
path internal channel to the sensor drivers themselves instead of doing
it in the ADC driver.

The teardown is still done in the ADC driver, systematically, instead of
channel by channel (which has the same result).

By moving this logic in the sensor drivers, the properties temp-channel,
vbat-channel and vref-channel becomes useless and are thus removed.

Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
2023-09-22 09:21:34 +02:00
..
adc_ads1x1x.c adc: ads1x1x: improve behaviour during i2c errors 2023-08-16 17:05:44 +02:00
adc_ads114s0x.c drivers: adc: configurable acquisition time for ADS114s0x 2023-07-24 13:21:13 +00:00
adc_ads1112.c drivers: adc: Add support for TI ADS1112 ADCs 2023-06-17 07:49:59 -04:00
adc_ads1119.c drivers: adc_ads1119: Fix using wrong status bit 2023-01-27 18:09:49 +09:00
adc_ads7052.c adc: ADS7052 correct spi configuration 2023-05-03 08:46:37 -05:00
adc_b91.c
adc_cc13xx_cc26xx.c drivers: ti: cc13xx/cc26xx: implement ADC driver 2022-11-04 17:31:59 -04:00
adc_cc32xx.c include: add missing zephyr/irq.h include 2022-10-17 22:57:39 +09:00
adc_common.c
adc_context.h drivers: adc: configurable wait for completion timeout 2023-07-19 15:22:33 +00:00
adc_emul.c drivers: adc: adc_emul: Move semicolon to allow for multi-instancing 2023-04-20 10:48:33 +02:00
adc_esp32.c soc: esp32s3: add ADC single-shot support 2023-08-17 10:36:20 +02:00
adc_gd32.c treewide: Update clock control API usage 2023-04-05 10:55:46 +02:00
adc_gecko.c drivers: adc: add ADC driver for EFM32 2023-07-18 11:05:39 +00:00
adc_handlers.c
adc_ifx_cat1.c drivers: cat1: Updates to support latest version of HAL/PDL 2023-09-01 09:52:25 +02:00
adc_ite_it8xxx2.c tests: drivers: Unit test for it82xx2_evb board 2023-04-19 03:48:38 -04:00
adc_lmp90xxx.c drivers: tests: replace usage of spi_is_ready with spi_is_ready_dt 2022-12-07 09:40:23 -06:00
adc_max1125x.c drivers: adc: add max1125x driver 2023-08-18 12:05:17 +02:00
adc_max11102_17.c drivers: adc: add driver for MAX11102-MAX11117 2023-09-14 08:32:46 -05:00
adc_mchp_xec.c adc: adc_mchp_xec: fix CONFIG_PM_DEVICE compilation 2023-03-28 17:36:32 -04:00
adc_mcp320x.c drivers: tests: replace usage of spi_is_ready with spi_is_ready_dt 2022-12-07 09:40:23 -06:00
adc_mcux_12b1msps_sar.c include: add missing zephyr/irq.h include 2022-10-17 22:57:39 +09:00
adc_mcux_adc12.c include: add missing zephyr/irq.h include 2022-10-17 22:57:39 +09:00
adc_mcux_adc16.c dma: callback with 2 status codes for successful transfers 2023-05-08 09:57:32 +02:00
adc_mcux_lpadc.c dts: bindings: lpadc: Add regulator phandle prop 2023-09-21 09:26:57 +02:00
adc_npcx.c driver: adc: npcx: remove threshold-reg-offset DT property 2023-09-08 14:43:37 +02:00
adc_nrfx_adc.c include: add missing zephyr/irq.h include 2022-10-17 22:57:39 +09:00
adc_nrfx_saadc.c include: add missing zephyr/irq.h include 2022-10-17 22:57:39 +09:00
adc_nxp_s32_adc_sar.c drivers: adc: add NXP S32 ADC SAR driver 2023-07-28 08:55:38 -05:00
adc_rpi_pico.c include: add missing zephyr/irq.h include 2022-10-17 22:57:39 +09:00
adc_sam0.c drivers: adc: sam0: fix compliation for feature SAMs for C21. 2022-10-25 15:48:13 -07:00
adc_sam_afec.c treewide: Update clock control API usage 2023-04-05 10:55:46 +02:00
adc_sam.c drivers: adc: adc_sam: Introduce Atmel SAM ADC driver 2023-03-23 09:41:00 +01:00
adc_shell.c drivers: adc: add MAX11102-MAX11117 to ADC shell 2023-09-14 08:32:46 -05:00
adc_smartbond_gpadc.c drivers: adc: add adc support for Smartbond devices 2023-05-22 12:41:42 +02:00
adc_smartbond_sdadc.c drivers: adc: add adc support for Smartbond devices 2023-05-22 12:41:42 +02:00
adc_stm32.c drivers: adc: stm32: move internal path setting to sensor drivers 2023-09-22 09:21:34 +02:00
adc_test.c device: remove redundant init functions 2023-04-19 10:00:25 +02:00
adc_tla2021.c drivers: tla2021: Add driver 2023-07-03 09:30:54 +02:00
adc_vf610.c drivers/adc: imx6sx ADC support. 2023-05-08 16:42:40 +02:00
adc_xmc4xxx.c drivers: adc: Add ADC xmc4xxx drivers 2022-12-20 14:17:23 +01:00
CMakeLists.txt drivers: adc: add driver for MAX11102-MAX11117 2023-09-14 08:32:46 -05:00
iadc_gecko.c drivers: adc: iadc_gecko: select proper bits from sample 2023-07-18 16:21:09 +02:00
Kconfig drivers: adc: add driver for MAX11102-MAX11117 2023-09-14 08:32:46 -05:00
Kconfig.adc_emul
Kconfig.ads1x1x
Kconfig.ads114s0x drivers: adc: configurable wait for completion timeout 2023-07-19 15:22:33 +00:00
Kconfig.ads1112 drivers: adc: Add support for TI ADS1112 ADCs 2023-06-17 07:49:59 -04:00
Kconfig.ads1119
Kconfig.ads7052 adc: Add TI ADS7052 SPI driver 2023-04-07 16:23:17 -05:00
Kconfig.b91
Kconfig.cc13xx_cc26xx drivers: ti: cc13xx/cc26xx: implement ADC driver 2022-11-04 17:31:59 -04:00
Kconfig.cc32xx
Kconfig.esp32 drivers: adc: esp32: Add support for single-shot conversion 2022-12-23 23:45:05 +00:00
Kconfig.gd32
Kconfig.gecko drivers: adc: add ADC driver for EFM32 2023-07-18 11:05:39 +00:00
Kconfig.ifx_cat1 driver: adc: infineon: Adding ADC driver 2023-04-27 10:16:23 -07:00
Kconfig.it8xxx2 ITE: drivers/adc: Add config of ADC reference voltage full-scale 3300mV 2023-02-23 08:59:54 +01:00
Kconfig.lmp90xxx crc: Make the build of crc function dependent on a Kconfig 2022-11-23 13:30:00 +01:00
Kconfig.max1125x drivers: adc: add max1125x driver 2023-08-18 12:05:17 +02:00
Kconfig.max11102_17 drivers: adc: add driver for MAX11102-MAX11117 2023-09-14 08:32:46 -05:00
Kconfig.mcp320x
Kconfig.mcux dts: bindings: lpadc: Add regulator phandle prop 2023-09-21 09:26:57 +02:00
Kconfig.npcx
Kconfig.nrfx
Kconfig.nxp_s32 drivers: adc: add NXP S32 ADC SAR driver 2023-07-28 08:55:38 -05:00
Kconfig.rpi_pico
Kconfig.sam drivers: adc: adc_sam: Introduce Atmel SAM ADC driver 2023-03-23 09:41:00 +01:00
Kconfig.sam0
Kconfig.sam_afec
Kconfig.smartbond drivers: adc: add adc support for Smartbond devices 2023-05-22 12:41:42 +02:00
Kconfig.stm32 drivers: adc: stm32: allow to use multiple ADCs with STM32F3 series 2023-05-22 15:26:26 +02:00
Kconfig.test
Kconfig.tla2021 drivers: tla2021: Add driver 2023-07-03 09:30:54 +02:00
Kconfig.vf610 drivers/adc: imx6sx ADC support. 2023-05-08 16:42:40 +02:00
Kconfig.xec driver: adc: microchip: Keep single adc driver for MEC devices 2023-03-23 11:43:30 -04:00
Kconfig.xmc4xxx drivers: adc: Add ADC xmc4xxx drivers 2022-12-20 14:17:23 +01:00