dts: binding: stm32adc set the VREf as a property

Add the Vref reference voltage in the DTS, so that the adc driver
can retrieve the value for conversion.

Signed-off-by: Francois Ramu <francois.ramu@st.com>
This commit is contained in:
Francois Ramu 2022-03-17 09:11:03 +01:00 committed by Carles Cufí
parent 29d0660585
commit 1b2f273655

View File

@ -27,6 +27,12 @@ properties:
pinctrl-names:
required: true
vref_mv:
type: int
required: false
default: 3300
description: Indicates the reference voltage of the ADC in mV.
has-temp-channel:
type: boolean
description: Indicates if the ADC has a dedicated internal temperature sensor channel.