dts: bindings: adc: stm32: add a property for adc sequencer type

Add a property for STM32 ADC to indicate which type of sequencer is used
by the device (fully configurable or not).
Add defines to help with this setting.

Signed-off-by: Guillaume Gautier <guillaume.gautier-ext@st.com>
This commit is contained in:
Guillaume Gautier 2023-09-08 14:02:22 +02:00 committed by Carles Cufí
commit 723b24fc58
2 changed files with 21 additions and 0 deletions

View file

@ -97,5 +97,16 @@ properties:
description: |
Number of sampling time common channels for this ADC instance, if any.
st,adc-sequencer:
type: int
required: true
enum:
- 0 # NOT_FULLY_CONFIGURABLE
- 1 # FULLY_CONFIGURABLE
description: |
Type of ADC sequencer:
- <NOT_FULLY_CONFIGURABLE>: Not fully configurable sequencer
- <FULLY_CONFIGURABLE>: Fully configurable sequencer
io-channel-cells:
- input