Skip to content

Commit 65163d1

Browse files
committed
Merge tag 'dmaengine-fix-6.8-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/vkoul/dmaengine
Pull dmaengine updates from Vinod Koul: "New support: - Loongson LS2X APB DMA controller - sf-pdma: mpfs-pdma support - Qualcomm X1E80100 GPI dma controller support Updates: - Xilinx XDMA updates to support interleaved DMA transfers - TI PSIL threads for AM62P and J722S and cfg register regions description - axi-dmac Improving the cyclic DMA transfers - Tegra Support dma-channel-mask property - Remaining platform remove callback returning void conversions Driver fixes for: - Xilinx xdma driver operator precedence and initialization fix - Excess kernel-doc warning fix in imx-sdma xilinx xdma drivers - format-overflow warning fix for rz-dmac, sh usb dmac drivers - 'output may be truncated' fix for shdma, fsl-qdma and dw-edma drivers" * tag 'dmaengine-fix-6.8-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/vkoul/dmaengine: (58 commits) dmaengine: dw-edma: increase size of 'name' in debugfs code dmaengine: fsl-qdma: increase size of 'irq_name' dmaengine: shdma: increase size of 'dev_id' dmaengine: xilinx: xdma: Fix kernel-doc warnings dmaengine: usb-dmac: Avoid format-overflow warning dmaengine: sh: rz-dmac: Avoid format-overflow warning dmaengine: imx-sdma: fix Excess kernel-doc warnings dmaengine: xilinx: xdma: Fix initialization location of desc in xdma_channel_isr() dmaengine: xilinx: xdma: Fix operator precedence in xdma_prep_interleaved_dma() dmaengine: xilinx: xdma: statify xdma_prep_interleaved_dma dmaengine: xilinx: xdma: Workaround truncation compilation error dmaengine: pl330: issue_pending waits until WFP state dmaengine: xilinx: xdma: Implement interleaved DMA transfers dmaengine: xilinx: xdma: Prepare the introduction of interleaved DMA transfers dmaengine: xilinx: xdma: Add transfer error reporting dmaengine: xilinx: xdma: Add error checking in xdma_channel_isr() dmaengine: xilinx: xdma: Rework xdma_terminate_all() dmaengine: xilinx: xdma: Ease dma_pool alignment requirements dmaengine: xilinx: xdma: Add necessary macro definitions dmaengine: xilinx: xdma: Get rid of unused code ...
2 parents 80fc600 + cb95a4f commit 65163d1

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+1882
-300
lines changed

Documentation/devicetree/bindings/dma/dma-controller.yaml

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -19,19 +19,4 @@ properties:
1919

2020
additionalProperties: true
2121

22-
examples:
23-
- |
24-
dma: dma-controller@48000000 {
25-
compatible = "ti,omap-sdma";
26-
reg = <0x48000000 0x1000>;
27-
interrupts = <0 12 0x4>,
28-
<0 13 0x4>,
29-
<0 14 0x4>,
30-
<0 15 0x4>;
31-
#dma-cells = <1>;
32-
dma-channels = <32>;
33-
dma-requests = <127>;
34-
dma-channel-mask = <0xfffe>;
35-
};
36-
3722
...

Documentation/devicetree/bindings/dma/dma-router.yaml

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -40,15 +40,4 @@ required:
4040

4141
additionalProperties: true
4242

43-
examples:
44-
- |
45-
sdma_xbar: dma-router@4a002b78 {
46-
compatible = "ti,dra7-dma-crossbar";
47-
reg = <0x4a002b78 0xfc>;
48-
#dma-cells = <1>;
49-
dma-requests = <205>;
50-
ti,dma-safe-map = <0>;
51-
dma-masters = <&sdma>;
52-
};
53-
5443
...
Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/dma/loongson,ls2x-apbdma.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: Loongson LS2X APB DMA controller
8+
9+
description:
10+
The Loongson LS2X APB DMA controller is used for transferring data
11+
between system memory and the peripherals on the APB bus.
12+
13+
maintainers:
14+
- Binbin Zhou <zhoubinbin@loongson.cn>
15+
16+
allOf:
17+
- $ref: dma-controller.yaml#
18+
19+
properties:
20+
compatible:
21+
oneOf:
22+
- const: loongson,ls2k1000-apbdma
23+
- items:
24+
- const: loongson,ls2k0500-apbdma
25+
- const: loongson,ls2k1000-apbdma
26+
27+
reg:
28+
maxItems: 1
29+
30+
interrupts:
31+
maxItems: 1
32+
33+
clocks:
34+
maxItems: 1
35+
36+
'#dma-cells':
37+
const: 1
38+
39+
required:
40+
- compatible
41+
- reg
42+
- interrupts
43+
- clocks
44+
- '#dma-cells'
45+
46+
additionalProperties: false
47+
48+
examples:
49+
- |
50+
#include <dt-bindings/interrupt-controller/irq.h>
51+
#include <dt-bindings/clock/loongson,ls2k-clk.h>
52+
53+
dma-controller@1fe00c00 {
54+
compatible = "loongson,ls2k1000-apbdma";
55+
reg = <0x1fe00c00 0x8>;
56+
interrupt-parent = <&liointc1>;
57+
interrupts = <12 IRQ_TYPE_LEVEL_HIGH>;
58+
clocks = <&clk LOONGSON2_APB_CLK>;
59+
#dma-cells = <1>;
60+
};
61+
62+
...

