Skip to content

Commit c38a938

Browse files
sgilbert182carlescufi
authored andcommitted
i2c: stm32: Add DMA settings to yaml file
Add DMA options (phandle-array and names) to yaml file Signed-off-by: Simon Gilbert <[email protected]>
1 parent 8dbc30a commit c38a938

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

dts/bindings/i2c/st,stm32-i2c-v2.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,3 +55,15 @@ properties:
5555
description: |
5656
GPIO to which the I2C SDA signal is routed. This is only needed for
5757
I2C bus recovery support.
58+
59+
dmas:
60+
type: phandle-array
61+
description: |
62+
Optional DMA channels used by the I2C peripheral. If specified, these
63+
channels can be used to handle RX and TX transactions over DMA.
64+
65+
dma-names:
66+
type: string-array
67+
description: |
68+
Names of the optional DMA channels. Expected values are "tx" for
69+
the TX channel and "rx" for the RX channel.

0 commit comments

Comments
 (0)