Skip to content

Commit 0bb4644

Browse files
mRrvzsuperna9999
authored andcommitted
drivers: meson: secure-pwrc: always enable DMA domain
Starting from commit e45f243 ("firmware: meson_sm: populate platform devices from sm device tree data") pwrc is probed successfully and disables unused pwr domains. By A1 SoC family design, any TEE requires DMA pwr domain always enabled. Fixes: b3dde50 ("soc: amlogic: Add support for Secure power domains controller") Signed-off-by: Alexey Romanov <avromanov@sberdevices.ru> Acked-by: Neil Armstrong <neil.armstrong@linaro.org> Link: https://lore.kernel.org/r/20230610090414.90529-1-avromanov@sberdevices.ru [narmstrong: added fixes tag] Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
1 parent ac9a786 commit 0bb4644

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/soc/amlogic/meson-secure-pwrc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ static struct meson_secure_pwrc_domain_desc a1_pwrc_domains[] = {
105105
SEC_PD(ACODEC, 0),
106106
SEC_PD(AUDIO, 0),
107107
SEC_PD(OTP, 0),
108-
SEC_PD(DMA, 0),
108+
SEC_PD(DMA, GENPD_FLAG_ALWAYS_ON | GENPD_FLAG_IRQ_SAFE),
109109
SEC_PD(SD_EMMC, 0),
110110
SEC_PD(RAMA, 0),
111111
/* SRAMB is used as ATF runtime memory, and should be always on */

0 commit comments

Comments
 (0)