Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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

authored by

Jianxin Pan and committed by
Kevin Hilman
fe98d0ff bb6d3fb3

+4
+2
drivers/firmware/meson/meson_sm.c
··· 44 44 CMD(SM_EFUSE_WRITE, 0x82000031), 45 45 CMD(SM_EFUSE_USER_MAX, 0x82000033), 46 46 CMD(SM_GET_CHIP_ID, 0x82000044), 47 + CMD(SM_A1_PWRC_SET, 0x82000093), 48 + CMD(SM_A1_PWRC_GET, 0x82000095), 47 49 { /* sentinel */ }, 48 50 }, 49 51 };
+2
include/linux/firmware/meson/meson_sm.h
··· 12 12 SM_EFUSE_WRITE, 13 13 SM_EFUSE_USER_MAX, 14 14 SM_GET_CHIP_ID, 15 + SM_A1_PWRC_SET, 16 + SM_A1_PWRC_GET, 15 17 }; 16 18 17 19 struct meson_sm_firmware;