Skip to content

Commit 8874d92

Browse files
committed
Merge tag 'dmaengine-6.12-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/vkoul/dmaengine
Pull dmaengine updates from Vinod Koul: "Unusually, more new driver and device support than updates. Couple of new device support, AMD, Rcar, Intel and New drivers in Freescale, Loonsoon, AMD and LPC32XX with DT conversion and mode updates etc. New support: - Support for AMD Versal Gen 2 DMA IP - Rcar RZ/G3S SoC dma controller - Support for Intel Diamond Rapids and Granite Rapids-D dma controllers - Support for Freescale ls1021a-qdma controller - New driver for Loongson-1 APB DMA - New driver for AMD QDMA - Pl08x in LPC32XX router dma driver Updates: - Support for dpdma cyclic dma mode - XML conversion for marvell xor dma bindings - Dma clocks documentation for imx dma" * tag 'dmaengine-6.12-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/vkoul/dmaengine: (24 commits) dmaengine: loongson1-apb-dma: Fix the build warning caused by the size of pdev_irqname dmaengine: Fix spelling mistakes dmaengine: Add dma router for pl08x in LPC32XX SoC dmaengine: fsl-edma: add edma src ID check at request channel dmaengine: fsl-edma: change to guard(mutex) within fsl_edma3_xlate() dmaengine: avoid non-constant format string dmaengine: imx-dma: Remove i.MX21 support dt-bindings: dma: fsl,imx-dma: Document the DMA clocks dmaengine: Loongson1: Add Loongson-1 APB DMA driver dt-bindings: dma: Add Loongson-1 APB DMA dmaengine: zynqmp_dma: Add support for AMD Versal Gen 2 DMA IP dt-bindings: dmaengine: zynqmp_dma: Add a new compatible string dmaengine: idxd: Add new DSA and IAA device IDs for Diamond Rapids platform dmaengine: idxd: Add a new DSA device ID for Granite Rapids-D platform dmaengine: ti: k3-udma: Remove unused declarations dmaengine: amd: qdma: Add AMD QDMA driver dmaengine: xilinx: dpdma: Add support for cyclic dma mode dma: ipu: Remove include/linux/dma/ipu-dma.h dt-bindings: dma: fsl-mxs-dma: Add compatible string "fsl,imx8qxp-dma-apbh" dt-bindings: fsl-qdma: allow compatible string fallback to fsl,ls1021a-qdma ...
2 parents fbb86b0 + e0bee4b commit 8874d92

Some content is hidden

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

66 files changed

+2791
-275
lines changed

Documentation/devicetree/bindings/dma/fsl,imx-dma.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,14 @@ properties:
2828
- description: DMA Error interrupt
2929
minItems: 1
3030

31+
clocks:
32+
maxItems: 2
33+
34+
clock-names:
35+
items:
36+
- const: ipg
37+
- const: ahb
38+
3139
"#dma-cells":
3240
const: 1
3341

@@ -42,15 +50,21 @@ required:
4250
- reg
4351
- interrupts
4452
- "#dma-cells"
53+
- clocks
54+
- clock-names
4555

4656
additionalProperties: false
4757

4858
examples:
4959
- |
60+
#include <dt-bindings/clock/imx27-clock.h>
61+
5062
dma-controller@10001000 {
5163
compatible = "fsl,imx27-dma";
5264
reg = <0x10001000 0x1000>;
5365
interrupts = <32 33>;
5466
#dma-cells = <1>;
5567
dma-channels = <16>;
68+
clocks = <&clks IMX27_CLK_DMA_IPG_GATE>, <&clks IMX27_CLK_DMA_AHB_GATE>;
69+
clock-names = "ipg", "ahb";
5670
};

Documentation/devicetree/bindings/dma/fsl,mxs-dma.yaml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,17 @@ maintainers:
1111

1212
allOf:
1313
- $ref: dma-controller.yaml#
14+
- if:
15+
properties:
16+
compatible:
17+
contains:
18+
const: fsl,imx8qxp-dma-apbh
19+
then:
20+
required:
21+
- power-domains
22+
else:
23+
properties:
24+
power-domains: false
1425

1526
properties:
1627
compatible:
@@ -20,6 +31,7 @@ properties:
2031
- fsl,imx6q-dma-apbh
2132
- fsl,imx6sx-dma-apbh
2233
- fsl,imx7d-dma-apbh
34+
- fsl,imx8qxp-dma-apbh
2335
- const: fsl,imx28-dma-apbh
2436
- enum:
2537
- fsl,imx23-dma-apbh
@@ -42,6 +54,9 @@ properties:
4254
dma-channels:
4355
enum: [4, 8, 16]
4456

57+
power-domains:
58+
maxItems: 1
59+
4560
required:
4661
- compatible
4762
- reg

Documentation/devicetree/bindings/dma/fsl-qdma.yaml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,14 @@ maintainers:
1111

1212
properties:
1313
compatible:
14-
enum:
15-
- fsl,ls1021a-qdma
16-
- fsl,ls1028a-qdma
17-
- fsl,ls1043a-qdma
18-
- fsl,ls1046a-qdma
14+
oneOf:
15+
- const: fsl,ls1021a-qdma
16+
- items:
17+
- enum:
18+
- fsl,ls1028a-qdma
19+
- fsl,ls1043a-qdma
20+
- fsl,ls1046a-qdma
21+
- const: fsl,ls1021a-qdma
1922

