Kconfig (f611af4c3bfa26fc827b8074d288a3ce686916f2) Kconfig (f2f5cf78a3336f0245a1a59e641ce98fa9503db8)
1# SPDX-License-Identifier: GPL-2.0-only
2menuconfig ARCH_AT91
3 bool "AT91/Microchip SoCs"
4 depends on ARCH_MULTI_V4T || ARCH_MULTI_V5 || ARCH_MULTI_V7 || ARM_SINGLE_ARMV7M
5 select ARM_CPU_SUSPEND if PM && ARCH_MULTI_V7
6 select COMMON_CLK_AT91
7 select GPIOLIB
8 select PINCTRL

--- 204 unchanged lines hidden (view full) ---

213 select ATMEL_AIC5_IRQ
214 select ATMEL_PM if PM
215 select ATMEL_SDRAMC
216 select MEMORY
217 select SOC_SAM_V7
218 select SRAM if PM
219
220config ATMEL_PM
1# SPDX-License-Identifier: GPL-2.0-only
2menuconfig ARCH_AT91
3 bool "AT91/Microchip SoCs"
4 depends on ARCH_MULTI_V4T || ARCH_MULTI_V5 || ARCH_MULTI_V7 || ARM_SINGLE_ARMV7M
5 select ARM_CPU_SUSPEND if PM && ARCH_MULTI_V7
6 select COMMON_CLK_AT91
7 select GPIOLIB
8 select PINCTRL

--- 204 unchanged lines hidden (view full) ---

213 select ATMEL_AIC5_IRQ
214 select ATMEL_PM if PM
215 select ATMEL_SDRAMC
216 select MEMORY
217 select SOC_SAM_V7
218 select SRAM if PM
219
220config ATMEL_PM
221 bool
221 bool "Atmel PM support"
222
222
223config ATMEL_SECURE_PM
224 bool "Atmel Secure PM support"
225 depends on SOC_SAMA5D2 && ATMEL_PM
226 select ARM_PSCI
227 help
228 When running under a TEE, the suspend mode must be requested to be set
229 at TEE level. When enable, this option will use secure monitor calls
230 to set the suspend level. PSCI is then used to enter suspend.
231
223config SOC_SAMA7
224 bool
225 select ARM_GIC
226 select ATMEL_PM if PM
227 select ATMEL_SDRAMC
228 select MEMORY
229 select SOC_SAM_V7
230 select SRAM if PM
231endif
232config SOC_SAMA7
233 bool
234 select ARM_GIC
235 select ATMEL_PM if PM
236 select ATMEL_SDRAMC
237 select MEMORY
238 select SOC_SAM_V7
239 select SRAM if PM
240endif