aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/mach-ux500/pm/Kconfig
blob: b76a91299ed51fac9e8240194e0f5bfa34017160 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
config UX500_CPUFREQ
	tristate "CPUFreq support"
	depends on (UX500_SOC_DB8500 || UX500_SOC_DB5500) && CPU_FREQ && PM
	default y
	help
	  Add support for CPU Frequency scaling for Ux500 SOCs.
	  ARM power domains operating points can be set
	  dynamically. It depends on CPUfreq and PM subsystem.

config U8500_CPUIDLE
	tristate "CPUIdle support"
	depends on (UX500_SOC_DB8500 || UX500_SOC_DB5500) && CPU_IDLE && !RTC_DRV_PL031 && PM
	default y
	select GENERIC_CLOCKEVENTS_BROADCAST
	select UX500_CONTEXT
	help
	  Add support for CPUIdle for U8500.

config U8500_CPUIDLE_DEEPEST_STATE
	int "Deepest sleep state"
	default 4 if UX500_SOC_DB8500
	default 1 if UX500_SOC_DB5500
	depends on U8500_CPUIDLE
	help
	  Set deepest sleep state. See the cstate struct in cpuidle.c.
	  Default is ApSleep.

config U8500_CPUIDLE_APDEEPIDLE
	bool "CPUIdle ApDeepIdle"
	depends on U8500_CPUIDLE
	help
	  Adds the power level ApDeepIdle, where APE is powered on while
	  ARM is powered off. Default n.

config U8500_CPUIDLE_DEBUG
	bool "CPUIdle debug"
	depends on U8500_CPUIDLE && DEBUG_FS
	help
	  Add debugging support for CPUIdle for U8500.

config UX500_SUSPEND
	bool "Suspend to mem and standby support"
	depends on (UX500_SOC_DB8500 || UX500_SOC_DB5500) && PM
	select UX500_CONTEXT
	help
	  Add support for suspend.

config UX500_SUSPEND_STANDBY
	bool "Suspend Standby goes to ApSleep"
	depends on UX500_SUSPEND
	help
	  If yes, echo standby > /sys/power/state puts the system into ApSleep.

config UX500_SUSPEND_MEM
	bool "Suspend Mem goes to ApDeepSleep"
	depends on UX500_SUSPEND && UX500_SOC_DB8500
	help
	  If yes, echo mem > /sys/power/state puts the system into ApDeepSleep else
	  it will do the same as echo standby > /sys/power/state.

config UX500_SUSPEND_DBG
	bool "Suspend debug"
	depends on UX500_SUSPEND && DEBUG_FS
	help
	  Add debug support for suspend.

config UX500_SUSPEND_DBG_WAKE_ON_UART
	bool "Suspend wakes on console UART"
	depends on UX500_SUSPEND_DBG
	help
	  Wake up on uart interrupts. Makes it possible for the console to wake up system.

config UX500_CONSOLE_UART_GPIO_PIN
	int "The pin number of the console UART GPIO pin"
	default 29
	depends on UX500_SUSPEND_DBG_WAKE_ON_UART || U8500_CPUIDLE_DEBUG
	help
	  GPIO pin number of the GPIO pin connected to the console UART RX line.

config UX500_CONTEXT
	bool "Context save/restore support for UX500"
	depends on (UX500_SOC_DB8500 || UX500_SOC_DB5500) && PM
	help
	  This is needed for ApSleep and deeper sleep states.