Skip to content

Commit 92a3737

Browse files
Fabrice Gasnierjic23
authored andcommitted
dt-bindings: iio: stm32-adc: add support for STM32MP1
Document support for STM32MP1 ADC. It's quite similar to STM32H7 ADC. Introduce "st,stm32mp1-adc" compatible to handle variants of this hardware such as vregready flag, interrupts, clock rate. Signed-off-by: Fabrice Gasnier <[email protected]> Reviewed-by: Rob Herring <[email protected]> Signed-off-by: Jonathan Cameron <[email protected]>
1 parent 04e7b3d commit 92a3737

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

Documentation/devicetree/bindings/iio/adc/st,stm32-adc.txt

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,11 @@ Required properties:
2424
- compatible: Should be one of:
2525
"st,stm32f4-adc-core"
2626
"st,stm32h7-adc-core"
27+
"st,stm32mp1-adc-core"
2728
- reg: Offset and length of the ADC block register set.
28-
- interrupts: Must contain the interrupt for ADC block.
29+
- interrupts: One or more interrupts for ADC block. Some parts like stm32f4
30+
and stm32h7 share a common ADC interrupt line. stm32mp1 has two separate
31+
interrupt lines, one for each ADC within ADC block.
2932
- clocks: Core can use up to two clocks, depending on part used:
3033
- "adc" clock: for the analog circuitry, common to all ADCs.
3134
It's required on stm32f4.
@@ -53,6 +56,7 @@ Required properties:
5356
- compatible: Should be one of:
5457
"st,stm32f4-adc"
5558
"st,stm32h7-adc"
59+
"st,stm32mp1-adc"
5660
- reg: Offset of ADC instance in ADC block (e.g. may be 0x0, 0x100, 0x200).
5761
- clocks: Input clock private to this ADC instance. It's required only on
5862
stm32f4, that has per instance clock input for registers access.

0 commit comments

Comments
 (0)