zephyr/drivers/adc
Tim Lin 4381841bd8 ITE: drivers/adc: fix the sampling flow of ADC
The ADC sampling of it8xxx2 needs to read each channel in sequence,
so it needs to wait for an interrupt to read data in the loop
through k_sem_take().

In test_adc.c, k_timer_start() is used in the interval test, so we
need to use polling wait instead of k_sem_take() to wait, otherwise
it will cause kernel panic.

k_is_in_isr() can determine whether to use polling or k_sem_take()
at present.

Signed-off-by: Tim Lin <tim2.lin@ite.corp-partner.google.com>
2022-02-21 21:01:43 -05:00
..
adc_cc32xx.c drivers: remove redundant data/config casts 2022-01-19 18:16:02 +01:00
adc_common.c
adc_context.h
adc_emul.c drivers: adc: Refactor drivers to use shared init priority 2021-10-20 07:33:44 -04:00
adc_handlers.c
adc_ite_it8xxx2.c ITE: drivers/adc: fix the sampling flow of ADC 2022-02-21 21:01:43 -05:00
adc_lmp90xxx.c drivers: adc: Refactor drivers to use shared init priority 2021-10-20 07:33:44 -04:00
adc_mchp_xec_v2.c drivers: adc: Refactor drivers to use shared init priority 2021-10-20 07:33:44 -04:00
adc_mchp_xec.c drivers: adc: adc_mchp_xec: update configuration register clk times 2021-12-22 13:47:18 -05:00
adc_mcp320x.c drivers: adc: mcp320x: convert to spi_dt_spec 2021-11-04 07:18:09 -04:00
adc_mcux_12b1msps_sar.c drivers: add adc driver for the NXP RT series 2021-10-22 15:43:36 -05:00
adc_mcux_adc12.c drivers: adc: Refactor drivers to use shared init priority 2021-10-20 07:33:44 -04:00
adc_mcux_adc16.c drivers: adc: drop DEV_DATA/DEV_CFG usage 2022-01-19 18:16:02 +01:00
adc_mcux_lpadc.c drivers: adc: Refactor drivers to use shared init priority 2021-10-20 07:33:44 -04:00
adc_npcx.c drivers: npcx: Drop DRV_CONFIG/DRV_DATA usage 2022-01-28 10:06:05 +01:00
adc_nrfx_adc.c drivers: adc: Refactor drivers to use shared init priority 2021-10-20 07:33:44 -04:00
adc_nrfx_saadc.c drivers: adc: Refactor drivers to use shared init priority 2021-10-20 07:33:44 -04:00
adc_sam0.c drivers: adc: adc_sam0: Change local variables to lower case 2022-02-04 10:49:09 +01:00
adc_sam_afec.c drivers: adc: drop DEV_DATA/DEV_CFG usage 2022-01-19 18:16:02 +01:00
adc_shell.c drivers: add adc driver for the NXP RT series 2021-10-22 15:43:36 -05:00
adc_stm32.c drivers: remove redundant data/config casts 2022-01-19 18:16:02 +01:00
adc_test.c drivers: adc: test driver 2022-01-17 08:13:41 -05:00
CMakeLists.txt drivers: adc: test driver 2022-01-17 08:13:41 -05:00
Kconfig drivers: adc: test driver 2022-01-17 08:13:41 -05:00
Kconfig.adc_emul
Kconfig.cc32xx
Kconfig.it8xxx2
Kconfig.lmp90xxx drivers: adc: Refactor drivers to use shared init priority 2021-10-20 07:33:44 -04:00
Kconfig.mcp320x drivers: adc: Refactor drivers to use shared init priority 2021-10-20 07:33:44 -04:00
Kconfig.mcux drivers: add adc driver for the NXP RT series 2021-10-22 15:43:36 -05:00
Kconfig.npcx
Kconfig.nrfx
Kconfig.sam0
Kconfig.sam_afec
Kconfig.stm32 drivers: arm: stm32: adc: Added Shared IRQ 2022-01-11 11:50:43 +01:00
Kconfig.test drivers: adc: test driver 2022-01-17 08:13:41 -05:00
Kconfig.xec Microchip: MEC172x: ADC driver 2021-08-11 19:44:31 -04:00