summaryrefslogtreecommitdiffstats
path: root/drivers/firmware/meson
diff options
context:
space:
mode:
authorJianxin Pan <jianxin.pan@amlogic.com>2020-01-15 12:30:28 +0100
committerKevin Hilman <khilman@baylibre.com>2020-02-14 20:37:34 +0100
commitfe98d0ff5d5c43ee179e801275bb37641d398c6e (patch)
treead63b4c31bfc57aca96c28dc8bad32b5da78c886 /drivers/firmware/meson
parentLinux 5.6-rc1 (diff)
downloadlinux-fe98d0ff5d5c43ee179e801275bb37641d398c6e.tar.xz
linux-fe98d0ff5d5c43ee179e801275bb37641d398c6e.zip
firmware: meson_sm: Add secure power domain support
The Amlogic Meson A1/C1 Secure Monitor implements calls to control power domain. Signed-off-by: Jianxin Pan <jianxin.pan@amlogic.com> Signed-off-by: Kevin Hilman <khilman@baylibre.com> Link: https://lore.kernel.org/r/1579087831-94965-2-git-send-email-jianxin.pan@amlogic.com
Diffstat (limited to 'drivers/firmware/meson')
-rw-r--r--drivers/firmware/meson/meson_sm.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/firmware/meson/meson_sm.c b/drivers/firmware/meson/meson_sm.c
index 1d5b4d74f96d..2854b56f6e0b 100644
--- a/drivers/firmware/meson/meson_sm.c
+++ b/drivers/firmware/meson/meson_sm.c
@@ -44,6 +44,8 @@ static const struct meson_sm_chip gxbb_chip = {
CMD(SM_EFUSE_WRITE, 0x82000031),
CMD(SM_EFUSE_USER_MAX, 0x82000033),
CMD(SM_GET_CHIP_ID, 0x82000044),
+ CMD(SM_A1_PWRC_SET, 0x82000093),
+ CMD(SM_A1_PWRC_GET, 0x82000095),
{ /* sentinel */ },
},
};