i2c: stm32: Add DMA settings to yaml file

Add DMA options (phandle-array and names) to yaml file

Signed-off-by: Simon Gilbert <srdgilbert@gmail.com>
This commit is contained in:
Simon Gilbert 2024-11-23 17:29:01 +00:00 committed by Carles Cufí
commit c38a938c32

View file

@ -55,3 +55,15 @@ properties:
description: |
GPIO to which the I2C SDA signal is routed. This is only needed for
I2C bus recovery support.
dmas:
type: phandle-array
description: |
Optional DMA channels used by the I2C peripheral. If specified, these
channels can be used to handle RX and TX transactions over DMA.
dma-names:
type: string-array
description: |
Names of the optional DMA channels. Expected values are "tx" for
the TX channel and "rx" for the RX channel.