summaryrefslogtreecommitdiffstats
path: root/include/pm_domain.h
diff options
context:
space:
mode:
authorAhmad Fatoum <a.fatoum@pengutronix.de>2022-09-05 09:04:48 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2022-09-13 12:07:55 +0200
commit579a72e317362ca2e1d4d9692c1b082c535203b5 (patch)
tree2c4c1d5cfc95749bb219cb4dc34a3b6a99bbcb8e /include/pm_domain.h
parent6dd56795a1e6686bb11891777070f41e12a4545a (diff)
downloadbarebox-579a72e317362ca2e1d4d9692c1b082c535203b5.tar.gz
barebox-579a72e317362ca2e1d4d9692c1b082c535203b5.tar.xz
commands: add pm_domain for listing power domains
Like the regulator command, this new pm_domain command gives an easy way for listing registered power domains and whether barebox had them activated. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.barebox.org/20220905070448.539531-1-a.fatoum@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include/pm_domain.h')
-rw-r--r--include/pm_domain.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/pm_domain.h b/include/pm_domain.h
index 48fd170007..ff1aa37511 100644
--- a/include/pm_domain.h
+++ b/include/pm_domain.h
@@ -54,6 +54,8 @@ int pm_genpd_init(struct generic_pm_domain *genpd, void *gov, bool is_off);
int of_genpd_add_provider_simple(struct device_node *np,
struct generic_pm_domain *genpd);
+void pm_genpd_print(void);
+
#else
static inline int pm_genpd_init(struct generic_pm_domain *genpd,