samples: drivers: adc: fixup sam0 samples

The sam0 ADC driver has ADC_CONFIGURABLE_INPUTS enabled, which means
that the device tree ADC nodes must include the zephyr,input-positive
property.

Signed-off-by: Attie Grande <attie.grande@argentum-systems.co.uk>
This commit is contained in:
Attie Grande 2022-07-13 16:01:46 +01:00 committed by Carles Cufí
parent f06c06de07
commit d713aa8e2f
3 changed files with 3 additions and 0 deletions

View file

@ -23,5 +23,6 @@
zephyr,reference = "ADC_REF_INTERNAL";
zephyr,acquisition-time = <ADC_ACQ_TIME_DEFAULT>;
zephyr,resolution = <12>;
zephyr,input-positive = <8>;
};
};

View file

@ -23,5 +23,6 @@
zephyr,reference = "ADC_REF_INTERNAL";
zephyr,acquisition-time = <ADC_ACQ_TIME_DEFAULT>;
zephyr,resolution = <12>;
zephyr,input-positive = <6>;
};
};

View file

@ -23,5 +23,6 @@
zephyr,reference = "ADC_REF_INTERNAL";
zephyr,acquisition-time = <ADC_ACQ_TIME_DEFAULT>;
zephyr,resolution = <12>;
zephyr,input-positive = <6>;
};
};