Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt: bindings: dma: xilinx: dpdma: DT bindings for Xilinx DPDMA

The ZynqMP includes the DisplayPort subsystem with its own DMA engine
called DPDMA. The DPDMA IP comes with 6 individual channels
(4 for display, 2 for audio). This documentation describes DT bindings
of DPDMA.

Signed-off-by: Hyun Kwon <hyun.kwon@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20200717013337.24122-2-laurent.pinchart@ideasonboard.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>

authored by

Laurent Pinchart and committed by
Vinod Koul
ef9303fd b3a9e3b9

+92
+68
Documentation/devicetree/bindings/dma/xilinx/xlnx,zynqmp-dpdma.yaml
··· 1 + # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 + %YAML 1.2 3 + --- 4 + $id: http://devicetree.org/schemas/dma/xilinx/xlnx,zynqmp-dpdma.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: Xilinx ZynqMP DisplayPort DMA Controller Device Tree Bindings 8 + 9 + description: | 10 + These bindings describe the DMA engine included in the Xilinx ZynqMP 11 + DisplayPort Subsystem. The DMA engine supports up to 6 DMA channels (3 12 + channels for a video stream, 1 channel for a graphics stream, and 2 channels 13 + for an audio stream). 14 + 15 + maintainers: 16 + - Laurent Pinchart <laurent.pinchart@ideasonboard.com> 17 + 18 + allOf: 19 + - $ref: "../dma-controller.yaml#" 20 + 21 + properties: 22 + "#dma-cells": 23 + const: 1 24 + description: | 25 + The cell is the DMA channel ID (see dt-bindings/dma/xlnx-zynqmp-dpdma.h 26 + for a list of channel IDs). 27 + 28 + compatible: 29 + const: xlnx,zynqmp-dpdma 30 + 31 + reg: 32 + maxItems: 1 33 + 34 + interrupts: 35 + maxItems: 1 36 + 37 + clocks: 38 + description: The AXI clock 39 + maxItems: 1 40 + 41 + clock-names: 42 + const: axi_clk 43 + 44 + required: 45 + - "#dma-cells" 46 + - compatible 47 + - reg 48 + - interrupts 49 + - clocks 50 + - clock-names 51 + 52 + additionalProperties: false 53 + 54 + examples: 55 + - | 56 + #include <dt-bindings/interrupt-controller/arm-gic.h> 57 + 58 + dma: dma-controller@fd4c0000 { 59 + compatible = "xlnx,zynqmp-dpdma"; 60 + reg = <0x0 0xfd4c0000 0x0 0x1000>; 61 + interrupts = <GIC_SPI 122 IRQ_TYPE_LEVEL_HIGH>; 62 + interrupt-parent = <&gic>; 63 + clocks = <&dpdma_clk>; 64 + clock-names = "axi_clk"; 65 + #dma-cells = <1>; 66 + }; 67 + 68 + ...
+8
MAINTAINERS
··· 18852 18852 F: drivers/media/platform/xilinx/ 18853 18853 F: include/uapi/linux/xilinx-v4l2-controls.h 18854 18854 18855 + XILINX ZYNQMP DPDMA DRIVER 18856 + M: Hyun Kwon <hyun.kwon@xilinx.com> 18857 + M: Laurent Pinchart <laurent.pinchart@ideasonboard.com> 18858 + L: dmaengine@vger.kernel.org 18859 + S: Supported 18860 + F: Documentation/devicetree/bindings/dma/xilinx/xlnx,zynqmp-dpdma.yaml 18861 + F: include/dt-bindings/dma/xlnx-zynqmp-dpdma.h 18862 + 18855 18863 XILLYBUS DRIVER 18856 18864 M: Eli Billauer <eli.billauer@gmail.com> 18857 18865 L: linux-kernel@vger.kernel.org
+16
include/dt-bindings/dma/xlnx-zynqmp-dpdma.h
··· 1 + /* SPDX-License-Identifier: (GPL-2.0 OR MIT) */ 2 + /* 3 + * Copyright 2019 Laurent Pinchart <laurent.pinchart@ideasonboard.com> 4 + */ 5 + 6 + #ifndef __DT_BINDINGS_DMA_XLNX_ZYNQMP_DPDMA_H__ 7 + #define __DT_BINDINGS_DMA_XLNX_ZYNQMP_DPDMA_H__ 8 + 9 + #define ZYNQMP_DPDMA_VIDEO0 0 10 + #define ZYNQMP_DPDMA_VIDEO1 1 11 + #define ZYNQMP_DPDMA_VIDEO2 2 12 + #define ZYNQMP_DPDMA_GRAPHICS 3 13 + #define ZYNQMP_DPDMA_AUDIO0 4 14 + #define ZYNQMP_DPDMA_AUDIO1 5 15 + 16 + #endif /* __DT_BINDINGS_DMA_XLNX_ZYNQMP_DPDMA_H__ */