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

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

Block copy DMA(BCDMA)module on K3 SoCs have ring, BCHAN, TX and RX
channel 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
five 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-3-vigneshr@ti.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>

authored by

Vignesh Raghavendra and committed by
Vinod Koul
f0447067 aaf7b392

+19 -4
+19 -4
Documentation/devicetree/bindings/dma/ti/k3-bcdma.yaml
··· 37 37 38 38 reg: 39 39 minItems: 3 40 - maxItems: 5 40 + maxItems: 9 41 41 42 42 reg-names: 43 43 minItems: 3 44 - maxItems: 5 44 + maxItems: 9 45 45 46 46 "#dma-cells": 47 47 const: 3 ··· 163 163 then: 164 164 properties: 165 165 reg: 166 + minItems: 5 166 167 items: 167 168 - description: BCDMA Control /Status Registers region 168 169 - description: Block Copy Channel Realtime Registers region 169 170 - description: RX Channel Realtime Registers region 170 171 - description: TX Channel Realtime Registers region 171 172 - description: Ring Realtime Registers region 173 + - description: Ring Configuration Registers region 174 + - description: TX Channel Configuration Registers region 175 + - description: RX Channel Configuration Registers region 176 + - description: Block Copy Channel Configuration Registers region 172 177 173 178 reg-names: 179 + minItems: 5 174 180 items: 175 181 - const: gcfg 176 182 - const: bchanrt 177 183 - const: rchanrt 178 184 - const: tchanrt 179 185 - const: ringrt 186 + - const: ring 187 + - const: tchan 188 + - const: rchan 189 + - const: bchan 180 190 181 191 required: 182 192 - ti,sci-rm-range-bchan ··· 242 232 <0x0 0x4c000000 0x0 0x20000>, 243 233 <0x0 0x4a820000 0x0 0x20000>, 244 234 <0x0 0x4aa40000 0x0 0x20000>, 245 - <0x0 0x4bc00000 0x0 0x100000>; 246 - reg-names = "gcfg", "bchanrt", "rchanrt", "tchanrt", "ringrt"; 235 + <0x0 0x4bc00000 0x0 0x100000>, 236 + <0x0 0x48600000 0x0 0x8000>, 237 + <0x0 0x484a4000 0x0 0x2000>, 238 + <0x0 0x484c2000 0x0 0x2000>, 239 + <0x0 0x48420000 0x0 0x2000>; 240 + reg-names = "gcfg", "bchanrt", "rchanrt", "tchanrt", "ringrt", 241 + "ring", "tchan", "rchan", "bchan"; 247 242 msi-parent = <&inta_main_dmss>; 248 243 #dma-cells = <3>; 249 244