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

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

Packet DMA (PKTDMA) module on K3 SoCs have ring cfg, 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-4-vigneshr@ti.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>

authored by

Vignesh Raghavendra and committed by
Vinod Koul
8d75e0e5 f0447067

+18 -2
+18 -2
Documentation/devicetree/bindings/dma/ti/k3-pktdma.yaml
··· 45 45 The second cell is the ASEL value for the channel 46 46 47 47 reg: 48 + minItems: 4 48 49 items: 49 50 - description: Packet DMA Control /Status Registers region 50 51 - description: RX Channel Realtime Registers region 51 52 - description: TX Channel Realtime Registers region 52 53 - description: Ring Realtime Registers region 54 + - description: Ring Configuration Registers region 55 + - description: TX Configuration Registers region 56 + - description: RX Configuration Registers region 57 + - description: RX Flow Configuration Registers region 53 58 54 59 reg-names: 60 + minItems: 4 55 61 items: 56 62 - const: gcfg 57 63 - const: rchanrt 58 64 - const: tchanrt 59 65 - const: ringrt 66 + - const: ring 67 + - const: tchan 68 + - const: rchan 69 + - const: rflow 60 70 61 71 msi-parent: true 62 72 ··· 150 140 reg = <0x0 0x485c0000 0x0 0x100>, 151 141 <0x0 0x4a800000 0x0 0x20000>, 152 142 <0x0 0x4aa00000 0x0 0x40000>, 153 - <0x0 0x4b800000 0x0 0x400000>; 154 - reg-names = "gcfg", "rchanrt", "tchanrt", "ringrt"; 143 + <0x0 0x4b800000 0x0 0x400000>, 144 + <0x0 0x485e0000 0x0 0x20000>, 145 + <0x0 0x484a0000 0x0 0x4000>, 146 + <0x0 0x484c0000 0x0 0x2000>, 147 + <0x0 0x48430000 0x0 0x4000>; 148 + reg-names = "gcfg", "rchanrt", "tchanrt", "ringrt", 149 + "ring", "tchan", "rchan", "rflow"; 150 + 155 151 msi-parent = <&inta_main_dmss>; 156 152 #dma-cells = <2>; 157 153