dt-bindings: dma: xilinx: Add power-domains

Message ID a593bbb71df9818cebb4295a1d9ce61e76d48d15.1683035191.git.michal.simek@amd.com
State New
Headers
Series dt-bindings: dma: xilinx: Add power-domains |

Commit Message

Michal Simek May 2, 2023, 1:46 p.m. UTC
  Describe optional power-domain property to fix dts_check warnings. The
similar change was done by commit 0aec3958c88f ("dt-bindings: gpio: zynq:
Add power-domains").

Signed-off-by: Michal Simek <michal.simek@amd.com>
---

 .../devicetree/bindings/dma/xilinx/xlnx,zynqmp-dpdma.yaml      | 3 +++
 1 file changed, 3 insertions(+)
  

Comments

Krzysztof Kozlowski May 2, 2023, 8:18 p.m. UTC | #1
On 02/05/2023 15:46, Michal Simek wrote:
> Describe optional power-domain property to fix dts_check warnings. The
> similar change was done by commit 0aec3958c88f ("dt-bindings: gpio: zynq:
> Add power-domains").
> 

Similar comment as for QSPI. Whether GPIO controller belongs to power
domain is not really related to DMA controller.

Best regards,
Krzysztof
  

Patch

diff --git a/Documentation/devicetree/bindings/dma/xilinx/xlnx,zynqmp-dpdma.yaml b/Documentation/devicetree/bindings/dma/xilinx/xlnx,zynqmp-dpdma.yaml
index 825294e3f0e8..f066f6983899 100644
--- a/Documentation/devicetree/bindings/dma/xilinx/xlnx,zynqmp-dpdma.yaml
+++ b/Documentation/devicetree/bindings/dma/xilinx/xlnx,zynqmp-dpdma.yaml
@@ -41,6 +41,9 @@  properties:
   clock-names:
     const: axi_clk
 
+  power-domains:
+    maxItems: 1
+
 required:
   - "#dma-cells"
   - compatible