Skip to content

Commit 744f5e7

Browse files
Ronald Wahlvinodkoul
authored andcommitted
dmaengine: ti: k3-psil-am62: Fix SPI PDMA data
AM62x has 3 SPI channels where each channel has 4 TX and 4 RX threads. This also fixes the thread numbers. Signed-off-by: Ronald Wahl <[email protected]> Fixes: 5ac6bfb ("dmaengine: ti: k3-psil: Add AM62x PSIL and PDMA data") Reviewed-by: Jai Luthra <[email protected]> Acked-by: Peter Ujfalusi <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Vinod Koul <[email protected]>
1 parent b85ea95 commit 744f5e7

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

drivers/dma/ti/k3-psil-am62.c

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,9 @@ static struct psil_ep am62_src_ep_map[] = {
7474
PSIL_SAUL(0x7505, 21, 35, 8, 36, 0),
7575
PSIL_SAUL(0x7506, 22, 43, 8, 43, 0),
7676
PSIL_SAUL(0x7507, 23, 43, 8, 44, 0),
77-
/* PDMA_MAIN0 - SPI0-3 */
77+
/* PDMA_MAIN0 - SPI0-2 */
78+
PSIL_PDMA_XY_PKT(0x4300),
79+
PSIL_PDMA_XY_PKT(0x4301),
7880
PSIL_PDMA_XY_PKT(0x4302),
7981
PSIL_PDMA_XY_PKT(0x4303),
8082
PSIL_PDMA_XY_PKT(0x4304),
@@ -85,8 +87,6 @@ static struct psil_ep am62_src_ep_map[] = {
8587
PSIL_PDMA_XY_PKT(0x4309),
8688
PSIL_PDMA_XY_PKT(0x430a),
8789
PSIL_PDMA_XY_PKT(0x430b),
88-
PSIL_PDMA_XY_PKT(0x430c),
89-
PSIL_PDMA_XY_PKT(0x430d),
9090
/* PDMA_MAIN1 - UART0-6 */
9191
PSIL_PDMA_XY_PKT(0x4400),
9292
PSIL_PDMA_XY_PKT(0x4401),
@@ -141,7 +141,9 @@ static struct psil_ep am62_dst_ep_map[] = {
141141
/* SAUL */
142142
PSIL_SAUL(0xf500, 27, 83, 8, 83, 1),
143143
PSIL_SAUL(0xf501, 28, 91, 8, 91, 1),
144-
/* PDMA_MAIN0 - SPI0-3 */
144+
/* PDMA_MAIN0 - SPI0-2 */
145+
PSIL_PDMA_XY_PKT(0xc300),
146+
PSIL_PDMA_XY_PKT(0xc301),
145147
PSIL_PDMA_XY_PKT(0xc302),
146148
PSIL_PDMA_XY_PKT(0xc303),
147149
PSIL_PDMA_XY_PKT(0xc304),
@@ -152,8 +154,6 @@ static struct psil_ep am62_dst_ep_map[] = {
152154
PSIL_PDMA_XY_PKT(0xc309),
153155
PSIL_PDMA_XY_PKT(0xc30a),
154156
PSIL_PDMA_XY_PKT(0xc30b),
155-
PSIL_PDMA_XY_PKT(0xc30c),
156-
PSIL_PDMA_XY_PKT(0xc30d),
157157
/* PDMA_MAIN1 - UART0-6 */
158158
PSIL_PDMA_XY_PKT(0xc400),
159159
PSIL_PDMA_XY_PKT(0xc401),

0 commit comments

Comments
 (0)