drivers: adc: Add ADC xmc4xxx drivers

The ADC module has four conversion groups, each one is set up as a zephyr
device. The start-up calibration is initiated globally for all groups
and it is run in each device init function. The ADC module supports post
calibration per group. Post calibration is run automatically after each
group acquires the samples.

Signed-off-by: Andriy Gelman <andriy.gelman@gmail.com>
This commit is contained in:
Andriy Gelman 2022-08-12 10:26:14 -04:00 committed by Carles Cufí
commit 2d3493bff0
9 changed files with 441 additions and 0 deletions

View file

@ -82,6 +82,22 @@
status = "okay";
};
&adc0 {
vref-internal-mv = <3300>;
};
&adc1 {
vref-internal-mv = <3300>;
};
&adc2 {
vref-internal-mv = <3300>;
};
&adc3 {
vref-internal-mv = <3300>;
};
&gpio1 {
status = "okay";
};