hc
2024-01-03 2f7c68cb55ecb7331f2381deb497c27155f32faf
kernel/Documentation/devicetree/bindings/dma/ti-edma.txt
....@@ -42,6 +42,11 @@
4242 - ti,edma-reserved-slot-ranges: PaRAM slot ranges which should not be used by
4343 the driver, they are allocated to be used by for example the
4444 DSP. See example.
45
+- dma-channel-mask: Mask of usable channels.
46
+ Single uint32 for EDMA with 32 channels, array of two uint32 for
47
+ EDMA with 64 channels. See example and
48
+ Documentation/devicetree/bindings/dma/dma-common.yaml
49
+
4550
4651 ------------------------------------------------------------------------------
4752 eDMA3 Transfer Controller
....@@ -91,6 +96,9 @@
9196 ti,edma-memcpy-channels = <20 21>;
9297 /* The following PaRAM slots are reserved: 35-44 and 100-109 */
9398 ti,edma-reserved-slot-ranges = <35 10>, <100 10>;
99
+ /* The following channels are reserved: 35-44 */
100
+ dma-channel-mask = <0xffffffff /* Channel 0-31 */
101
+ 0xffffe007>; /* Channel 32-63 */
94102 };
95103
96104 edma_tptc0: tptc@49800000 {
....@@ -172,7 +180,7 @@
172180 };
173181
174182 edma1_tptc1: tptc@27b8000 {
175
- compatible = "ti, k2g-edma3-tptc", "ti,edma3-tptc";
183
+ compatible = "ti,k2g-edma3-tptc", "ti,edma3-tptc";
176184 reg = <0x027b8000 0x400>;
177185 power-domains = <&k2g_pds 0x4f>;
178186 };