Nishanth Menon a78274b205 OMAP3+: Introduce generic logic for OMAP voltage controller
OMAP Voltage controller is used to generically talk to
PMICs on OMAP3,4,5 over I2C_SR. Instead of replicating code
in multiple SoC code, introduce a common voltage controller
logic which can be re-used from elsewhere.

With this change, we replace setup_sri2c with omap_vc_init which
has the same functionality, and replace the voltage scale
replication in do_scale_vcore and do_scale_tps62361 with
omap_vc_bypass_send_value. omap_vc_bypass_send_value can also
now be used with any configuration of PMIC.

NOTE: Voltage controller controlling I2C_SR is a write-only data
path, so no register read operation can be implemented.

Reported-by: Isabelle Gros <i-gros@ti.com>
Reported-by: Jerome Angeloni <j-angeloni@ti.com>
Signed-off-by: Nishanth Menon <nm@ti.com>
2012-05-15 08:31:22 +02:00
..
2011-11-29 15:43:38 +01:00
2012-03-26 23:09:26 +02:00
2012-02-27 21:19:25 +01:00
2012-03-29 08:12:50 +02:00
2011-06-02 23:18:32 +02:00
2011-07-16 13:00:11 +02:00
2011-11-29 15:43:38 +01:00
2011-02-21 08:30:55 +01:00
2011-09-13 08:25:15 +02:00
2011-07-04 10:55:25 +02:00
2010-10-13 09:59:33 +02:00