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>
diff --git a/dts/bindings/i2c/st,stm32-i2c-v2.yaml b/dts/bindings/i2c/st,stm32-i2c-v2.yaml
index bc85987..80283d5 100644
--- a/dts/bindings/i2c/st,stm32-i2c-v2.yaml
+++ b/dts/bindings/i2c/st,stm32-i2c-v2.yaml
@@ -55,3 +55,15 @@
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.