diff options
| author | Konrad Dybcio <konrad.dybcio@oss.qualcomm.com> | 2024-11-30 17:39:37 +0100 |
|---|---|---|
| committer | Ulf Hansson <ulf.hansson@linaro.org> | 2024-12-10 12:16:43 +0100 |
| commit | b04b981f3a842ef63e06048fafaa8d20c20334c6 (patch) | |
| tree | 9a922915790b8a29c3fba6b28652c2b3b68906da /include/linux/pm_domain.h | |
| parent | 11444fb6f2ed79f8ccaaf13e281957a2b6bbc360 (diff) | |
| download | linux-b04b981f3a842ef63e06048fafaa8d20c20334c6.tar.gz linux-b04b981f3a842ef63e06048fafaa8d20c20334c6.tar.bz2 linux-b04b981f3a842ef63e06048fafaa8d20c20334c6.zip | |
pmdomain: core: Support naming idle states
Commit 422f2d418186 ("arm64: dts: qcom: Drop undocumented domain
"idle-state-name"") brought to light the common misbelief that
idle-state-names also applies to e.g. PSCI power domain idle states.
Make that a reality, mimicking the property name used by cpuidle
states.
Signed-off-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Message-ID: <20241130-topic-idle_state_name-v1-2-d0ff67b0c8e9@oss.qualcomm.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'include/linux/pm_domain.h')
| -rw-r--r-- | include/linux/pm_domain.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/pm_domain.h b/include/linux/pm_domain.h index 45646bfcaf1a..1aab31370065 100644 --- a/include/linux/pm_domain.h +++ b/include/linux/pm_domain.h @@ -147,6 +147,7 @@ struct genpd_governor_data { }; struct genpd_power_state { + const char *name; s64 power_off_latency_ns; s64 power_on_latency_ns; s64 residency_ns; |
