aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/plat-omap/Kconfig
diff options
context:
space:
mode:
authorThara Gopinath <thara@ti.com>2010-05-29 12:32:22 -0400
committerKevin Hilman <khilman@deeprootsystems.com>2010-12-22 17:31:35 -0500
commit984aa6dbf4ca5be806fee217311c9cc68e8f2e88 (patch)
tree43092ea19c597efdaff5f7f7e2a9cc9cd59527fc /arch/arm/plat-omap/Kconfig
parent3b92408c7dfeb918fdd2f9fadc73177a59ad621c (diff)
OMAP3: PM: Adding smartreflex driver support.
SmartReflex modules do adaptive voltage control for real-time voltage adjustments. With Smartreflex the power supply voltage can be adapted to the silicon performance(manufacturing process, temperature induced performance, age induced performance etc). There are differnet classes of smartreflex implementation. Class-0: Manufacturing Test Calibration Class-1: Boot-Time Software Calibration Class-2: Continuous Software Calibration Class-3: Continuous Hardware Calibration Class-4: Fully Integrated Power Management OMAP3 has two smartreflex modules one associated with VDD MPU and the other associated with VDD CORE. This patch adds support for smartreflex driver. The driver is designed for Class-1 , Class-2 and Class-3 support and is a platform driver. Smartreflex driver can be enabled through a Kconfig option "SmartReflex support" under "System type"->"TI OMAP implementations" menu. Smartreflex autocompensation feature can be enabled runtime through a debug fs option. To enable smartreflex autocompensation feature echo 1 > /debug/voltage/vdd_<X>/smartreflex/autocomp To disable smartreflex autocompensation feature echo 0 > /debug/voltage/vdd_<X>/smartreflex/autocomp where X can be mpu, core , iva etc. This patch contains code originally in linux omap pm branch. Major contributors to this driver are Lesly A M, Rajendra Nayak, Kalle Jokiniemi, Paul Walmsley, Nishant Menon, Kevin Hilman. Signed-off-by: Thara Gopinath <thara@ti.com> Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
Diffstat (limited to 'arch/arm/plat-omap/Kconfig')
-rw-r--r--arch/arm/plat-omap/Kconfig22
1 files changed, 22 insertions, 0 deletions
diff --git a/arch/arm/plat-omap/Kconfig b/arch/arm/plat-omap/Kconfig
index 5e63e5069e0d..f1673fb96fe9 100644
--- a/arch/arm/plat-omap/Kconfig
+++ b/arch/arm/plat-omap/Kconfig
@@ -35,6 +35,28 @@ config OMAP_DEBUG_LEDS
35 depends on OMAP_DEBUG_DEVICES 35 depends on OMAP_DEBUG_DEVICES
36 default y if LEDS_CLASS 36 default y if LEDS_CLASS
37 37
38config OMAP_SMARTREFLEX
39 bool "SmartReflex support"
40 depends on ARCH_OMAP3 && PM
41 help
42 Say Y if you want to enable SmartReflex.
43
44 SmartReflex can perform continuous dynamic voltage
45 scaling around the nominal operating point voltage
46 according to silicon characteristics and operating
47 conditions. Enabling SmartReflex reduces power
48 consumption.
49
50 Please note, that by default SmartReflex is only
51 initialized. To enable the automatic voltage
52 compensation for vdd mpu and vdd core from user space,
53 user must write 1 to
54 /debug/voltage/vdd_<X>/smartreflex/autocomp,
55 where X is mpu or core for OMAP3.
56 Optionallly autocompensation can be enabled in the kernel
57 by default during system init via the enable_on_init flag
58 which an be passed as platform data to the smartreflex driver.
59
38config OMAP_RESET_CLOCKS 60config OMAP_RESET_CLOCKS
39 bool "Reset unused clocks during boot" 61 bool "Reset unused clocks during boot"
40 depends on ARCH_OMAP 62 depends on ARCH_OMAP