Commit 64273b51 authored by Michal Simek's avatar Michal Simek Committed by Vinod Koul

dt-bindings: dma: xilinx: Add power-domains to xlnx,zynqmp-dpdma

DP DMA has own power domain that's why describe required power-domain
property.
Signed-off-by: default avatarMichal Simek <michal.simek@amd.com>
Acked-by: default avatarConor Dooley <conor.dooley@microchip.com>
Reviewed-by: default avatarLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Link: https://lore.kernel.org/r/8f5651634df338743f95a7253a741f9ddc92487d.1683891609.git.michal.simek@amd.comSigned-off-by: default avatarVinod Koul <vkoul@kernel.org>
parent 2893f6bc
...@@ -41,6 +41,9 @@ properties: ...@@ -41,6 +41,9 @@ properties:
clock-names: clock-names:
const: axi_clk const: axi_clk
power-domains:
maxItems: 1
required: required:
- "#dma-cells" - "#dma-cells"
- compatible - compatible
...@@ -48,12 +51,14 @@ required: ...@@ -48,12 +51,14 @@ required:
- interrupts - interrupts
- clocks - clocks
- clock-names - clock-names
- power-domains
additionalProperties: false additionalProperties: false
examples: examples:
- | - |
#include <dt-bindings/interrupt-controller/arm-gic.h> #include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/power/xlnx-zynqmp-power.h>
dma: dma-controller@fd4c0000 { dma: dma-controller@fd4c0000 {
compatible = "xlnx,zynqmp-dpdma"; compatible = "xlnx,zynqmp-dpdma";
...@@ -63,6 +68,7 @@ examples: ...@@ -63,6 +68,7 @@ examples:
clocks = <&dpdma_clk>; clocks = <&dpdma_clk>;
clock-names = "axi_clk"; clock-names = "axi_clk";
#dma-cells = <1>; #dma-cells = <1>;
power-domains = <&zynqmp_firmware PD_DP>;
}; };
... ...
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment