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
5353 * driver must then comply with the so called,
5454 * last-man-standing algorithm, for the CPUs in the
5555 * PM domain.
56+ *
57+ * GENPD_FLAG_RPM_ALWAYS_ON: Instructs genpd to always keep the PM domain
58+ * powered on except for system suspend.
5659 */
5760 #define GENPD_FLAG_PM_CLK (1U << 0)
5861 #define GENPD_FLAG_IRQ_SAFE (1U << 1)
5962 #define GENPD_FLAG_ALWAYS_ON (1U << 2)
6063 #define GENPD_FLAG_ACTIVE_WAKEUP (1U << 3)
6164 #define GENPD_FLAG_CPU_DOMAIN (1U << 4)
65+#define GENPD_FLAG_RPM_ALWAYS_ON (1U << 5)
6266
6367 enum gpd_status {
6468 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