]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ARM: OMAP2+: SmartReflex: Use per-OPP data structure
authorJean Pihet <j-pihet@ti.com>
Wed, 25 Apr 2012 05:49:44 +0000 (11:19 +0530)
committerKevin Hilman <khilman@ti.com>
Thu, 31 May 2012 23:03:44 +0000 (16:03 -0700)
commit5e7f2e12e4ea14a34fb9b5941d60a4464fc8d40a
tree0ff1412b37d31fa0c601de90759928b9dbcd7960
parentfa60be6e3f9362bd841e26b9366f0db7b761a042
ARM: OMAP2+: SmartReflex: Use per-OPP data structure

The SmartReflex driver incorrectly treats some per-OPP data as data
common to all OPPs (e.g., ERRMINLIMIT).  Move this data into a per-OPP
data structure.

Furthermore, in order to make the SmartReflex implementation ready for
the move to drivers/, remove the dependency from the SR driver code
to the voltage layer by querying the data tables only from the SR device
init code.

Based on Paul's original code for the SmartReflex driver conversion.

Signed-off-by: Jean Pihet <j-pihet@ti.com>
Signed-off-by: J Keerthy <j-keerthy@ti.com>
Reviewed-by: Kevin Hilman <khilman@ti.com>
Signed-off-by: Kevin Hilman <khilman@ti.com>
arch/arm/mach-omap2/smartreflex.c
arch/arm/mach-omap2/sr_device.c
include/linux/power/smartreflex.h