diff options
author | Jianxin Pan <jianxin.pan@amlogic.com> | 2020-01-15 12:30:28 +0100 |
---|---|---|
committer | Kevin Hilman <khilman@baylibre.com> | 2020-02-14 20:37:34 +0100 |
commit | fe98d0ff5d5c43ee179e801275bb37641d398c6e (patch) | |
tree | ad63b4c31bfc57aca96c28dc8bad32b5da78c886 /drivers/firmware/meson | |
parent | Linux 5.6-rc1 (diff) | |
download | linux-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.c | 2 |
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 */ }, }, }; |