Skip to content

Commit 189d021

Browse files
Mathieu Choplainhenrikbrixandersen
authored andcommitted
dts: bindings: adc: add STM32WB0 ADC
Add DT binding for STM32WB0 series ADC. Signed-off-by: Mathieu Choplain <[email protected]>
1 parent 51412b5 commit 189d021

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# SPDX-License-Identifier: Apache-2.0
2+
3+
description: STM32WB0 series Analog-to-Digital Converter
4+
5+
compatible: "st,stm32wb0-adc"
6+
7+
include: [adc-controller.yaml, pinctrl-device.yaml]
8+
9+
properties:
10+
reg:
11+
required: true
12+
13+
clocks:
14+
required: true
15+
16+
interrupts:
17+
required: true
18+
19+
"#io-channel-cells":
20+
const: 1
21+
22+
io-booster:
23+
type: boolean
24+
description: |
25+
When set, the I/O Booster block is enabled during ADC usage. Otherwise, the
26+
I/O Booster block is always disabled. This property MUST be set if VBAT voltage
27+
may reach a value below 2.7V to guarantee that the ADC behavior remains correct.
28+
29+
io-channel-cells:
30+
- input

0 commit comments

Comments
 (0)