Skip to content

Commit 64273b5

Browse files
michalsimekvinodkoul
authored andcommitted
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: Michal Simek <michal.simek@amd.com> Acked-by: Conor Dooley <conor.dooley@microchip.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Link: https://lore.kernel.org/r/8f5651634df338743f95a7253a741f9ddc92487d.1683891609.git.michal.simek@amd.com Signed-off-by: Vinod Koul <vkoul@kernel.org>
1 parent 2893f6b commit 64273b5

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

Documentation/devicetree/bindings/dma/xilinx/xlnx,zynqmp-dpdma.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,19 +41,24 @@ properties:
4141
clock-names:
4242
const: axi_clk
4343

44+
power-domains:
45+
maxItems: 1
46+
4447
required:
4548
- "#dma-cells"
4649
- compatible
4750
- reg
4851
- interrupts
4952
- clocks
5053
- clock-names
54+
- power-domains
5155

5256
additionalProperties: false
5357

5458
examples:
5559
- |
5660
#include <dt-bindings/interrupt-controller/arm-gic.h>
61+
#include <dt-bindings/power/xlnx-zynqmp-power.h>
5762
5863
dma: dma-controller@fd4c0000 {
5964
compatible = "xlnx,zynqmp-dpdma";
@@ -63,6 +68,7 @@ examples:
6368
clocks = <&dpdma_clk>;
6469
clock-names = "axi_clk";
6570
#dma-cells = <1>;
71+
power-domains = <&zynqmp_firmware PD_DP>;
6672
};
6773
6874
...

0 commit comments

Comments
 (0)