summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/voltage.h
diff options
context:
space:
mode:
authorKevin Hilman2011-03-28 20:57:18 +0200
committerKevin Hilman2011-09-15 21:02:07 +0200
commit842ec22852cf843558828e6f7a6da2bf72f341a5 (patch)
tree4f9c5792b6694452bbc7ba8e89da9ae68ccb7c17 /arch/arm/mach-omap2/voltage.h
parentOMAP2+: add PRM VP functions for checking/clearing VP TX done status (diff)
downloadkernel-qcow2-linux-842ec22852cf843558828e6f7a6da2bf72f341a5.tar.gz
kernel-qcow2-linux-842ec22852cf843558828e6f7a6da2bf72f341a5.tar.xz
kernel-qcow2-linux-842ec22852cf843558828e6f7a6da2bf72f341a5.zip
OMAP3+ VP: replace transaction done check/clear with VP ops
Replace the VP tranxdone check/clear with helper functions from the PRM layer. In the process, remove prm_irqst_* voltage structure fields for IRQ status checking which are no longer needed. Since these reads/writes of the IRQ status bits were the only PRM accesses that were not to VC/VP registers, this allows the rest of the register accesses in the VC/VP code to use VC/VP specific register access functions (done in the following patch.) 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.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/arm/mach-omap2/voltage.h b/arch/arm/mach-omap2/voltage.h
index 5ca30fca114d..04e06266dbd7 100644
--- a/arch/arm/mach-omap2/voltage.h
+++ b/arch/arm/mach-omap2/voltage.h
@@ -133,7 +133,6 @@ struct omap_volt_pmic_info {
* @vfsm : voltage manager FSM data
* @debug_dir : debug directory for this voltage domain.
* @curr_volt : current voltage for this vdd.
- * @prm_irqst_mod : PRM module id used for PRM IRQ status register access
* @vp_enabled : flag to keep track of whether vp is enabled or not
* @volt_scale : API to scale the voltage of the vdd.
*/
@@ -147,8 +146,6 @@ struct omap_vdd_info {
u32 curr_volt;
bool vp_enabled;
- s16 prm_irqst_mod;
- u8 prm_irqst_reg;
u32 (*read_reg) (u16 mod, u8 offset);
void (*write_reg) (u32 val, u16 mod, u8 offset);
int (*volt_scale) (struct voltagedomain *voltdm,