1menu "Power Domain Support"
2
3config POWER_DOMAIN
4	bool "Enable power domain support using Driver Model"
5	depends on DM && OF_CONTROL
6	help
7	  Enable support for the power domain driver class. Many SoCs allow
8	  power to be applied to or removed from portions of the SoC (power
9	  domains). This may be used to save power. This API provides the
10	  means to control such power management hardware.
11
12config APPLE_PMGR_POWER_DOMAIN
13	bool "Enable the Apple PMGR power domain driver"
14	depends on POWER_DOMAIN
15	default y if ARCH_APPLE
16	help
17	  Enable support for manipulating power domains on Apple SoCs.
18	  This driver is needed to power on parts of the SoC that have
19	  not been powered on by previous boot stages.
20
21config AGILEX5_PMGR_POWER_DOMAIN
22	bool "Enable the Agilex5 PMGR power domain driver"
23	depends on SPL_POWER_DOMAIN
24	help
25	  Enable support for power gating peripherals' SRAM specified in
26	  the handoff data values obtained from the bitstream to reduce
27	  power consumption.
28
29config BCM6328_POWER_DOMAIN
30	bool "Enable the BCM6328 power domain driver"
31	depends on POWER_DOMAIN && ARCH_BMIPS
32	help
33	  Enable support for manipulating BCM6345 power domains via MMIO
34	  mapped registers.
35
36config IMX8_POWER_DOMAIN
37	bool "Enable i.MX8 power domain driver"
38        depends on ARCH_IMX8
39        help
40          Enable support for manipulating NXP i.MX8 on-SoC power domains via IPC
41          requests to the SCU.
42
43config IMX8M_POWER_DOMAIN
44	bool "Enable i.MX8M power domain driver"
45	depends on POWER_DOMAIN && ARCH_IMX8M
46	select CLK
47	help
48	  Enable support for manipulating NXP i.MX8M on-SoC power domains via
49	  requests to the ATF.
50
51config IMX8MP_HSIOMIX_BLKCTRL
52	bool "Enable i.MX8MP HSIOMIX domain driver"
53	depends on POWER_DOMAIN && IMX8MP
54	select CLK
55	help
56	  Enable support for manipulating NXP i.MX8MP on-SoC HSIOMIX block controller.
57
58config IMX8MP_MEDIAMIX_BLKCTRL
59	bool "Enable i.MX8MP MEDIAMIX domain driver"
60	depends on POWER_DOMAIN && IMX8MP
61	select CLK
62	help
63	  Enable support for manipulating NXP i.MX8MP on-SoC MEDIAMIX block controller.
64
65config MTK_POWER_DOMAIN
66	bool "Enable the MediaTek power domain driver"
67	depends on POWER_DOMAIN && ARCH_MEDIATEK
68	help
69	  Enable support for manipulating MediaTek power domains via MMIO
70	  mapped registers.
71
72config MESON_GX_VPU_POWER_DOMAIN
73	bool "Enable Amlogic Meson GX VPU power domain driver"
74	depends on POWER_DOMAIN && ARCH_MESON
75	help
76	  Enable support for manipulating Amlogic Meson GX Video Processing
77	  Unit power domain.
78
79config MESON_EE_POWER_DOMAIN
80	bool "Enable Amlogic Everything-Else power domain driver"
81	depends on POWER_DOMAIN && ARCH_MESON
82	help
83	  Enable support for manipulating Amlogic Meson Everything-Else power
84	  domains.
85
86config MESON_SECURE_POWER_DOMAIN
87	bool "Enable Amlogic Secure power domain driver"
88	depends on POWER_DOMAIN && ARCH_MESON && MESON_A1
89	help
90	  Enable support for manipulating Amlogic Meson Secure power domains.
91	  Support for Amlogic A1 series.
92
93config SANDBOX_POWER_DOMAIN
94	bool "Enable the sandbox power domain test driver"
95	depends on POWER_DOMAIN && SANDBOX
96	help
97	  Enable support for a test power domain driver implementation, which
98	  simply accepts requests to power on/off various HW modules without
99	  actually doing anything beyond a little error checking.
100
101config SCMI_POWER_DOMAIN
102	bool "Enable SCMI power domain driver"
103	depends on POWER_DOMAIN && SCMI_FIRMWARE
104	help
105	  Enable power domain implementation based on SCMI power domain
106	  management protocol.
107
108config TEGRA186_POWER_DOMAIN
109	bool "Enable Tegra186 BPMP-based power domain driver"
110	depends on TEGRA186_BPMP
111	help
112	  Enable support for manipulating Tegra's on-SoC power domains via IPC
113	  requests to the BPMP (Boot and Power Management Processor).
114
115config TI_SCI_POWER_DOMAIN
116	bool "Enable the TI SCI-based power domain driver"
117	depends on POWER_DOMAIN && TI_SCI_PROTOCOL
118	help
119	  Generic power domain implementation for TI devices implementing the
120	  TI SCI protocol.
121
122config TI_POWER_DOMAIN
123	bool "Enable the TI K3 Power domain driver"
124	depends on POWER_DOMAIN && ARCH_K3
125	help
126	  Generic power domain implementation for TI K3 devices.
127
128config ZYNQMP_POWER_DOMAIN
129	bool "Enable the Xilinx ZynqMP Power domain driver"
130	depends on POWER_DOMAIN && ZYNQMP_FIRMWARE
131	help
132	  Generic power domain implementation for Xilinx ZynqMP devices.
133	  The driver should be enabled when system starts in very minimal
134	  configuration and it is extended at run time. Then enabling
135	  the driver will ensure that PMUFW enable access to requested IP.
136
137endmenu
138