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

dt-bindings: dma: fsl,imx-dma: Document the DMA clocks

Document the IPG and AHB clocks that are needed by the DMA hardware
as required properties.

It is not possible to have DMA functional without the DMA clocks
being turned on.

Signed-off-by: Fabio Estevam <festevam@denx.de>
Acked-by: Conor Dooley <conor.dooley@microchip.com>
Link: https://lore.kernel.org/r/20240807170517.64290-1-festevam@gmail.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>

authored by

Fabio Estevam and committed by
Vinod Koul
2ccf4822 e06c4323

+14
+14
Documentation/devicetree/bindings/dma/fsl,imx-dma.yaml
··· 28 28 - description: DMA Error interrupt 29 29 minItems: 1 30 30 31 + clocks: 32 + maxItems: 2 33 + 34 + clock-names: 35 + items: 36 + - const: ipg 37 + - const: ahb 38 + 31 39 "#dma-cells": 32 40 const: 1 33 41 ··· 50 42 - reg 51 43 - interrupts 52 44 - "#dma-cells" 45 + - clocks 46 + - clock-names 53 47 54 48 additionalProperties: false 55 49 56 50 examples: 57 51 - | 52 + #include <dt-bindings/clock/imx27-clock.h> 53 + 58 54 dma-controller@10001000 { 59 55 compatible = "fsl,imx27-dma"; 60 56 reg = <0x10001000 0x1000>; 61 57 interrupts = <32 33>; 62 58 #dma-cells = <1>; 63 59 dma-channels = <16>; 60 + clocks = <&clks IMX27_CLK_DMA_IPG_GATE>, <&clks IMX27_CLK_DMA_AHB_GATE>; 61 + clock-names = "ipg", "ahb"; 64 62 };