aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/plat-omap/Kconfig
diff options
context:
space:
mode:
authorJean Pihet <j-pihet@ti.com>2012-04-25 07:13:17 -0400
committerKevin Hilman <khilman@ti.com>2012-05-31 19:36:30 -0400
commit21ff63ad131218048525fbd37d065ce61f03bcbd (patch)
treea50d72ca4f71b341fd0cf48d72a3dce5d7a49289 /arch/arm/plat-omap/Kconfig
parent7fb149ffe357d6ad672cf9325181530b4c478a81 (diff)
ARM: OMAP: SmartReflex: Move smartreflex driver to drivers/
After a clean-up of the interfaces the OMAP Smartreflex IP driver is now a generic driver. Move it to drivers/power/avs/. The build is controlled by the following Kconfig options: . CONFIG_POWER_AVS: general knob for Adaptive Voltage Scaling support, . CONFIG_POWER_AVS_OMAP: AVS(Adaptive Voltage Scaling) support on OMAP containing the version 1 or version 2 of the SmartReflex IP, . CONFIG_POWER_AVS_OMAP_CLASS3: Class 3 implementation of Smartreflex. Signed-off-by: Jean Pihet <j-pihet@ti.com> Signed-off-by: J Keerthy <j-keerthy@ti.com> Acked-by: Rafael J. Wysocki <rjw@sisk.pl> Reviewed-by: Kevin Hilman <khilman@ti.com> Signed-off-by: Kevin Hilman <khilman@ti.com>
Diffstat (limited to 'arch/arm/plat-omap/Kconfig')
-rw-r--r--arch/arm/plat-omap/Kconfig22
1 files changed, 3 insertions, 19 deletions
diff --git a/arch/arm/plat-omap/Kconfig b/arch/arm/plat-omap/Kconfig
index bba384dfbcf6..816dec062f3c 100644
--- a/arch/arm/plat-omap/Kconfig
+++ b/arch/arm/plat-omap/Kconfig
@@ -45,26 +45,12 @@ config OMAP_DEBUG_LEDS
45 depends on OMAP_DEBUG_DEVICES 45 depends on OMAP_DEBUG_DEVICES
46 default y if LEDS_CLASS 46 default y if LEDS_CLASS
47 47
48menuconfig POWER_AVS
49 tristate "Adaptive Voltage Scaling class support"
50 help
51 AVS(Adaptive Voltage Scaling) is a power management technique which
52 finely controls the operating voltage of a device in order to optimize
53 (i.e. reduce) its power consumption.
54 At a given operating point the voltage is adapted depending on
55 static factors (chip manufacturing process) and dynamic factors
56 (temperature depending performance).
57 AVS is also called SmartReflex on OMAP devices.
58
59 Say Y here to enable Adaptive Voltage Scaling class support.
60
61if POWER_AVS
62
63config POWER_AVS_OMAP 48config POWER_AVS_OMAP
64 bool "AVS(Adaptive Voltage Scaling) support for OMAP IP versions 1&2" 49 bool "AVS(Adaptive Voltage Scaling) support for OMAP IP versions 1&2"
65 depends on (ARCH_OMAP3 || ARCH_OMAP4) && PM 50 depends on POWER_AVS && (ARCH_OMAP3 || ARCH_OMAP4) && PM
66 help 51 help
67 Say Y to enable AVS support on OMAP containing the version 1 or 52 Say Y to enable AVS(Adaptive Voltage Scaling)
53 support on OMAP containing the version 1 or
68 version 2 of the SmartReflex IP. 54 version 2 of the SmartReflex IP.
69 V1 is the 65nm version used in OMAP3430. 55 V1 is the 65nm version used in OMAP3430.
70 V2 is the update for the 45nm version of the IP used in OMAP3630 56 V2 is the update for the 45nm version of the IP used in OMAP3630
@@ -89,8 +75,6 @@ config POWER_AVS_OMAP_CLASS3
89 Class 3 implementation of Smartreflex employs continuous hardware 75 Class 3 implementation of Smartreflex employs continuous hardware
90 voltage calibration. 76 voltage calibration.
91 77
92endif # POWER_AVS
93
94config OMAP_RESET_CLOCKS 78config OMAP_RESET_CLOCKS
95 bool "Reset unused clocks during boot" 79 bool "Reset unused clocks during boot"
96 depends on ARCH_OMAP 80 depends on ARCH_OMAP