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

dt-bindings: dma: ti: k3-udma: Describe cfg register regions

Unified DMA (UDMA) module on K3 SoCs have TX and RX channel cfg and RX
flow cfg register regions which are usually configured by a Device
Management firmware. But certain entities such as bootloader (like
U-Boot) may have to access them directly. Describe this region in the
binding documentation for completeness of module description.

Keep the binding compatible with existing DTS files by requiring first
four regions to be present at least.

Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20231124045722.191817-5-vigneshr@ti.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>

authored by

Vignesh Raghavendra and committed by
Vinod Koul
d7aaccd3 8d75e0e5

+13 -2
+13 -2
Documentation/devicetree/bindings/dma/ti/k3-udma.yaml
··· 69 69 - ti,j721e-navss-mcu-udmap 70 70 71 71 reg: 72 + minItems: 3 72 73 items: 73 74 - description: UDMA-P Control /Status Registers region 74 75 - description: RX Channel Realtime Registers region 75 76 - description: TX Channel Realtime Registers region 77 + - description: TX Configuration Registers region 78 + - description: RX Configuration Registers region 79 + - description: RX Flow Configuration Registers region 76 80 77 81 reg-names: 82 + minItems: 3 78 83 items: 79 84 - const: gcfg 80 85 - const: rchanrt 81 86 - const: tchanrt 87 + - const: tchan 88 + - const: rchan 89 + - const: rflow 82 90 83 91 msi-parent: true 84 92 ··· 169 161 compatible = "ti,am654-navss-main-udmap"; 170 162 reg = <0x0 0x31150000 0x0 0x100>, 171 163 <0x0 0x34000000 0x0 0x100000>, 172 - <0x0 0x35000000 0x0 0x100000>; 173 - reg-names = "gcfg", "rchanrt", "tchanrt"; 164 + <0x0 0x35000000 0x0 0x100000>, 165 + <0x0 0x30b00000 0x0 0x20000>, 166 + <0x0 0x30c00000 0x0 0x8000>, 167 + <0x0 0x30d00000 0x0 0x4000>; 168 + reg-names = "gcfg", "rchanrt", "tchanrt", "tchan", "rchan", "rflow"; 174 169 #dma-cells = <1>; 175 170 176 171 ti,ringacc = <&ringacc>;