summaryrefslogtreecommitdiffstats
path: root/drivers/soc/samsung/pm_domains.c
diff options
context:
space:
mode:
authorSylwester Nawrocki <s.nawrocki@samsung.com>2018-03-06 17:37:16 +0100
committerSylwester Nawrocki <s.nawrocki@samsung.com>2018-03-06 17:37:16 +0100
commit9fb1636c213541fbb3cd0a4491891bd5c5399406 (patch)
treea8f0da7fc39b8703237f50d00813157ec47f9b7c /drivers/soc/samsung/pm_domains.c
parentclk: samsung: Add compile time PLL rate validators (diff)
parentsoc: samsung: pm_domains: Add blacklisting clock handling (diff)
downloadlinux-9fb1636c213541fbb3cd0a4491891bd5c5399406.tar.xz
linux-9fb1636c213541fbb3cd0a4491891bd5c5399406.zip
Merge branch 'for-v4.17/power_domains' into for-v4.17/next
Diffstat (limited to 'drivers/soc/samsung/pm_domains.c')
-rw-r--r--drivers/soc/samsung/pm_domains.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/soc/samsung/pm_domains.c b/drivers/soc/samsung/pm_domains.c
index b6a436594a19..cef30bdf19b1 100644
--- a/drivers/soc/samsung/pm_domains.c
+++ b/drivers/soc/samsung/pm_domains.c
@@ -147,6 +147,9 @@ static __init const char *exynos_get_domain_name(struct device_node *node)
return kstrdup_const(name, GFP_KERNEL);
}
+static const char *soc_force_no_clk[] = {
+};
+
static __init int exynos4_pm_init_power_domain(void)
{
struct device_node *np;
@@ -183,6 +186,11 @@ static __init int exynos4_pm_init_power_domain(void)
pd->pd.power_on = exynos_pd_power_on;
pd->local_pwr_cfg = pm_domain_cfg->local_pwr_cfg;
+ for (i = 0; i < ARRAY_SIZE(soc_force_no_clk); i++)
+ if (of_find_compatible_node(NULL, NULL,
+ soc_force_no_clk[i]))
+ goto no_clk;
+
for (i = 0; i < MAX_CLK_PER_DOMAIN; i++) {
char clk_name[8];