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>
This commit is contained in:
Guillaume Gautier 2023-01-24 09:57:55 +01:00 committed by Fabio Baltieri
parent 34e49a7c54
commit e834976d04

View file

@ -44,5 +44,17 @@ properties:
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