summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/voltage.h
diff options
context:
space:
mode:
authorTero Kristo2012-09-25 18:33:37 +0200
committerKevin Hilman2012-11-06 00:10:38 +0100
commit27c16b7026a9ca6455dd319fb00a28c5bb2023b6 (patch)
tree299bda0b465d55b351f5e7e826bccd4904522f2f /arch/arm/mach-omap2/voltage.h
parentARM: OMAP3: VC: calculate ramp times (diff)
downloadkernel-qcow2-linux-27c16b7026a9ca6455dd319fb00a28c5bb2023b6.tar.gz
kernel-qcow2-linux-27c16b7026a9ca6455dd319fb00a28c5bb2023b6.tar.xz
kernel-qcow2-linux-27c16b7026a9ca6455dd319fb00a28c5bb2023b6.zip
ARM: OMAP4: voltage: add support for VOLTSETUP_x_OFF register
OMAP4 has two VOLTSETUP registers. One is controlling retention and sleep voltage setup times, the other one off mode setup times. Both of these need to be setup for stable behavior of the device. The code setting up the new register will be added in the next patch. Signed-off-by: Tero Kristo <t-kristo@ti.com> Signed-off-by: Kevin Hilman <khilman@ti.com>
Diffstat (limited to 'arch/arm/mach-omap2/voltage.h')
-rw-r--r--arch/arm/mach-omap2/voltage.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/voltage.h b/arch/arm/mach-omap2/voltage.h
index 697095551bb6..990c440d5c51 100644
--- a/arch/arm/mach-omap2/voltage.h
+++ b/arch/arm/mach-omap2/voltage.h
@@ -40,12 +40,14 @@ struct powerdomain;
* data
* @voltsetup_mask: SETUP_TIME* bitmask in the PRM_VOLTSETUP* register
* @voltsetup_reg: register offset of PRM_VOLTSETUP from PRM base
+ * @voltsetup_off_reg: register offset of PRM_VOLTSETUP_OFF from PRM base
*
* XXX What about VOLTOFFSET/VOLTCTRL?
*/
struct omap_vfsm_instance {
u32 voltsetup_mask;
u8 voltsetup_reg;
+ u8 voltsetup_off_reg;
};
/**