]> Git Repo - linux.git/commitdiff
pmdomain: amlogic: Fix mask for the second NNA mem PD domain
authorTomeu Vizoso <[email protected]>
Mon, 16 Oct 2023 08:02:04 +0000 (10:02 +0200)
committerUlf Hansson <[email protected]>
Fri, 27 Oct 2023 09:00:08 +0000 (11:00 +0200)
Without this change, the NPU hangs when the 8th NN core is used.

It matches what the out-of-tree driver does.

Signed-off-by: Tomeu Vizoso <[email protected]>
Fixes: 9a217b7e8953 ("soc: amlogic: meson-pwrc: Add NNA power domain for A311D")
Acked-by: Neil Armstrong <[email protected]>
Cc: [email protected]
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Ulf Hansson <[email protected]>
drivers/pmdomain/amlogic/meson-ee-pwrc.c

index cfb796d40d9d267c1d7e8644320b5614c66e8e9b..0dd71cd814c52fe42636297322ad9763d0a44f46 100644 (file)
@@ -228,7 +228,7 @@ static struct meson_ee_pwrc_mem_domain sm1_pwrc_mem_audio[] = {
 
 static struct meson_ee_pwrc_mem_domain g12a_pwrc_mem_nna[] = {
        { G12A_HHI_NANOQ_MEM_PD_REG0, GENMASK(31, 0) },
-       { G12A_HHI_NANOQ_MEM_PD_REG1, GENMASK(23, 0) },
+       { G12A_HHI_NANOQ_MEM_PD_REG1, GENMASK(31, 0) },
 };
 
 #define VPU_PD(__name, __top_pd, __mem, __is_pwr_off, __resets, __clks)        \
This page took 0.055043 seconds and 4 git commands to generate.