forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge tag 'dmaengine-6.3-rc1' of git://git.kernel.org/pub/scm/linux/k…
…ernel/git/vkoul/dmaengine Pull dmaengine updates from Vinod Koul: "A new driver, couple of device support and binding conversion along with bunch of driver updates are the main features of this. New hardware support: - TI AM62Ax controller support - Xilinx xdma driver - Qualcomm SM6125, SM8550, QDU1000/QRU1000 GPI controller Updates: - Runtime pm support for at_xdmac driver - IMX sdma binding conversion to yaml and HDMI audio support - IMX mxs binding conversion to yaml" * tag 'dmaengine-6.3-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/vkoul/dmaengine: (35 commits) dmaengine: idma64: Update bytes_transferred field dmaengine: imx-sdma: Set DMA channel to be private dmaengine: dw: Move check for paused channel to dwc_get_residue() dmaengine: ptdma: check for null desc before calling pt_cmd_callback dmaengine: dw-axi-dmac: Do not dereference NULL structure dmaengine: idxd: Fix default allowed read buffers value in group dmaengine: sf-pdma: pdma_desc memory leak fix dmaengine: Simplify dmaenginem_async_device_register() function dmaengine: use sysfs_emit() to instead of scnprintf() dmaengine: Make an order in struct dma_device definition dt-bindings: dma: cleanup examples - indentation, lowercase hex dt-bindings: dma: drop unneeded quotes dmaengine: xilinx: xdma: Add user logic interrupt support dmaengine: xilinx: xdma: Add xilinx xdma driver dmaengine: drivers: Use devm_platform_ioremap_resource() dmaengine: at_xdmac: remove empty line dmaengine: at_xdmac: add runtime pm support dmaengine: at_xdmac: align properly function members dmaengine: ppc4xx: Convert to use sysfs_emit()/sysfs_emit_at() APIs dmaengine: sun6i: Set the maximum segment size ...
- Loading branch information
Showing
88 changed files
with
2,119 additions
and
445 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,7 +11,7 @@ maintainers: | |
- Maxime Ripard <[email protected]> | ||
|
||
allOf: | ||
- $ref: "dma-controller.yaml#" | ||
- $ref: dma-controller.yaml# | ||
|
||
properties: | ||
"#dma-cells": | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,7 +11,7 @@ maintainers: | |
- Maxime Ripard <[email protected]> | ||
|
||
allOf: | ||
- $ref: "dma-controller.yaml#" | ||
- $ref: dma-controller.yaml# | ||
|
||
properties: | ||
"#dma-cells": | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,7 +11,7 @@ maintainers: | |
- Maxime Ripard <[email protected]> | ||
|
||
allOf: | ||
- $ref: "dma-controller.yaml#" | ||
- $ref: dma-controller.yaml# | ||
|
||
properties: | ||
"#dma-cells": | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,7 +18,7 @@ maintainers: | |
- Martin Povišer <[email protected]> | ||
|
||
allOf: | ||
- $ref: "dma-controller.yaml#" | ||
- $ref: dma-controller.yaml# | ||
|
||
properties: | ||
compatible: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,7 +10,7 @@ maintainers: | |
- Vinod Koul <[email protected]> | ||
|
||
allOf: | ||
- $ref: "dma-common.yaml#" | ||
- $ref: dma-common.yaml# | ||
|
||
# Everything else is described in the common file | ||
properties: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,7 +10,7 @@ maintainers: | |
- Vinod Koul <[email protected]> | ||
|
||
allOf: | ||
- $ref: "dma-common.yaml#" | ||
- $ref: dma-common.yaml# | ||
|
||
description: | ||
DMA routers are transparent IP blocks used to route DMA request | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
149 changes: 149 additions & 0 deletions
149
Documentation/devicetree/bindings/dma/fsl,imx-sdma.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,149 @@ | ||
# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause | ||
%YAML 1.2 | ||
--- | ||
$id: http://devicetree.org/schemas/dma/fsl,imx-sdma.yaml# | ||
$schema: http://devicetree.org/meta-schemas/core.yaml# | ||
|
||
title: Freescale Smart Direct Memory Access (SDMA) Controller for i.MX | ||
|
||
maintainers: | ||
- Joy Zou <[email protected]> | ||
|
||
allOf: | ||
- $ref: dma-controller.yaml# | ||
|
||
properties: | ||
compatible: | ||
oneOf: | ||
- items: | ||
- enum: | ||
- fsl,imx50-sdma | ||
- fsl,imx51-sdma | ||
- fsl,imx53-sdma | ||
- fsl,imx6q-sdma | ||
- fsl,imx7d-sdma | ||
- const: fsl,imx35-sdma | ||
- items: | ||
- enum: | ||
- fsl,imx6sx-sdma | ||
- fsl,imx6sl-sdma | ||
- const: fsl,imx6q-sdma | ||
- items: | ||
- const: fsl,imx6ul-sdma | ||
- const: fsl,imx6q-sdma | ||
- const: fsl,imx35-sdma | ||
- items: | ||
- const: fsl,imx6sll-sdma | ||
- const: fsl,imx6ul-sdma | ||
- items: | ||
- const: fsl,imx8mq-sdma | ||
- const: fsl,imx7d-sdma | ||
- items: | ||
- enum: | ||
- fsl,imx8mp-sdma | ||
- fsl,imx8mn-sdma | ||
- fsl,imx8mm-sdma | ||
- const: fsl,imx8mq-sdma | ||
- items: | ||
- enum: | ||
- fsl,imx25-sdma | ||
- fsl,imx31-sdma | ||
- fsl,imx35-sdma | ||
reg: | ||
maxItems: 1 | ||
|
||
interrupts: | ||
maxItems: 1 | ||
|
||
fsl,sdma-ram-script-name: | ||
$ref: /schemas/types.yaml#/definitions/string | ||
description: Should contain the full path of SDMA RAM scripts firmware. | ||
|
||
"#dma-cells": | ||
const: 3 | ||
description: | | ||
The first cell: request/event ID | ||
The second cell: peripheral types ID | ||
enum: | ||
- MCU domain SSI: 0 | ||
- Shared SSI: 1 | ||
- MMC: 2 | ||
- SDHC: 3 | ||
- MCU domain UART: 4 | ||
- Shared UART: 5 | ||
- FIRI: 6 | ||
- MCU domain CSPI: 7 | ||
- Shared CSPI: 8 | ||
- SIM: 9 | ||
- ATA: 10 | ||
- CCM: 11 | ||
- External peripheral: 12 | ||
- Memory Stick Host Controller: 13 | ||
- Shared Memory Stick Host Controller: 14 | ||
- DSP: 15 | ||
- Memory: 16 | ||
- FIFO type Memory: 17 | ||
- SPDIF: 18 | ||
- IPU Memory: 19 | ||
- ASRC: 20 | ||
- ESAI: 21 | ||
- SSI Dual FIFO: 22 | ||
description: needs firmware more than ver 2 | ||
- Shared ASRC: 23 | ||
- SAI: 24 | ||
- HDMI Audio: 25 | ||
The third cell: transfer priority ID | ||
enum: | ||
- High: 0 | ||
- Medium: 1 | ||
- Low: 2 | ||
gpr: | ||
$ref: /schemas/types.yaml#/definitions/phandle | ||
description: The phandle to the General Purpose Register (GPR) node | ||
|
||
fsl,sdma-event-remap: | ||
$ref: /schemas/types.yaml#/definitions/uint32-matrix | ||
maxItems: 2 | ||
items: | ||
items: | ||
- description: GPR register offset | ||
- description: GPR register shift | ||
- description: GPR register value | ||
description: | | ||
Register bits of sdma event remap, the format is <reg shift val>. | ||
The order is <RX>, <TX>. | ||
clocks: | ||
maxItems: 2 | ||
|
||
clock-names: | ||
items: | ||
- const: ipg | ||
- const: ahb | ||
|
||
iram: | ||
$ref: /schemas/types.yaml#/definitions/phandle | ||
description: The phandle to the On-chip RAM (OCRAM) node. | ||
|
||
required: | ||
- compatible | ||
- reg | ||
- interrupts | ||
- fsl,sdma-ram-script-name | ||
|
||
additionalProperties: false | ||
|
||
examples: | ||
- | | ||
sdma: dma-controller@83fb0000 { | ||
compatible = "fsl,imx51-sdma", "fsl,imx35-sdma"; | ||
reg = <0x83fb0000 0x4000>; | ||
interrupts = <6>; | ||
#dma-cells = <3>; | ||
fsl,sdma-ram-script-name = "sdma-imx51.bin"; | ||
}; | ||
... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,80 @@ | ||
# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause | ||
%YAML 1.2 | ||
--- | ||
$id: http://devicetree.org/schemas/dma/fsl,mxs-dma.yaml# | ||
$schema: http://devicetree.org/meta-schemas/core.yaml# | ||
|
||
title: Freescale Direct Memory Access (DMA) Controller from i.MX23/i.MX28 | ||
|
||
maintainers: | ||
- Marek Vasut <[email protected]> | ||
|
||
allOf: | ||
- $ref: dma-controller.yaml# | ||
|
||
properties: | ||
compatible: | ||
oneOf: | ||
- items: | ||
- enum: | ||
- fsl,imx6q-dma-apbh | ||
- fsl,imx6sx-dma-apbh | ||
- fsl,imx7d-dma-apbh | ||
- const: fsl,imx28-dma-apbh | ||
- enum: | ||
- fsl,imx23-dma-apbh | ||
- fsl,imx23-dma-apbx | ||
- fsl,imx28-dma-apbh | ||
- fsl,imx28-dma-apbx | ||
reg: | ||
maxItems: 1 | ||
|
||
clocks: | ||
maxItems: 1 | ||
|
||
interrupts: | ||
minItems: 4 | ||
maxItems: 16 | ||
|
||
"#dma-cells": | ||
const: 1 | ||
|
||
dma-channels: | ||
enum: [4, 8, 16] | ||
|
||
required: | ||
- compatible | ||
- reg | ||
- "#dma-cells" | ||
- dma-channels | ||
- interrupts | ||
|
||
additionalProperties: false | ||
|
||
examples: | ||
- | | ||
interrupt-parent = <&irqc>; | ||
dma-controller@80004000 { | ||
compatible = "fsl,imx28-dma-apbh"; | ||
reg = <0x80004000 0x2000>; | ||
interrupts = <82 83 84 85 | ||
88 88 88 88 | ||
88 88 88 88 | ||
87 86 0 0>; | ||
#dma-cells = <1>; | ||
dma-channels = <16>; | ||
}; | ||
dma-controller@80024000 { | ||
compatible = "fsl,imx28-dma-apbx"; | ||
reg = <0x80024000 0x2000>; | ||
interrupts = <78 79 66 0 | ||
80 81 68 69 | ||
70 71 72 73 | ||
74 75 76 77>; | ||
#dma-cells = <1>; | ||
dma-channels = <16>; | ||
}; | ||
... |
Oops, something went wrong.