dts: bindings: adc: add STM32WB0 ADC

Add DT binding for STM32WB0 series ADC.

Signed-off-by: Mathieu Choplain <mathieu.choplain@st.com>
This commit is contained in:
Mathieu Choplain 2024-10-21 15:24:52 +02:00 committed by Henrik Brix Andersen
parent 51412b5875
commit 189d021128

View File

@ -0,0 +1,30 @@
# SPDX-License-Identifier: Apache-2.0
description: STM32WB0 series Analog-to-Digital Converter
compatible: "st,stm32wb0-adc"
include: [adc-controller.yaml, pinctrl-device.yaml]
properties:
reg:
required: true
clocks:
required: true
interrupts:
required: true
"#io-channel-cells":
const: 1
io-booster:
type: boolean
description: |
When set, the I/O Booster block is enabled during ADC usage. Otherwise, the
I/O Booster block is always disabled. This property MUST be set if VBAT voltage
may reach a value below 2.7V to guarantee that the ADC behavior remains correct.
io-channel-cells:
- input