Skip to content

Commit 54e09c8

Browse files
ksloatvinodkoul
authored andcommitted
dt-bindings: dma: st-stm32-dmamux: Add description for dma-cell values
The dma-cell values for the stm32-dmamux are used to craft the DMA spec for the actual controller. These values are currently undocumented leaving the user to reverse engineer the driver in order to determine their meaning. Add a basic description, while avoiding duplicating information by pointing the user to the associated DMA docs that describe the fields in depth. Signed-off-by: Ken Sloat <ksloat@cornersoftsolutions.com> Acked-by: Conor Dooley <conor.dooley@microchip.com> Reviewed-by: Amelie Delaunay <amelie.delaunay@foss.st.com> Link: https://lore.kernel.org/r/20241206115018.1155149-1-ksloat@cornersoftsolutions.com Signed-off-by: Vinod Koul <vkoul@kernel.org>
1 parent a131169 commit 54e09c8

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

Documentation/devicetree/bindings/dma/stm32/st,stm32-dmamux.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,16 @@ allOf:
1515
properties:
1616
"#dma-cells":
1717
const: 3
18+
description: |
19+
Each cell represents the following:
20+
1. The mux input number/line for the request
21+
2. Bitfield representing DMA channel configuration that is passed
22+
to the real DMA controller
23+
3. Bitfield representing device dependent DMA features passed to
24+
the real DMA controller
25+
26+
For bitfield definitions of cells 2 and 3, see the associated
27+
bindings doc for the actual DMA controller in st,stm32-dma.yaml.
1828
1929
compatible:
2030
const: st,stm32h7-dmamux

0 commit comments

Comments
 (0)