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

dmaengine: ti: k3-psil: add additional TX threads for j7200

Add matching PSI-L threads mapping for transmission DMA channels
on the J7200 platform.

Signed-off-by: Matt Ranostay <mranostay@ti.com>
Link: https://lore.kernel.org/r/20220919205931.8397-3-mranostay@ti.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>

authored by

Matt Ranostay and committed by
Vinod Koul
5cfeaf7c 6aed75d7

+67
+67
drivers/dma/ti/k3-psil-j7200.c
··· 143 143 144 144 /* PSI-L destination thread IDs, used for TX (DMA_MEM_TO_DEV) */ 145 145 static struct psil_ep j7200_dst_ep_map[] = { 146 + /* PDMA_MCASP - McASP0-2 */ 147 + PSIL_PDMA_MCASP(0xc400), 148 + PSIL_PDMA_MCASP(0xc401), 149 + PSIL_PDMA_MCASP(0xc402), 150 + /* PDMA_SPI_G0 - SPI0-3 */ 151 + PSIL_PDMA_XY_PKT(0xc600), 152 + PSIL_PDMA_XY_PKT(0xc601), 153 + PSIL_PDMA_XY_PKT(0xc602), 154 + PSIL_PDMA_XY_PKT(0xc603), 155 + PSIL_PDMA_XY_PKT(0xc604), 156 + PSIL_PDMA_XY_PKT(0xc605), 157 + PSIL_PDMA_XY_PKT(0xc606), 158 + PSIL_PDMA_XY_PKT(0xc607), 159 + PSIL_PDMA_XY_PKT(0xc608), 160 + PSIL_PDMA_XY_PKT(0xc609), 161 + PSIL_PDMA_XY_PKT(0xc60a), 162 + PSIL_PDMA_XY_PKT(0xc60b), 163 + PSIL_PDMA_XY_PKT(0xc60c), 164 + PSIL_PDMA_XY_PKT(0xc60d), 165 + PSIL_PDMA_XY_PKT(0xc60e), 166 + PSIL_PDMA_XY_PKT(0xc60f), 167 + /* PDMA_SPI_G1 - SPI4-7 */ 168 + PSIL_PDMA_XY_PKT(0xc610), 169 + PSIL_PDMA_XY_PKT(0xc611), 170 + PSIL_PDMA_XY_PKT(0xc612), 171 + PSIL_PDMA_XY_PKT(0xc613), 172 + PSIL_PDMA_XY_PKT(0xc614), 173 + PSIL_PDMA_XY_PKT(0xc615), 174 + PSIL_PDMA_XY_PKT(0xc616), 175 + PSIL_PDMA_XY_PKT(0xc617), 176 + PSIL_PDMA_XY_PKT(0xc618), 177 + PSIL_PDMA_XY_PKT(0xc619), 178 + PSIL_PDMA_XY_PKT(0xc61a), 179 + PSIL_PDMA_XY_PKT(0xc61b), 180 + PSIL_PDMA_XY_PKT(0xc61c), 181 + PSIL_PDMA_XY_PKT(0xc61d), 182 + PSIL_PDMA_XY_PKT(0xc61e), 183 + PSIL_PDMA_XY_PKT(0xc61f), 184 + /* PDMA_USART_G0 - UART0-1 */ 185 + PSIL_PDMA_XY_PKT(0xc700), 186 + PSIL_PDMA_XY_PKT(0xc701), 187 + /* PDMA_USART_G1 - UART2-3 */ 188 + PSIL_PDMA_XY_PKT(0xc702), 189 + PSIL_PDMA_XY_PKT(0xc703), 190 + /* PDMA_USART_G2 - UART4-9 */ 191 + PSIL_PDMA_XY_PKT(0xc704), 192 + PSIL_PDMA_XY_PKT(0xc705), 193 + PSIL_PDMA_XY_PKT(0xc706), 194 + PSIL_PDMA_XY_PKT(0xc707), 195 + PSIL_PDMA_XY_PKT(0xc708), 196 + PSIL_PDMA_XY_PKT(0xc709), 146 197 /* CPSW5 */ 147 198 PSIL_ETHERNET(0xca00), 148 199 PSIL_ETHERNET(0xca01), ··· 212 161 PSIL_ETHERNET(0xf005), 213 162 PSIL_ETHERNET(0xf006), 214 163 PSIL_ETHERNET(0xf007), 164 + /* MCU_PDMA_MISC_G0 - SPI0 */ 165 + PSIL_PDMA_XY_PKT(0xf100), 166 + PSIL_PDMA_XY_PKT(0xf101), 167 + PSIL_PDMA_XY_PKT(0xf102), 168 + PSIL_PDMA_XY_PKT(0xf103), 169 + /* MCU_PDMA_MISC_G1 - SPI1-2 */ 170 + PSIL_PDMA_XY_PKT(0xf200), 171 + PSIL_PDMA_XY_PKT(0xf201), 172 + PSIL_PDMA_XY_PKT(0xf202), 173 + PSIL_PDMA_XY_PKT(0xf203), 174 + PSIL_PDMA_XY_PKT(0xf204), 175 + PSIL_PDMA_XY_PKT(0xf205), 176 + PSIL_PDMA_XY_PKT(0xf206), 177 + PSIL_PDMA_XY_PKT(0xf207), 178 + /* MCU_PDMA_MISC_G2 - UART0 */ 179 + PSIL_PDMA_XY_PKT(0xf300), 215 180 /* SA2UL */ 216 181 PSIL_SA2UL(0xf500, 1), 217 182 PSIL_SA2UL(0xf501, 1),