mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-08-21 16:12:23 +00:00

Cleanup by removing unneeded quotes from refs and redundant blank lines. No functional impact except adjusting to preferred coding style. Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Reviewed-by: Matthias Brugger <matthias.bgg@gmail.com> # mediatek Acked-by: Rob Herring <robh@kernel.org> Acked-by: Hector Martin <marcan@marcan.st> # apple Acked-by: Paul Cercueil <paul@crapouillou.net> Acked-by: Viresh Kumar <viresh.kumar@linaro.org> # Spear Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com> # Renesas Reviewed-by: Kunihiko Hayashi <hayashi.kunihiko@socionext.com> # Socionext Link: https://lore.kernel.org/r/20230124081117.31186-1-krzysztof.kozlowski@linaro.org Signed-off-by: Vinod Koul <vkoul@kernel.org>
63 lines
1.4 KiB
YAML
63 lines
1.4 KiB
YAML
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
|
|
%YAML 1.2
|
|
---
|
|
$id: http://devicetree.org/schemas/dma/socionext,uniphier-xdmac.yaml#
|
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
|
|
|
title: Socionext UniPhier external DMA controller
|
|
|
|
description: |
|
|
This describes the devicetree bindings for an external DMA engine to perform
|
|
memory-to-memory or peripheral-to-memory data transfer capable of supporting
|
|
16 channels, implemented in Socionext UniPhier SoCs.
|
|
|
|
maintainers:
|
|
- Kunihiko Hayashi <hayashi.kunihiko@socionext.com>
|
|
|
|
allOf:
|
|
- $ref: dma-controller.yaml#
|
|
|
|
properties:
|
|
compatible:
|
|
const: socionext,uniphier-xdmac
|
|
|
|
reg:
|
|
maxItems: 1
|
|
|
|
interrupts:
|
|
maxItems: 1
|
|
|
|
"#dma-cells":
|
|
const: 2
|
|
description: |
|
|
DMA request from clients consists of 2 cells:
|
|
1. Channel index
|
|
2. Transfer request factor number, If no transfer factor, use 0.
|
|
The number is SoC-specific, and this should be specified with
|
|
relation to the device to use the DMA controller.
|
|
|
|
dma-channels:
|
|
minimum: 1
|
|
maximum: 16
|
|
|
|
additionalProperties: false
|
|
|
|
required:
|
|
- compatible
|
|
- reg
|
|
- interrupts
|
|
- "#dma-cells"
|
|
- dma-channels
|
|
|
|
examples:
|
|
- |
|
|
xdmac: dma-controller@5fc10000 {
|
|
compatible = "socionext,uniphier-xdmac";
|
|
reg = <0x5fc10000 0x5300>;
|
|
interrupts = <0 188 4>;
|
|
#dma-cells = <2>;
|
|
dma-channels = <16>;
|
|
};
|
|
|
|
...
|