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:
parent
34e49a7c54
commit
e834976d04
1 changed files with 12 additions and 0 deletions
|
@ -44,5 +44,17 @@ properties:
|
||||||
type: boolean
|
type: boolean
|
||||||
description: Indicates if the ADC has a dedicated internal vbat monitoring channel.
|
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:
|
io-channel-cells:
|
||||||
- input
|
- input
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue