summaryrefslogtreecommitdiff
path: root/drivers/soc/amlogic/Kconfig
diff options
context:
space:
mode:
authorJianxin Pan <jianxin.pan@amlogic.com>2020-01-15 14:30:30 +0300
committerKevin Hilman <khilman@baylibre.com>2020-02-14 22:37:34 +0300
commitb3dde5013e13d44799b3477cd0bf0c9ad34fe5e9 (patch)
tree11518ea766256da6eae0fc6371bde31e8a2960f5 /drivers/soc/amlogic/Kconfig
parent165b5fb294e878f00015b7beb91cb00e36e4f8b8 (diff)
downloadlinux-b3dde5013e13d44799b3477cd0bf0c9ad34fe5e9.tar.xz
soc: amlogic: Add support for Secure power domains controller
Add support for the Amlogic Secure Power controller. In A1/C1 series, power control registers are in secure domain, and should be accessed by smc. 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-4-git-send-email-jianxin.pan@amlogic.com
Diffstat (limited to 'drivers/soc/amlogic/Kconfig')
-rw-r--r--drivers/soc/amlogic/Kconfig13
1 files changed, 13 insertions, 0 deletions
diff --git a/drivers/soc/amlogic/Kconfig b/drivers/soc/amlogic/Kconfig
index bc2c912949bd..6cb06e7b5e63 100644
--- a/drivers/soc/amlogic/Kconfig
+++ b/drivers/soc/amlogic/Kconfig
@@ -48,6 +48,19 @@ config MESON_EE_PM_DOMAINS
Say yes to expose Amlogic Meson Everything-Else Power Domains as
Generic Power Domains.
+config MESON_SECURE_PM_DOMAINS
+ bool "Amlogic Meson Secure Power Domains driver"
+ depends on ARCH_MESON || COMPILE_TEST
+ depends on PM && OF
+ depends on HAVE_ARM_SMCCC
+ default ARCH_MESON
+ select PM_GENERIC_DOMAINS
+ select PM_GENERIC_DOMAINS_OF
+ help
+ Support for the power controller on Amlogic A1/C1 series.
+ Say yes to expose Amlogic Meson Secure Power Domains as Generic
+ Power Domains.
+
config MESON_MX_SOCINFO
bool "Amlogic Meson MX SoC Information driver"
depends on ARCH_MESON || COMPILE_TEST