u-boot-brain/arch/arm/cpu/armv7/omap-common
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
..
boot-common.c ARM:AM33XX: Add SPL support for AM335X EVM 2012-01-16 08:40:12 +01:00
clocks-common.c OMAP3+: Introduce generic logic for OMAP voltage controller 2012-05-15 08:31:22 +02:00
config.mk Reduce build times 2011-11-03 20:44:58 +01:00
emif-common.c omap4: emif: fix error in driver 2011-12-06 23:59:34 +01:00
gpio.c gpio: Replace ARM gpio.h with the common API in include/asm-generic 2012-01-09 20:10:32 -06:00
hwinit-common.c OMAP SPL: Fix missing timer_init() call in OMAP4 s_init() 2012-02-12 10:11:23 +01:00
lowlevel_init.S omap4/5: Add support for booting with CH. 2011-11-15 22:25:50 +01:00
Makefile OMAP3+: Introduce generic logic for OMAP voltage controller 2012-05-15 08:31:22 +02:00
mem-common.c omap4: make omap4 code common for future reuse 2011-11-15 22:25:50 +01:00
reset.S ARMV7: OMAP3: Fix broken reset command on OMAP36XX/37XX and OMAP4 2010-09-08 14:51:18 -04:00
spl_mmc.c ARM:OMAP+:MMC: Add parameters to MMC init 2012-05-15 08:31:22 +02:00
spl_nand.c CMD: Fix CONFIG_CMD_SAVEBP_WRITE_SIZE -> CONFIG_CMD_SPL_WRITE_SIZE 2012-04-19 22:01:13 +02:00
spl_ymodem.c SPL: Add YMODEM over UART load support 2012-03-26 23:09:25 +02:00
spl.c SPL: call cleanup_before_linux() before booting Linux 2012-03-27 22:05:29 +02:00
timer.c Timer: Remove reset_timer_masked() 2011-07-26 14:54:15 +02:00
u-boot-spl.lds omap: add basic SPL support 2011-08-03 12:49:20 +02:00
utils.c omap4: calculate EMIF register values 2011-08-03 12:49:19 +02:00
vc.c OMAP3+: Introduce generic logic for OMAP voltage controller 2012-05-15 08:31:22 +02:00