]> git.baikalelectronics.ru Git - kernel.git/commitdiff
dmaengine: ti: k3-udma: Update rchan_oes_offset for am654 SYSFW ABI 3.0
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Mon, 31 Aug 2020 09:10:19 +0000 (12:10 +0300)
committerVinod Koul <vkoul@kernel.org>
Thu, 3 Sep 2020 07:23:53 +0000 (12:53 +0530)
SYSFW ABI 3.0 has changed the rchan_oes_offset value for am654 to support
SR2.

Since the kernel now needs SYSFW API 3.0 to work because the merged irqchip
update, we need to also update the am654 rchan_oes_offset.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Link: https://lore.kernel.org/r/20200831091019.25273-1-peter.ujfalusi@ti.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/ti/k3-udma.c

index 30cb514cee545def5bd584d9289c0a77e5014800..d86dba0fd8e6b6cc2da03fe69d524308dbc9b446 100644 (file)
@@ -3101,14 +3101,14 @@ static struct udma_match_data am654_main_data = {
        .psil_base = 0x1000,
        .enable_memcpy_support = true,
        .statictr_z_mask = GENMASK(11, 0),
-       .rchan_oes_offset = 0x2000,
+       .rchan_oes_offset = 0x200,
 };
 
 static struct udma_match_data am654_mcu_data = {
        .psil_base = 0x6000,
        .enable_memcpy_support = false,
        .statictr_z_mask = GENMASK(11, 0),
-       .rchan_oes_offset = 0x2000,
+       .rchan_oes_offset = 0x200,
 };
 
 static struct udma_match_data j721e_main_data = {