Documentation/devicetree/bindings/dma/nvidia,tegra210-adma.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,9 @@ properties:
5353
ADMA_CHn_CTRL register.
5454
const: 1
5555

56+
dma-channel-mask:
57+
maxItems: 1
58+
5659
required:
5760
- compatible
5861
- reg

Documentation/devicetree/bindings/dma/qcom,gpi.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ properties:
3232
- qcom,sm8350-gpi-dma
3333
- qcom,sm8450-gpi-dma
3434
- qcom,sm8550-gpi-dma
35+
- qcom,sm8650-gpi-dma
36+
- qcom,x1e80100-gpi-dma
3537
- const: qcom,sm6350-gpi-dma
3638
- items:
3739
- enum:

Documentation/devicetree/bindings/dma/renesas,rz-dmac.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ properties:
1616
compatible:
1717
items:
1818
- enum:
19-
- renesas,r9a07g043-dmac # RZ/G2UL
19+
- renesas,r9a07g043-dmac # RZ/G2UL and RZ/Five
2020
- renesas,r9a07g044-dmac # RZ/G2{L,LC}
2121
- renesas,r9a07g054-dmac # RZ/V2L
2222
- const: renesas,rz-dmac

Documentation/devicetree/bindings/dma/sifive,fu540-c000-pdma.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ properties:
2929
compatible:
3030
items:
3131
- enum:
32+
- microchip,mpfs-pdma
3233
- sifive,fu540-c000-pdma
3334
- const: sifive,pdma0
3435
description:

Documentation/devicetree/bindings/dma/ti/k3-bcdma.yaml

Lines changed: 33 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,11 @@ properties:
3737

3838
reg:
3939
minItems: 3
40-
maxItems: 5
40+
maxItems: 9
4141

4242
reg-names:
4343
minItems: 3
44-
maxItems: 5
44+
maxItems: 9
4545

4646
"#dma-cells":
4747
const: 3
@@ -141,7 +141,10 @@ allOf:
141141
ti,sci-rm-range-tchan: false
142142

143143
reg:
144-
maxItems: 3
144+
items:
145+
- description: BCDMA Control /Status Registers region
146+
- description: RX Channel Realtime Registers region
147+
- description: Ring Realtime Registers region
145148

146149
reg-names:
147150
items:
@@ -161,14 +164,29 @@ allOf:
161164
properties:
162165
reg:
163166
minItems: 5
167+
items:
168+
- description: BCDMA Control /Status Registers region
169+
- description: Block Copy Channel Realtime Registers region
170+
- description: RX Channel Realtime Registers region
171+
- description: TX Channel Realtime Registers region
172+
- description: Ring Realtime Registers region
173+
- description: Ring Configuration Registers region
174+
- description: TX Channel Configuration Registers region
175+
- description: RX Channel Configuration Registers region
176+
- description: Block Copy Channel Configuration Registers region
164177

165178
reg-names:
179+
minItems: 5
166180
items:
167181
- const: gcfg
168182
- const: bchanrt
169183
- const: rchanrt
170184
- const: tchanrt
171185
- const: ringrt
186+
- const: ring
187+
- const: tchan
188+
- const: rchan
189+
- const: bchan
172190

173191
required:
174192
- ti,sci-rm-range-bchan
@@ -184,7 +202,11 @@ allOf:
184202
ti,sci-rm-range-bchan: false
185203

186204
reg:
187-
maxItems: 4
205+
items:
206+
- description: BCDMA Control /Status Registers region
207+
- description: RX Channel Realtime Registers region
208+
- description: TX Channel Realtime Registers region
209+
- description: Ring Realtime Registers region
188210

