Skip to content

Commit d260119

Browse files
smaeulwsakernel
authored andcommitted
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 <[email protected]> Reviewed-by: Krzysztof Kozlowski <[email protected]> Signed-off-by: Wolfram Sang <[email protected]>
1 parent e46a1c5 commit d260119

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

Documentation/devicetree/bindings/i2c/marvell,mv64xxx-i2c.yaml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,19 @@ properties:
6666
resets:
6767
maxItems: 1
6868

69+
dmas:
70+
items:
71+
- description: RX DMA Channel
72+
- description: TX DMA Channel
73+
74+
dma-names:
75+
items:
76+
- const: rx
77+
- const: tx
78+
79+
dependencies:
80+
dmas: [ dma-names ]
81+
6982
required:
7083
- compatible
7184
- reg

0 commit comments

Comments
 (0)