2023
reg:
2124
items:
Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
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,ls1b-apbdma.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: Loongson-1 APB DMA Controller
8+
9+
maintainers:
10+
- Keguang Zhang <[email protected]>
11+
12+
description:
13+
Loongson-1 APB DMA controller provides 3 independent channels for
14+
peripherals such as NAND, audio playback and capture.
15+
16+
properties:
17+
compatible:
18+
oneOf:
19+
- const: loongson,ls1b-apbdma
20+
- items:
21+
- enum:
22+
- loongson,ls1a-apbdma
23+
- loongson,ls1c-apbdma
24+
- const: loongson,ls1b-apbdma
25+
26+
reg:
27+
maxItems: 1
28+
29+
interrupts:
30+
items:
31+
- description: NAND interrupt
32+
- description: Audio playback interrupt
33+
- description: Audio capture interrupt
34+
35+
interrupt-names:
36+
items:
37+
- const: ch0
38+
- const: ch1
39+
- const: ch2
40+
41+
'#dma-cells':
42+
const: 1
43+
44+
required:
45+
- compatible
46+
- reg
47+
- interrupts
48+
- interrupt-names
49+
- '#dma-cells'
50+
51+
additionalProperties: false
52+
53+
examples:
54+
- |
55+
#include <dt-bindings/interrupt-controller/irq.h>
56+
dma-controller@1fd01160 {
57+
compatible = "loongson,ls1b-apbdma";
58+
reg = <0x1fd01160 0x4>;
59+
interrupt-parent = <&intc0>;
60+
interrupts = <13 IRQ_TYPE_EDGE_RISING>,
61+
<14 IRQ_TYPE_EDGE_RISING>,
62+
<15 IRQ_TYPE_EDGE_RISING>;
63+
interrupt-names = "ch0", "ch1", "ch2";
64+
#dma-cells = <1>;
65+
};
Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
# SPDX-License-Identifier: GPL-2.0
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/dma/marvell,xor-v2.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: Marvell XOR v2 engines
8+
9+
maintainers:
10+
- Andrew Lunn <[email protected]>
11+
12+
properties:
13+
compatible:
14+
oneOf:
15+
- const: marvell,xor-v2
16+
- items:
17+
- enum:
18+
- marvell,armada-7k-xor
19+
- const: marvell,xor-v2
20+
21+
reg:
22+
items:
23+
- description: DMA registers
24+
- description: global registers
25+
26+
clocks:
27+
minItems: 1
28+
maxItems: 2
29+
30+
clock-names:
31+
minItems: 1
32+
items:
33+
- const: core
34+
- const: reg
35+
36+
msi-parent:
37+
description:
38+
Phandle to the MSI-capable interrupt controller used for
39+
interrupts.
40+
maxItems: 1
41+
42+
dma-coherent: true
43+
44+
required:
45+
- compatible
46+
- reg
47+
- msi-parent
48+
- dma-coherent
49+
50+
additionalProperties: false
51+
52+
examples:
53+
- |
54+
xor0@6a0000 {
55+
compatible = "marvell,armada-7k-xor", "marvell,xor-v2";
56+
reg = <0x6a0000 0x1000>, <0x6b0000 0x1000>;
57+
clocks = <&ap_clk 0>, <&ap_clk 1>;
58+
clock-names = "core", "reg";
59+
msi-parent = <&gic_v2m0>;
60+
dma-coherent;
61+
};

Documentation/devicetree/bindings/dma/mv-xor-v2.txt

Lines changed: 0 additions & 28 deletions
This file was deleted.

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ properties:
1919
- renesas,r9a07g043-dmac # RZ/G2UL and RZ/Five
2020
- renesas,r9a07g044-dmac # RZ/G2{L,LC}
2121
- renesas,r9a07g054-dmac # RZ/V2L
22+
- renesas,r9a08g045-dmac # RZ/G3S
2223
- const: renesas,rz-dmac
2324

2425
reg:

Documentation/devicetree/bindings/dma/xilinx/xlnx,zynqmp-dma-1.0.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,9 @@ properties:
2424
const: 1
2525

2626
compatible:
27-
const: xlnx,zynqmp-dma-1.0
27+
enum:
28+
- amd,versal2-dma-1.0
29+
- xlnx,zynqmp-dma-1.0
2830

2931
reg:
3032
description: memory map for gdma/adma module access

MAINTAINERS

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1147,6 +1147,14 @@ L: [email protected]
11471147
S: Maintained
11481148
F: drivers/dma/ptdma/
11491149

1150+
AMD QDMA DRIVER
1151+
M: Nishad Saraf <[email protected]>
1152+
M: Lizhi Hou <[email protected]>
1153+
1154+
S: Supported
1155+
F: drivers/dma/amd/qdma/
1156+
F: include/linux/platform_data/amd_qdma.h
1157+
11501158
AMD SEATTLE DEVICE TREE SUPPORT
11511159
M: Suravee Suthikulpanit <[email protected]>
11521160
M: Tom Lendacky <[email protected]>
@@ -2492,6 +2500,7 @@ T: git git://github.com/vzapolskiy/linux-lpc32xx.git
24922500
F: Documentation/devicetree/bindings/i2c/nxp,pnx-i2c.yaml
24932501
F: arch/arm/boot/dts/nxp/lpc/lpc32*
24942502
F: arch/arm/mach-lpc32xx/
2503+
F: drivers/dma/lpc32xx-dmamux.c
24952504
F: drivers/i2c/busses/i2c-pnx.c
24962505
F: drivers/net/ethernet/nxp/lpc_eth.c
24972506
F: drivers/usb/host/ohci-nxp.c

arch/arm/mach-lpc32xx/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,6 @@ config ARCH_LPC32XX
88
select CLKSRC_LPC32XX
99
select CPU_ARM926T
1010
select GPIOLIB
11+
select LPC32XX_DMAMUX if AMBA_PL08X
1112
help
1213
Support for the NXP LPC32XX family of processors

0 commit comments

Comments
 (0)