189211
reg-names:
190212
items:
@@ -220,8 +242,13 @@ examples:
220242
<0x0 0x4c000000 0x0 0x20000>,
221243
<0x0 0x4a820000 0x0 0x20000>,
222244
<0x0 0x4aa40000 0x0 0x20000>,
223-
<0x0 0x4bc00000 0x0 0x100000>;
224-
reg-names = "gcfg", "bchanrt", "rchanrt", "tchanrt", "ringrt";
245+
<0x0 0x4bc00000 0x0 0x100000>,
246+
<0x0 0x48600000 0x0 0x8000>,
247+
<0x0 0x484a4000 0x0 0x2000>,
248+
<0x0 0x484c2000 0x0 0x2000>,
249+
<0x0 0x48420000 0x0 0x2000>;
250+
reg-names = "gcfg", "bchanrt", "rchanrt", "tchanrt", "ringrt",
251+
"ring", "tchan", "rchan", "bchan";
225252
msi-parent = <&inta_main_dmss>;
226253
#dma-cells = <3>;
227254

Documentation/devicetree/bindings/dma/ti/k3-pktdma.yaml

Lines changed: 23 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,14 +45,28 @@ properties:
4545
The second cell is the ASEL value for the channel
4646
4747
reg:
48-
maxItems: 4
48+
minItems: 4
49+
items:
50+
- description: Packet DMA Control /Status Registers region
51+
- description: RX Channel Realtime Registers region
52+
- description: TX Channel Realtime Registers region
53+
- description: Ring Realtime Registers region
54+
- description: Ring Configuration Registers region
55+
- description: TX Configuration Registers region
56+
- description: RX Configuration Registers region
57+
- description: RX Flow Configuration Registers region
4958

5059
reg-names:
60+
minItems: 4
5161
items:
5262
- const: gcfg
5363
- const: rchanrt
5464
- const: tchanrt
5565
- const: ringrt
66+
- const: ring
67+
- const: tchan
68+
- const: rchan
69+
- const: rflow
5670

5771
msi-parent: true
5872

@@ -136,8 +150,14 @@ examples:
136150
reg = <0x0 0x485c0000 0x0 0x100>,
137151
<0x0 0x4a800000 0x0 0x20000>,
138152
<0x0 0x4aa00000 0x0 0x40000>,
139-
<0x0 0x4b800000 0x0 0x400000>;
140-
reg-names = "gcfg", "rchanrt", "tchanrt", "ringrt";
153+
<0x0 0x4b800000 0x0 0x400000>,
154+
<0x0 0x485e0000 0x0 0x20000>,
155+
<0x0 0x484a0000 0x0 0x4000>,
156+
<0x0 0x484c0000 0x0 0x2000>,
157+
<0x0 0x48430000 0x0 0x4000>;
158+
reg-names = "gcfg", "rchanrt", "tchanrt", "ringrt",
159+
"ring", "tchan", "rchan", "rflow";
160+
141161
msi-parent = <&inta_main_dmss>;
142162
#dma-cells = <2>;
143163

Documentation/devicetree/bindings/dma/ti/k3-udma.yaml

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,13 +69,24 @@ properties:
6969
- ti,j721e-navss-mcu-udmap
7070

7171
reg:
72-
maxItems: 3
72+
minItems: 3
73+
items:
74+
- description: UDMA-P Control /Status Registers region
75+
- description: RX Channel Realtime Registers region
76+
- description: TX Channel Realtime Registers region
77+
- description: TX Configuration Registers region
78+
- description: RX Configuration Registers region
79+
- description: RX Flow Configuration Registers region
7380

7481
reg-names:
82+
minItems: 3
7583
items:
7684
- const: gcfg
7785
- const: rchanrt
7886
- const: tchanrt
87+
- const: tchan
88+
- const: rchan
89+
- const: rflow
7990

8091
msi-parent: true
8192

@@ -158,8 +169,11 @@ examples:
158169
compatible = "ti,am654-navss-main-udmap";
159170
reg = <0x0 0x31150000 0x0 0x100>,
160171
<0x0 0x34000000 0x0 0x100000>,
161-
<0x0 0x35000000 0x0 0x100000>;
162-
reg-names = "gcfg", "rchanrt", "tchanrt";
172+
<0x0 0x35000000 0x0 0x100000>,
173+
<0x0 0x30b00000 0x0 0x20000>,
174+
<0x0 0x30c00000 0x0 0x8000>,
175+
<0x0 0x30d00000 0x0 0x4000>;
176+
reg-names = "gcfg", "rchanrt", "tchanrt", "tchan", "rchan", "rflow";
163177
#dma-cells = <1>;
164178
165179
ti,ringacc = <&ringacc>;

0 commit comments

Comments
 (0)