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-5.19-rc1' of git://git.kernel.org/pub/scm/linux/…
…kernel/git/vkoul/dmaengine Pull dmaengine updates from Vinod Koul: "Nothing special, this includes a couple of new device support and new driver support and bunch of driver updates. New support: - Tegra gpcdma driver support - Qualcomm SM8350, Sm8450 and SC7280 device support - Renesas RZN1 dma and platform support Updates: - stm32 device pause/resume support and updates - DMA memset ops Documentation and usage clarification - deprecate '#dma-channels' & '#dma-requests' bindings - driver updates for stm32, ptdma idsx etc" * tag 'dmaengine-5.19-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/vkoul/dmaengine: (87 commits) dmaengine: idxd: make idxd_wq_enable() return 0 if wq is already enabled dmaengine: sun6i: Add support for the D1 variant dmaengine: sun6i: Add support for 34-bit physical addresses dmaengine: sun6i: Do not use virt_to_phys dt-bindings: dma: sun50i-a64: Add compatible for D1 dmaengine: tegra: Remove unused switch case dmaengine: tegra: Fix uninitialized variable usage dmaengine: stm32-dma: add device_pause/device_resume support dmaengine: stm32-dma: rename pm ops before dma pause/resume introduction dmaengine: stm32-dma: pass DMA_SxSCR value to stm32_dma_handle_chan_done() dmaengine: stm32-dma: introduce stm32_dma_sg_inc to manage chan->next_sg dmaengine: stm32-dmamux: avoid reset of dmamux if used by coprocessor dmaengine: qcom: gpi: Add support for sc7280 dt-bindings: dma: pl330: Add power-domains dmaengine: stm32-mdma: use dev_dbg on non-busy channel spurious it dmaengine: stm32-mdma: fix chan initialization in stm32_mdma_irq_handler() dmaengine: stm32-mdma: remove GISR1 register dmaengine: ti: deprecate '#dma-channels' dmaengine: mmp: deprecate '#dma-channels' dmaengine: pxa: deprecate '#dma-channels' and '#dma-requests' ...
- Loading branch information
Showing
64 changed files
with
2,744 additions
and
349 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
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
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 |
---|---|---|
|
@@ -55,6 +55,9 @@ properties: | |
|
||
dma-coherent: true | ||
|
||
power-domains: | ||
maxItems: 1 | ||
|
||
resets: | ||
minItems: 1 | ||
maxItems: 2 | ||
|
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
110 changes: 110 additions & 0 deletions
110
Documentation/devicetree/bindings/dma/nvidia,tegra186-gpc-dma.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,110 @@ | ||
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) | ||
%YAML 1.2 | ||
--- | ||
$id: http://devicetree.org/schemas/dma/nvidia,tegra186-gpc-dma.yaml# | ||
$schema: http://devicetree.org/meta-schemas/core.yaml# | ||
|
||
title: NVIDIA Tegra GPC DMA Controller Device Tree Bindings | ||
|
||
description: | | ||
The Tegra General Purpose Central (GPC) DMA controller is used for faster | ||
data transfers between memory to memory, memory to device and device to | ||
memory. | ||
maintainers: | ||
- Jon Hunter <[email protected]> | ||
- Rajesh Gumasta <[email protected]> | ||
|
||
allOf: | ||
- $ref: "dma-controller.yaml#" | ||
|
||
properties: | ||
compatible: | ||
oneOf: | ||
- const: nvidia,tegra186-gpcdma | ||
- items: | ||
- const: nvidia,tegra194-gpcdma | ||
- const: nvidia,tegra186-gpcdma | ||
|
||
"#dma-cells": | ||
const: 1 | ||
|
||
reg: | ||
maxItems: 1 | ||
|
||
interrupts: | ||
description: | ||
Should contain all of the per-channel DMA interrupts in | ||
ascending order with respect to the DMA channel index. | ||
minItems: 1 | ||
maxItems: 31 | ||
|
||
resets: | ||
maxItems: 1 | ||
|
||
reset-names: | ||
const: gpcdma | ||
|
||
iommus: | ||
maxItems: 1 | ||
|
||
dma-coherent: true | ||
|
||
required: | ||
- compatible | ||
- reg | ||
- interrupts | ||
- resets | ||
- reset-names | ||
- "#dma-cells" | ||
- iommus | ||
|
||
additionalProperties: false | ||
|
||
examples: | ||
- | | ||
#include <dt-bindings/interrupt-controller/arm-gic.h> | ||
#include <dt-bindings/memory/tegra186-mc.h> | ||
#include <dt-bindings/reset/tegra186-reset.h> | ||
dma-controller@2600000 { | ||
compatible = "nvidia,tegra186-gpcdma"; | ||
reg = <0x2600000 0x210000>; | ||
resets = <&bpmp TEGRA186_RESET_GPCDMA>; | ||
reset-names = "gpcdma"; | ||
interrupts = <GIC_SPI 76 IRQ_TYPE_LEVEL_HIGH>, | ||
<GIC_SPI 77 IRQ_TYPE_LEVEL_HIGH>, | ||
<GIC_SPI 78 IRQ_TYPE_LEVEL_HIGH>, | ||
<GIC_SPI 79 IRQ_TYPE_LEVEL_HIGH>, | ||
<GIC_SPI 80 IRQ_TYPE_LEVEL_HIGH>, | ||
<GIC_SPI 81 IRQ_TYPE_LEVEL_HIGH>, | ||
<GIC_SPI 82 IRQ_TYPE_LEVEL_HIGH>, | ||
<GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>, | ||
<GIC_SPI 84 IRQ_TYPE_LEVEL_HIGH>, | ||
<GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>, | ||
<GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>, | ||
<GIC_SPI 87 IRQ_TYPE_LEVEL_HIGH>, | ||
<GIC_SPI 88 IRQ_TYPE_LEVEL_HIGH>, | ||
<GIC_SPI 89 IRQ_TYPE_LEVEL_HIGH>, | ||
<GIC_SPI 90 IRQ_TYPE_LEVEL_HIGH>, | ||
<GIC_SPI 91 IRQ_TYPE_LEVEL_HIGH>, | ||
<GIC_SPI 92 IRQ_TYPE_LEVEL_HIGH>, | ||
<GIC_SPI 93 IRQ_TYPE_LEVEL_HIGH>, | ||
<GIC_SPI 94 IRQ_TYPE_LEVEL_HIGH>, | ||
<GIC_SPI 95 IRQ_TYPE_LEVEL_HIGH>, | ||
<GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>, | ||
<GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>, | ||
<GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>, | ||
<GIC_SPI 99 IRQ_TYPE_LEVEL_HIGH>, | ||
<GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>, | ||
<GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>, | ||
<GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>, | ||
<GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>, | ||
<GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>, | ||
<GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>, | ||
<GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH>; | ||
#dma-cells = <1>; | ||
iommus = <&smmu TEGRA186_SID_GPCDMA_0>; | ||
dma-coherent; | ||
}; | ||
... |
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
51 changes: 51 additions & 0 deletions
51
Documentation/devicetree/bindings/dma/renesas,rzn1-dmamux.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,51 @@ | ||
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) | ||
%YAML 1.2 | ||
--- | ||
$id: http://devicetree.org/schemas/dma/renesas,rzn1-dmamux.yaml# | ||
$schema: http://devicetree.org/meta-schemas/core.yaml# | ||
|
||
title: Renesas RZ/N1 DMA mux | ||
|
||
maintainers: | ||
- Miquel Raynal <[email protected]> | ||
|
||
allOf: | ||
- $ref: "dma-router.yaml#" | ||
|
||
properties: | ||
compatible: | ||
const: renesas,rzn1-dmamux | ||
|
||
reg: | ||
maxItems: 1 | ||
description: DMA mux first register offset within the system control parent. | ||
|
||
'#dma-cells': | ||
const: 6 | ||
description: | ||
The first four cells are dedicated to the master DMA controller. The fifth | ||
cell gives the DMA mux bit index that must be set starting from 0. The | ||
sixth cell gives the binary value that must be written there, ie. 0 or 1. | ||
|
||
dma-masters: | ||
minItems: 1 | ||
maxItems: 2 | ||
|
||
dma-requests: | ||
const: 32 | ||
|
||
required: | ||
- reg | ||
- dma-requests | ||
|
||
additionalProperties: false | ||
|
||
examples: | ||
- | | ||
dma-router@a0 { | ||
compatible = "renesas,rzn1-dmamux"; | ||
reg = <0xa0 4>; | ||
#dma-cells = <6>; | ||
dma-masters = <&dma0 &dma1>; | ||
dma-requests = <32>; | ||
}; |
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
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
Oops, something went wrong.