History

PM / Domains: Add GENPD_FLAG_RPM_ALWAYS_ON flag

This is for power domains which can only be powered off for suspend but not as part of runtime PM.

Leonard Crestez committed 7 years ago

Commit ed61e181 parent 8f5e8232 files · +10 −2Browse files

Showing the changes to include/linux (1 of 2 files). Show all

Unified · Split

include/linux/pm_domain.h+4−0
@@ -53,12 +53,16 @@ · 52 unmodified lines
53 * driver must then comply with the so called,53 * driver must then comply with the so called,
54 * last-man-standing algorithm, for the CPUs in the54 * last-man-standing algorithm, for the CPUs in the
55 * PM domain.55 * PM domain.
56 *
57 * GENPD_FLAG_RPM_ALWAYS_ON: Instructs genpd to always keep the PM domain
58 * powered on except for system suspend.
56 */59 */
57#define GENPD_FLAG_PM_CLK (1U << 0)60#define GENPD_FLAG_PM_CLK (1U << 0)
58#define GENPD_FLAG_IRQ_SAFE (1U << 1)61#define GENPD_FLAG_IRQ_SAFE (1U << 1)
59#define GENPD_FLAG_ALWAYS_ON (1U << 2)62#define GENPD_FLAG_ALWAYS_ON (1U << 2)
60#define GENPD_FLAG_ACTIVE_WAKEUP (1U << 3)63#define GENPD_FLAG_ACTIVE_WAKEUP (1U << 3)
61#define GENPD_FLAG_CPU_DOMAIN (1U << 4)64#define GENPD_FLAG_CPU_DOMAIN (1U << 4)
65#define GENPD_FLAG_RPM_ALWAYS_ON (1U << 5)
62 66
63enum gpd_status {67enum gpd_status {
64 GPD_STATE_ACTIVE = 0, /* PM domain is active */68 GPD_STATE_ACTIVE = 0, /* PM domain is active */

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t