This is for power domains which can only be powered off for suspend but not as part of runtime PM.
Showing the changes to include/linux (1 of 2 files). Show all
Unified · Split
| @@ -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 the | 54 | * 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 | ||
| 63 | enum gpd_status { | 67 | enum gpd_status { |
| 64 | GPD_STATE_ACTIVE = 0, /* PM domain is active */ | 68 | GPD_STATE_ACTIVE = 0, /* PM domain is active */ |