diff options
Diffstat (limited to 'drivers/soc/samsung/pm_domains.c')
-rw-r--r-- | drivers/soc/samsung/pm_domains.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/drivers/soc/samsung/pm_domains.c b/drivers/soc/samsung/pm_domains.c index b6a436594a19..caf45cf7aa8e 100644 --- a/drivers/soc/samsung/pm_domains.c +++ b/drivers/soc/samsung/pm_domains.c | |||
@@ -147,6 +147,12 @@ static __init const char *exynos_get_domain_name(struct device_node *node) | |||
147 | return kstrdup_const(name, GFP_KERNEL); | 147 | return kstrdup_const(name, GFP_KERNEL); |
148 | } | 148 | } |
149 | 149 | ||
150 | static const char *soc_force_no_clk[] = { | ||
151 | "samsung,exynos5250-clock", | ||
152 | "samsung,exynos5420-clock", | ||
153 | "samsung,exynos5800-clock", | ||
154 | }; | ||
155 | |||
150 | static __init int exynos4_pm_init_power_domain(void) | 156 | static __init int exynos4_pm_init_power_domain(void) |
151 | { | 157 | { |
152 | struct device_node *np; | 158 | struct device_node *np; |
@@ -183,6 +189,11 @@ static __init int exynos4_pm_init_power_domain(void) | |||
183 | pd->pd.power_on = exynos_pd_power_on; | 189 | pd->pd.power_on = exynos_pd_power_on; |
184 | pd->local_pwr_cfg = pm_domain_cfg->local_pwr_cfg; | 190 | pd->local_pwr_cfg = pm_domain_cfg->local_pwr_cfg; |
185 | 191 | ||
192 | for (i = 0; i < ARRAY_SIZE(soc_force_no_clk); i++) | ||
193 | if (of_find_compatible_node(NULL, NULL, | ||
194 | soc_force_no_clk[i])) | ||
195 | goto no_clk; | ||
196 | |||
186 | for (i = 0; i < MAX_CLK_PER_DOMAIN; i++) { | 197 | for (i = 0; i < MAX_CLK_PER_DOMAIN; i++) { |
187 | char clk_name[8]; | 198 | char clk_name[8]; |
188 | 199 | ||