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 j721e

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

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

authored by

Matt Ranostay and committed by
Vinod Koul
693e9c26 5cfeaf7c

+79
+79
drivers/dma/ti/k3-psil-j721e.c
··· 266 266 PSIL_ETHERNET(0xc205), 267 267 PSIL_ETHERNET(0xc206), 268 268 PSIL_ETHERNET(0xc207), 269 + /* PDMA6 (PSIL_PDMA_MCASP_G0) - McASP0-2 */ 270 + PSIL_PDMA_MCASP(0xc400), 271 + PSIL_PDMA_MCASP(0xc401), 272 + PSIL_PDMA_MCASP(0xc402), 273 + /* PDMA7 (PSIL_PDMA_MCASP_G1) - McASP3-11 */ 274 + PSIL_PDMA_MCASP(0xc500), 275 + PSIL_PDMA_MCASP(0xc501), 276 + PSIL_PDMA_MCASP(0xc502), 277 + PSIL_PDMA_MCASP(0xc503), 278 + PSIL_PDMA_MCASP(0xc504), 279 + PSIL_PDMA_MCASP(0xc505), 280 + PSIL_PDMA_MCASP(0xc506), 281 + PSIL_PDMA_MCASP(0xc507), 282 + PSIL_PDMA_MCASP(0xc508), 283 + /* PDMA8 (PDMA_MISC_G0) - SPI0-1 */ 284 + PSIL_PDMA_XY_PKT(0xc600), 285 + PSIL_PDMA_XY_PKT(0xc601), 286 + PSIL_PDMA_XY_PKT(0xc602), 287 + PSIL_PDMA_XY_PKT(0xc603), 288 + PSIL_PDMA_XY_PKT(0xc604), 289 + PSIL_PDMA_XY_PKT(0xc605), 290 + PSIL_PDMA_XY_PKT(0xc606), 291 + PSIL_PDMA_XY_PKT(0xc607), 292 + /* PDMA9 (PDMA_MISC_G1) - SPI2-3 */ 293 + PSIL_PDMA_XY_PKT(0xc60c), 294 + PSIL_PDMA_XY_PKT(0xc60d), 295 + PSIL_PDMA_XY_PKT(0xc60e), 296 + PSIL_PDMA_XY_PKT(0xc60f), 297 + PSIL_PDMA_XY_PKT(0xc610), 298 + PSIL_PDMA_XY_PKT(0xc611), 299 + PSIL_PDMA_XY_PKT(0xc612), 300 + PSIL_PDMA_XY_PKT(0xc613), 301 + /* PDMA10 (PDMA_MISC_G2) - SPI4-5 */ 302 + PSIL_PDMA_XY_PKT(0xc618), 303 + PSIL_PDMA_XY_PKT(0xc619), 304 + PSIL_PDMA_XY_PKT(0xc61a), 305 + PSIL_PDMA_XY_PKT(0xc61b), 306 + PSIL_PDMA_XY_PKT(0xc61c), 307 + PSIL_PDMA_XY_PKT(0xc61d), 308 + PSIL_PDMA_XY_PKT(0xc61e), 309 + PSIL_PDMA_XY_PKT(0xc61f), 310 + /* PDMA11 (PDMA_MISC_G3) */ 311 + PSIL_PDMA_XY_PKT(0xc624), 312 + PSIL_PDMA_XY_PKT(0xc625), 313 + PSIL_PDMA_XY_PKT(0xc626), 314 + PSIL_PDMA_XY_PKT(0xc627), 315 + PSIL_PDMA_XY_PKT(0xc628), 316 + PSIL_PDMA_XY_PKT(0xc629), 317 + PSIL_PDMA_XY_PKT(0xc630), 318 + PSIL_PDMA_XY_PKT(0xc63a), 319 + /* PDMA13 (PDMA_USART_G0) - UART0-1 */ 320 + PSIL_PDMA_XY_PKT(0xc700), 321 + PSIL_PDMA_XY_PKT(0xc701), 322 + /* PDMA14 (PDMA_USART_G1) - UART2-3 */ 323 + PSIL_PDMA_XY_PKT(0xc702), 324 + PSIL_PDMA_XY_PKT(0xc703), 325 + /* PDMA15 (PDMA_USART_G2) - UART4-9 */ 326 + PSIL_PDMA_XY_PKT(0xc704), 327 + PSIL_PDMA_XY_PKT(0xc705), 328 + PSIL_PDMA_XY_PKT(0xc706), 329 + PSIL_PDMA_XY_PKT(0xc707), 330 + PSIL_PDMA_XY_PKT(0xc708), 331 + PSIL_PDMA_XY_PKT(0xc709), 269 332 /* CPSW9 */ 270 333 PSIL_ETHERNET(0xca00), 271 334 PSIL_ETHERNET(0xca01), ··· 347 284 PSIL_ETHERNET(0xf005), 348 285 PSIL_ETHERNET(0xf006), 349 286 PSIL_ETHERNET(0xf007), 287 + /* MCU_PDMA0 (MCU_PDMA_MISC_G0) - SPI0 */ 288 + PSIL_PDMA_XY_PKT(0xf100), 289 + PSIL_PDMA_XY_PKT(0xf101), 290 + PSIL_PDMA_XY_PKT(0xf102), 291 + PSIL_PDMA_XY_PKT(0xf103), 292 + /* MCU_PDMA1 (MCU_PDMA_MISC_G1) - SPI1-2 */ 293 + PSIL_PDMA_XY_PKT(0xf200), 294 + PSIL_PDMA_XY_PKT(0xf201), 295 + PSIL_PDMA_XY_PKT(0xf202), 296 + PSIL_PDMA_XY_PKT(0xf203), 297 + PSIL_PDMA_XY_PKT(0xf204), 298 + PSIL_PDMA_XY_PKT(0xf205), 299 + PSIL_PDMA_XY_PKT(0xf206), 300 + PSIL_PDMA_XY_PKT(0xf207), 301 + /* MCU_PDMA2 (MCU_PDMA_MISC_G2) - UART0 */ 302 + PSIL_PDMA_XY_PKT(0xf300), 350 303 /* SA2UL */ 351 304 PSIL_SA2UL(0xf500, 1), 352 305 PSIL_SA2UL(0xf501, 1),