Skip to content

Commit

Permalink
dt-bindings: dma: xilinx: Add power-domains to xlnx,zynqmp-dpdma
Browse files Browse the repository at this point in the history
DP DMA has own power domain that's why describe required power-domain
property.

Signed-off-by: Michal Simek <[email protected]>
Acked-by: Conor Dooley <[email protected]>
Reviewed-by: Laurent Pinchart <[email protected]>
Link: https://lore.kernel.org/r/8f5651634df338743f95a7253a741f9ddc92487d.1683891609.git.michal.simek@amd.com
Signed-off-by: Vinod Koul <[email protected]>
  • Loading branch information
michalsimek authored and vinodkoul committed May 16, 2023
1 parent 2893f6b commit 64273b5
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,19 +41,24 @@ properties:
clock-names:
const: axi_clk

power-domains:
maxItems: 1

required:
- "#dma-cells"
- compatible
- reg
- interrupts
- clocks
- clock-names
- power-domains

additionalProperties: false

examples:
- |
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/power/xlnx-zynqmp-power.h>
dma: dma-controller@fd4c0000 {
compatible = "xlnx,zynqmp-dpdma";
Expand All @@ -63,6 +68,7 @@ examples:
clocks = <&dpdma_clk>;
clock-names = "axi_clk";
#dma-cells = <1>;
power-domains = <&zynqmp_firmware PD_DP>;
};
...

0 comments on commit 64273b5

Please sign in to comment.