aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/vp.h
diff options
context:
space:
mode:
authorNishanth Menon <nm@ti.com>2011-02-18 10:43:25 +0530
committerTodd Poynor <toddpoynor@google.com>2011-11-30 15:26:49 -0800
commit938771436022c03ff3879d0ca9dd941c0d75d155 (patch)
tree0d9efe79ea42d2198d367c27b106ce7c22f901ff /arch/arm/mach-omap2/vp.h
parentd3388088b3e0e96df70bc726ce875085b801cf8c (diff)
downloadkernel_samsung_tuna-938771436022c03ff3879d0ca9dd941c0d75d155.zip
kernel_samsung_tuna-938771436022c03ff3879d0ca9dd941c0d75d155.tar.gz
kernel_samsung_tuna-938771436022c03ff3879d0ca9dd941c0d75d155.tar.bz2
OMAP3+: voltage: expose transdone APIs
Transdone event in Voltage processor gives us fine grained status on the current status of the voltage communication with the PMIC. Unfortunately, IRQ generation by VP is based on the start of the transmission to VC from VP, not at the end (or the completion of the voltage setting). Hence any users of voltage layer who need to know fine grained information such as confirmation if the voltage is actually send to PMIC, needs to depend on this status. Change-Id: I5fdef6ff9a6d4b90a5f04c3adfb4209c75b1a26e Signed-off-by: Nishanth Menon <nm@ti.com>
Diffstat (limited to 'arch/arm/mach-omap2/vp.h')
-rw-r--r--arch/arm/mach-omap2/vp.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/vp.h b/arch/arm/mach-omap2/vp.h
index c3a1e69..88381bb 100644
--- a/arch/arm/mach-omap2/vp.h
+++ b/arch/arm/mach-omap2/vp.h
@@ -117,5 +117,7 @@ int omap_vp_forceupdate_scale(struct voltagedomain *voltdm,
struct omap_volt_data *target_v);
int omap_vp_update_errorgain(struct voltagedomain *voltdm,
unsigned long target_volt);
+bool omap_vp_is_transdone(struct voltagedomain *voltdm);
+void omap_vp_clear_transdone(struct voltagedomain *voltdm);
#endif