Microchip: MEC172x: ADC driver
Add ADC driver version 2 for MEC172x using new in-tree headers and device tree properties. Update the ADC shell for the new driver. Signed-off-by: Scott Worley <scott.worley@microchip.com>
This commit is contained in:
parent
b6bd40f5fa
commit
19dd46ef68
9 changed files with 418 additions and 1 deletions
|
@ -19,6 +19,8 @@
|
|||
#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(microchip_xec_adc_v2)
|
||||
#define DT_DRV_COMPAT microchip_xec_adc_v2
|
||||
#elif DT_HAS_COMPAT_STATUS_OKAY(nordic_nrf_adc)
|
||||
#define DT_DRV_COMPAT nordic_nrf_adc
|
||||
#elif DT_HAS_COMPAT_STATUS_OKAY(nordic_nrf_saadc)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue