Skip to content

Commit

Permalink
dt-bindings: dma: ti: k3-*: Add descriptions for register regions
Browse files Browse the repository at this point in the history
In preparation for introducing more register regions, add description
for existing register regions so that its easier to map reg-names to
that of SoC Documentations/TRMs.

Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20231124045722.191817-2-vigneshr@ti.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
  • Loading branch information
r-vignesh authored and vinodkoul committed Nov 24, 2023
1 parent b85ea95 commit aaf7b39
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 5 deletions.
18 changes: 15 additions & 3 deletions Documentation/devicetree/bindings/dma/ti/k3-bcdma.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,10 @@ allOf:
ti,sci-rm-range-tchan: false

reg:
maxItems: 3
items:
- description: BCDMA Control /Status Registers region
- description: RX Channel Realtime Registers region
- description: Ring Realtime Registers region

reg-names:
items:
Expand All @@ -160,7 +163,12 @@ allOf:
then:
properties:
reg:
minItems: 5
items:
- description: BCDMA Control /Status Registers region
- description: Block Copy Channel Realtime Registers region
- description: RX Channel Realtime Registers region
- description: TX Channel Realtime Registers region
- description: Ring Realtime Registers region

reg-names:
items:
Expand All @@ -184,7 +192,11 @@ allOf:
ti,sci-rm-range-bchan: false

reg:
maxItems: 4
items:
- description: BCDMA Control /Status Registers region
- description: RX Channel Realtime Registers region
- description: TX Channel Realtime Registers region
- description: Ring Realtime Registers region

reg-names:
items:
Expand Down
6 changes: 5 additions & 1 deletion Documentation/devicetree/bindings/dma/ti/k3-pktdma.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,11 @@ properties:
The second cell is the ASEL value for the channel
reg:
maxItems: 4
items:
- description: Packet DMA Control /Status Registers region
- description: RX Channel Realtime Registers region
- description: TX Channel Realtime Registers region
- description: Ring Realtime Registers region

reg-names:
items:
Expand Down
5 changes: 4 additions & 1 deletion Documentation/devicetree/bindings/dma/ti/k3-udma.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,10 @@ properties:
- ti,j721e-navss-mcu-udmap

reg:
maxItems: 3
items:
- description: UDMA-P Control /Status Registers region
- description: RX Channel Realtime Registers region
- description: TX Channel Realtime Registers region

reg-names:
items:
Expand Down

0 comments on commit aaf7b39

Please sign in to comment.