dts: bindings: adc: Add bindings for internal STM32 ADC channels
Add some bindings to define STM32 ADC internal channels for:
- Temperature
- Vref
- Vbat
The goal is to transfer information to the dts instead of inside the
ADC driver.
Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
diff --git a/dts/bindings/adc/st,stm32-adc.yaml b/dts/bindings/adc/st,stm32-adc.yaml
index 66afd7e..8fe15c6 100644
--- a/dts/bindings/adc/st,stm32-adc.yaml
+++ b/dts/bindings/adc/st,stm32-adc.yaml
@@ -44,5 +44,17 @@
type: boolean
description: Indicates if the ADC has a dedicated internal vbat monitoring channel.
+ temp-channel:
+ type: int
+ description: Indicates the ADC channel of the internal temperature sensor.
+
+ vref-channel:
+ type: int
+ description: Indicates the ADC channel of the internal voltage reference.
+
+ vbat-channel:
+ type: int
+ description: Indicates the ADC channel of the internal vbat monitoring.
+
io-channel-cells:
- input