Skip to content

Commit 1b2f273

Browse files
FRASTMcarlescufi
authored andcommitted
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 <[email protected]>
1 parent 29d0660 commit 1b2f273

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

dts/bindings/adc/st,stm32-adc.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,12 @@ properties:
2727
pinctrl-names:
2828
required: true
2929

30+
vref_mv:
31+
type: int
32+
required: false
33+
default: 3300
34+
description: Indicates the reference voltage of the ADC in mV.
35+
3036
has-temp-channel:
3137
type: boolean
3238
description: Indicates if the ADC has a dedicated internal temperature sensor channel.

0 commit comments

Comments
 (0)