Part Number: DRA744
we have enabled early late attach feature. Included below changes as part of this
Subject: [PATCH 2/4] arm: mach-omap2: Remove edma related nodes from hwmod
init sequence
When doing late attach, kernel should not reset EDMA
EDMA is setup by M4 and thus omap_hwmod needn't perform reset/setup.
Nodes 'dra7xx_l3_main_1__tpcc', 'dra7xx_l3_main_1__tptc0' and
'dra7xx_l3_main_1__tptc1' are thus disabled.
Note that this breaks kernel boot if not late attached.
Signed-off-by: Nikhil Devshatwar <nikhil.nd@ti.com>
---
arch/arm/mach-omap2/omap_hwmod_7xx_data.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/arch/arm/mach-omap2/omap_hwmod_7xx_data.c b/arch/arm/mach-omap2/omap_hwmod_7xx_data.c
index 26fcb1e..ff11cb2 100644
--- a/arch/arm/mach-omap2/omap_hwmod_7xx_data.c
+++ b/arch/arm/mach-omap2/omap_hwmod_7xx_data.c
@@ -4637,9 +4637,6 @@ static struct omap_hwmod_ocp_if *dra7xx_hwmod_ocp_ifs[] __initdata = {
&dra7xx_l4_per2__mcasp8,
&dra7xx_gmac__mdio,
&dra7xx_l4_cfg__dma_system,
- &dra7xx_l3_main_1__tpcc,
- &dra7xx_l3_main_1__tptc0,
- &dra7xx_l3_main_1__tptc1,
With the changes early boot is working fine, but we are missing pcm nodes and observed DMA failure.
[ 4.332845] davinci-mcasp 48464000.mcasp: Can't verify DMA configuration (-19)
[ 4.332863] davinci-mcasp 48464000.mcasp: No DMA controller found (-19)
Suspecting above changes.
In our use case we are early loading M4 - IPU1 only and IPU2 will be loaded by linux.
So we would like to know which EDMA channel needs to be late attached in our case for early loading of IPU1 alone.