dt-bindings: i2c: mv64xxx: Document DMA properties

Allwinner's I2C offload engine includes bidirectional DMA support. Add
the properties for describing this in the devicetree. "dmas" is optional
because not all instances of the controller have their DRQs hooked up.
For example, R_I2C0 and R_I2C1 on V536 have no DRQ number assigned.

Signed-off-by: Samuel Holland <samuel@sholland.org>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
This commit is contained in:
Samuel Holland 2022-08-29 21:08:22 -05:00 committed by Wolfram Sang
parent e46a1c5532
commit d260119305

View File

@ -66,6 +66,19 @@ properties:
resets:
maxItems: 1
dmas:
items:
- description: RX DMA Channel
- description: TX DMA Channel
dma-names:
items:
- const: rx
- const: tx
dependencies:
dmas: [ dma-names ]
required:
- compatible
- reg