Skip to content

Commit a8fd04a

Browse files
Mathieu Choplainkartben
authored andcommitted
dts: bindings: sensor: stm32-vref: add resolution property
Add a property holding calibration resolution, similar to what already exists in the st,stm32-temp-cal-common binding. Signed-off-by: Mathieu Choplain <[email protected]>
1 parent e458308 commit a8fd04a

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

dts/bindings/sensor/st,stm32-vref.yaml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,18 @@ properties:
2121
description: |
2222
VDDA/VREF+ voltage in millivolts applied during manufacturing to determine
2323
the internal bandgap voltage reference VREFINT.
24+
25+
vrefint-cal-resolution:
26+
type: int
27+
description: |
28+
ADC resolution used for measuring calibration data
29+
30+
This is usually equal to the ADC's native resolution.
31+
32+
Most series have a 12-bit ADC, but 14-bit and 16-bit
33+
also exists on e.g., STM32U5 and STM32H7 series.
34+
default: 12
35+
enum:
36+
- 12
37+
- 14
38+
- 16

0 commit comments

Comments
 (0)