Skip to content

Commit d0301fd

Browse files
vaishnavachathvinodkoul
authored andcommitted
dmaengine: ti: k3-udma: Add support for J722S CSI BCDMA
J722S CSI BCDMA is similar to J721S2 CSI BCDMA but there are slight integration differences like different PSIL thread base ID which is currently handled in the driver based on udma_of_match data. Add an entry to support J722S CSIRX. Signed-off-by: Vaishnav Achath <[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 7753637 commit d0301fd

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

drivers/dma/ti/k3-udma.c

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4404,6 +4404,18 @@ static struct udma_match_data j721s2_bcdma_csi_data = {
44044404
.soc_data = &j721s2_bcdma_csi_soc_data,
44054405
};
44064406

4407+
static struct udma_match_data j722s_bcdma_csi_data = {
4408+
.type = DMA_TYPE_BCDMA,
4409+
.psil_base = 0x3100,
4410+
.enable_memcpy_support = false,
4411+
.burst_size = {
4412+
TI_SCI_RM_UDMAP_CHAN_BURST_SIZE_64_BYTES, /* Normal Channels */
4413+
0, /* No H Channels */
4414+
0, /* No UH Channels */
4415+
},
4416+
.soc_data = &j721s2_bcdma_csi_soc_data,
4417+
};
4418+
44074419
static const struct of_device_id udma_of_match[] = {
44084420
{
44094421
.compatible = "ti,am654-navss-main-udmap",
@@ -4435,6 +4447,10 @@ static const struct of_device_id udma_of_match[] = {
44354447
.compatible = "ti,j721s2-dmss-bcdma-csi",
44364448
.data = &j721s2_bcdma_csi_data,
44374449
},
4450+
{
4451+
.compatible = "ti,j722s-dmss-bcdma-csi",
4452+
.data = &j722s_bcdma_csi_data,
4453+
},
44384454
{ /* Sentinel */ },
44394455
};
44404456
MODULE_DEVICE_TABLE(of, udma_of_match);

0 commit comments

Comments
 (0)