summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/prm.h
diff options
context:
space:
mode:
authorTero Kristo2014-10-27 16:39:23 +0100
committerTony Lindgren2014-10-27 16:39:23 +0100
commit3381eb47f3f21d11603440b19896280f82d9ce91 (patch)
tree2b2613460faa9555bc1ffd6663c97e3ac7367fbe /arch/arm/mach-omap2/prm.h
parentLinux 3.18-rc1 (diff)
downloadkernel-qcow2-linux-3381eb47f3f21d11603440b19896280f82d9ce91.tar.gz
kernel-qcow2-linux-3381eb47f3f21d11603440b19896280f82d9ce91.tar.xz
kernel-qcow2-linux-3381eb47f3f21d11603440b19896280f82d9ce91.zip
ARM: DRA7: PRM: add voltage processor check behind a prm_feature flag
This is done in attempt to get rid of cpu_is_X calls from the PRM core. Signed-off-by: Tero Kristo <t-kristo@ti.com> Acked-by: Paul Walmsley <paul@pwsan.com> Tested-by: Nishanth Menon <nm@ti.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap2/prm.h')
-rw-r--r--arch/arm/mach-omap2/prm.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/prm.h b/arch/arm/mach-omap2/prm.h
index 48480d557b61..9f4d74758616 100644
--- a/arch/arm/mach-omap2/prm.h
+++ b/arch/arm/mach-omap2/prm.h
@@ -29,6 +29,7 @@ int of_prcm_init(void);
* PRM_HAS_VOLTAGE: has voltage domains
*/
#define PRM_HAS_IO_WAKEUP (1 << 0)
+#define PRM_HAS_VOLTAGE (1 << 1)
/*
* MAX_MODULE_SOFTRESET_WAIT: Maximum microseconds to wait for OMAP