1# SPDX-License-Identifier: GPL-2.0-only
2menu "Amlogic PM Domains"
3
4config MESON_GX_PM_DOMAINS
5	tristate "Amlogic Meson GX Power Domains driver"
6	depends on ARCH_MESON || COMPILE_TEST
7	depends on PM && OF
8	default ARCH_MESON
9	select PM_GENERIC_DOMAINS
10	select PM_GENERIC_DOMAINS_OF
11	help
12	  Say yes to expose Amlogic Meson GX Power Domains as
13	  Generic Power Domains.
14
15config MESON_EE_PM_DOMAINS
16	tristate "Amlogic Meson Everything-Else Power Domains driver"
17	depends on ARCH_MESON || COMPILE_TEST
18	depends on PM && OF
19	default ARCH_MESON
20	select PM_GENERIC_DOMAINS
21	select PM_GENERIC_DOMAINS_OF
22	help
23	  Say yes to expose Amlogic Meson Everything-Else Power Domains as
24	  Generic Power Domains.
25
26config MESON_SECURE_PM_DOMAINS
27	tristate "Amlogic Meson Secure Power Domains driver"
28	depends on (ARCH_MESON || COMPILE_TEST) && MESON_SM
29	depends on PM && OF
30	depends on HAVE_ARM_SMCCC
31	default ARCH_MESON
32	select PM_GENERIC_DOMAINS
33	select PM_GENERIC_DOMAINS_OF
34	help
35	  Support for the power controller on Amlogic A1/C1 series.
36	  Say yes to expose Amlogic Meson Secure Power Domains as Generic
37	  Power Domains.
38
39endmenu
40