Skip to content
Commit a918d301 authored by Kumar Gala's avatar Kumar Gala Committed by Kumar Gala
Browse files

drivers: adc: adc_sam0: rework devicetree support



Rework the devicetree to utilize new DT_INST macros and extract per
instance data for clocks from devicetree.

We add a property ('calib-offset') for the SAM{D,E}5x family of SoCs
that is the bit position offset from ADC0 BIASCOMP in the NVM Software
Calibration Area Mapping.  For ADC0 this is typically 0 and for ADC1
this will be 14.

Signed-off-by: default avatarKumar Gala <kumar.gala@linaro.org>
parent b8dec480
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment