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:
parent
0691079f47
commit
723b24fc58
2 changed files with 21 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue