ite: drivers/adc: add adc drivers on it8xxx2_evb platform
This commit is about the it8xxx2 analog to digital converter driver. Support 8 channels ch0~ch7 and 10-bit resolution. Signed-off-by: Tim Lin <tim2.lin@ite.corp-partner.google.com>
This commit is contained in:
parent
a9257bf8c9
commit
cd96046bee
11 changed files with 445 additions and 0 deletions
|
@ -15,6 +15,8 @@
|
|||
#define DT_DRV_COMPAT atmel_sam_afec
|
||||
#elif DT_HAS_COMPAT_STATUS_OKAY(atmel_sam0_adc)
|
||||
#define DT_DRV_COMPAT atmel_sam0_adc
|
||||
#elif DT_HAS_COMPAT_STATUS_OKAY(ite_it8xxx2_adc)
|
||||
#define DT_DRV_COMPAT ite_it8xxx2_adc
|
||||
#elif DT_HAS_COMPAT_STATUS_OKAY(microchip_xec_adc)
|
||||
#define DT_DRV_COMPAT microchip_xec_adc
|
||||
#elif DT_HAS_COMPAT_STATUS_OKAY(nordic_nrf_adc)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue