diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2011-11-01 23:22:01 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-11-01 23:22:01 -0400 |
commit | cd9a0b6bd67ec372b0ef3cb2abe26974f888b956 (patch) | |
tree | ffec66aa48f95b2b764f9e84fbafc519cce5000e /arch/arm/plat-omap | |
parent | ac5761a650d22dd7dfad4d417463a0981d2da0a4 (diff) | |
parent | 090ad104c5c59c7952d4b8d4cfb60559b38eb3e0 (diff) |
Merge branch 'next/pm' of git://git.linaro.org/people/arnd/arm-soc
* 'next/pm' of git://git.linaro.org/people/arnd/arm-soc: (66 commits)
ARM: CSR: PM: use outer_resume to resume L2 cache
ARM: CSR: call l2x0_of_init to init L2 cache of SiRFprimaII
ARM: OMAP: voltage: voltage layer present, even when CONFIG_PM=n
ARM: CSR: PM: add sleep entry for SiRFprimaII
ARM: CSR: PM: save/restore irq status in suspend cycle
ARM: CSR: PM: save/restore timer status in suspend cycle
OMAP4: PM: TWL6030: add cmd register
OMAP4: PM: TWL6030: fix ON/RET/OFF voltages
OMAP4: PM: TWL6030: address 0V conversions
OMAP4: PM: TWL6030: fix uv to voltage for >0x39
OMAP4: PM: TWL6030: fix voltage conversion formula
omap: voltage: add a stub header file for external/regulator use
OMAP2+: VC: more registers are per-channel starting with OMAP5
OMAP3+: voltage: update nominal voltage in voltdm_scale() not VC post-scale
OMAP3+: voltage: rename omap_voltage_get_nom_volt -> voltdm_get_voltage
OMAP3+: voltdm: final removal of omap_vdd_info
OMAP3+: voltage: move/rename curr_volt from vdd_info into struct voltagedomain
OMAP3+: voltage: rename scale and reset functions using voltdm_ prefix
OMAP3+: VP: combine setting init voltage into common function
OMAP3+: VP: remove unused omap_vp_get_curr_volt()
...
Fix up trivial conflict in arch/arm/mach-prima2/l2x0.c (code removal vs
edit)
Diffstat (limited to 'arch/arm/plat-omap')
-rw-r--r-- | arch/arm/plat-omap/include/plat/omap_hwmod.h | 1 | ||||
-rw-r--r-- | arch/arm/plat-omap/include/plat/voltage.h | 20 |
2 files changed, 20 insertions, 1 deletions
diff --git a/arch/arm/plat-omap/include/plat/omap_hwmod.h b/arch/arm/plat-omap/include/plat/omap_hwmod.h index 9115aedd2124..5419f1a2aaa4 100644 --- a/arch/arm/plat-omap/include/plat/omap_hwmod.h +++ b/arch/arm/plat-omap/include/plat/omap_hwmod.h | |||
@@ -525,7 +525,6 @@ struct omap_hwmod { | |||
525 | char *clkdm_name; | 525 | char *clkdm_name; |
526 | struct clockdomain *clkdm; | 526 | struct clockdomain *clkdm; |
527 | char *vdd_name; | 527 | char *vdd_name; |
528 | struct voltagedomain *voltdm; | ||
529 | struct omap_hwmod_ocp_if **masters; /* connect to *_IA */ | 528 | struct omap_hwmod_ocp_if **masters; /* connect to *_IA */ |
530 | struct omap_hwmod_ocp_if **slaves; /* connect to *_TA */ | 529 | struct omap_hwmod_ocp_if **slaves; /* connect to *_TA */ |
531 | void *dev_attr; | 530 | void *dev_attr; |
diff --git a/arch/arm/plat-omap/include/plat/voltage.h b/arch/arm/plat-omap/include/plat/voltage.h new file mode 100644 index 000000000000..0a6a482ec014 --- /dev/null +++ b/arch/arm/plat-omap/include/plat/voltage.h | |||
@@ -0,0 +1,20 @@ | |||
1 | /* | ||
2 | * OMAP Voltage Management Routines | ||
3 | * | ||
4 | * Copyright (C) 2011, Texas Instruments, Inc. | ||
5 | * | ||
6 | * This program is free software; you can redistribute it and/or modify | ||
7 | * it under the terms of the GNU General Public License version 2 as | ||
8 | * published by the Free Software Foundation. | ||
9 | */ | ||
10 | |||
11 | #ifndef __ARCH_ARM_OMAP_VOLTAGE_H | ||
12 | #define __ARCH_ARM_OMAP_VOLTAGE_H | ||
13 | |||
14 | struct voltagedomain; | ||
15 | |||
16 | struct voltagedomain *voltdm_lookup(const char *name); | ||
17 | int voltdm_scale(struct voltagedomain *voltdm, unsigned long target_volt); | ||
18 | unsigned long voltdm_get_voltage(struct voltagedomain *voltdm); | ||
19 | |||
20 | #endif | ||