OMAP3+: VC: cleanup voltage setup time configuration
authorKevin Hilman <khilman@ti.com>
Tue, 29 Mar 2011 21:36:04 +0000 (14:36 -0700)
committerKevin Hilman <khilman@ti.com>
Thu, 15 Sep 2011 19:08:19 +0000 (12:08 -0700)
commit5892bb1fc6430d086f5c2a4216f9ed00070e31ad
tree6a64fdd3e6d4e80cae63c1fa3c947383b1024d7e
parent78614e0f8f32dca52beebaadfb53c2a3acf1604a
OMAP3+: VC: cleanup voltage setup time configuration

- add setup_time field to struct omap_vc_channel (init'd from PMIC data)
- use VC/VP register access helper for read/modify/write
- move VFSM structure from omap_vdd_info into struct voltagedomain
- remove redunant _data suffix from VFSM structures and variables
- remove voltsetup_shift, use ffs() on the mask value to find the shift

Signed-off-by: Kevin Hilman <khilman@ti.com>
arch/arm/mach-omap2/vc.c
arch/arm/mach-omap2/vc.h
arch/arm/mach-omap2/voltage.h
arch/arm/mach-omap2/voltagedomains3xxx_data.c
arch/arm/mach-omap2/voltagedomains44xx_data.c