Commit b131329b authored by Tomeu Vizoso's avatar Tomeu Vizoso Committed by Ulf Hansson

pmdomain: amlogic: Fix mask for the second NNA mem PD domain

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: default avatarTomeu Vizoso <tomeu@tomeuvizoso.net>
Fixes: 9a217b7e ("soc: amlogic: meson-pwrc: Add NNA power domain for A311D")
Acked-by: default avatarNeil Armstrong <neil.armstrong@linaro.org>
Cc: stable@vger.kernel.org
Link: https://lore.kernel.org/r/20231016080205.41982-2-tomeu@tomeuvizoso.netSigned-off-by: default avatarUlf Hansson <ulf.hansson@linaro.org>
parent 374de39d
...@@ -228,7 +228,7 @@ static struct meson_ee_pwrc_mem_domain sm1_pwrc_mem_audio[] = { ...@@ -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[] = { 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_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) \ #define VPU_PD(__name, __top_pd, __mem, __is_pwr_off, __resets, __clks) \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment