Browse Source

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>
pull/87398/head
Simon Gilbert 8 months ago committed by Carles Cufí
parent
commit
c38a938c32
  1. 12
      dts/bindings/i2c/st,stm32-i2c-v2.yaml

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

@ -55,3 +55,15 @@ properties: @@ -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.

Loading…
Cancel
Save