OMAP3: PM: Adding debug support to Voltage and Smartreflex drivers
commit077fceca3a5db69791d64723ffba1caad2f03a08
authorThara Gopinath <thara@ti.com>
Wed, 27 Oct 2010 14:59:37 +0000 (27 20:29 +0530)
committerKevin Hilman <khilman@deeprootsystems.com>
Wed, 22 Dec 2010 22:31:42 +0000 (22 14:31 -0800)
treef81edc23062a8573fd744eb6d7c4b5d396501911
parentfbc319f67660ede23cc22f3af5df559693f8062e
OMAP3: PM: Adding debug support to Voltage and Smartreflex drivers

This patch adds debug support to the voltage and smartreflex drivers.
This means a whole bunch of voltage processor and smartreflex
parameters are now visible through the pm debugfs.
The voltage parameters can be viewed at
        /debug/voltage/vdd_<x>/<parameter>
and the smartreflex parameters can be viewed at
        /debug/voltage/vdd_<x>/smartreflex/<parameter>

Also smartreflex n-target values are now exposed out at
/debug/voltage/vdd_<x>/smartreflex/nvalue/<voltage>

This is a read-write interface which means user has the
flexibility to change the n-target values for any opp.

Signed-off-by: Thara Gopinath <thara@ti.com>
Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
arch/arm/mach-omap2/smartreflex.c
arch/arm/mach-omap2/voltage.c