diff options
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-omap2/prm44xx.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/prm44xx.c b/arch/arm/mach-omap2/prm44xx.c index 415c7e0c9393..15271b6d205f 100644 --- a/arch/arm/mach-omap2/prm44xx.c +++ b/arch/arm/mach-omap2/prm44xx.c | |||
@@ -620,6 +620,15 @@ static int omap4_pwrdm_wait_transition(struct powerdomain *pwrdm) | |||
620 | return 0; | 620 | return 0; |
621 | } | 621 | } |
622 | 622 | ||
623 | static int omap4_check_vcvp(void) | ||
624 | { | ||
625 | /* No VC/VP on dra7xx devices */ | ||
626 | if (soc_is_dra7xx()) | ||
627 | return 0; | ||
628 | |||
629 | return 1; | ||
630 | } | ||
631 | |||
623 | struct pwrdm_ops omap4_pwrdm_operations = { | 632 | struct pwrdm_ops omap4_pwrdm_operations = { |
624 | .pwrdm_set_next_pwrst = omap4_pwrdm_set_next_pwrst, | 633 | .pwrdm_set_next_pwrst = omap4_pwrdm_set_next_pwrst, |
625 | .pwrdm_read_next_pwrst = omap4_pwrdm_read_next_pwrst, | 634 | .pwrdm_read_next_pwrst = omap4_pwrdm_read_next_pwrst, |
@@ -637,6 +646,7 @@ struct pwrdm_ops omap4_pwrdm_operations = { | |||
637 | .pwrdm_set_mem_onst = omap4_pwrdm_set_mem_onst, | 646 | .pwrdm_set_mem_onst = omap4_pwrdm_set_mem_onst, |
638 | .pwrdm_set_mem_retst = omap4_pwrdm_set_mem_retst, | 647 | .pwrdm_set_mem_retst = omap4_pwrdm_set_mem_retst, |
639 | .pwrdm_wait_transition = omap4_pwrdm_wait_transition, | 648 | .pwrdm_wait_transition = omap4_pwrdm_wait_transition, |
649 | .pwrdm_has_voltdm = omap4_check_vcvp, | ||
640 | }; | 650 | }; |
641 | 651 | ||
642 | /* | 652 | /* |