linux/arch/arm/mach-davinci
Sekhar Nori 13d5e27a44 davinci: DA850/OMAP-L138: avoid using separate initcall for initializing regulator
Using a device_initcall() for initializing the voltage regulator
on DA850 is not such a good idea because it gets called for all
platforms - even those who do not have a regulator implemented.
This leads to a big fat warning message during boot-up when
regulator cannot be found.

Instead, tie initialization of voltage regulator to cpufreq init.
Define a platform specific init call which in case of DA850 gets
used for initializing the regulator. On other future platforms it
can be used for other purposes.

Signed-off-by: Sekhar Nori <nsekhar@ti.com>
Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
2009-11-25 10:21:37 -08:00
..
include/mach davinci: DA850/OMAP-L138: avoid using separate initcall for initializing regulator 2009-11-25 10:21:37 -08:00
board-da830-evm.c davinci: DA8XX/OMAP-L1XX: fix compiler warning 2009-11-25 10:21:36 -08:00
board-da850-evm.c davinci: DA850/OMAP-L138 EVM: register for cpuidle support 2009-11-25 10:21:37 -08:00
board-dm355-evm.c DaVinci: rename setup_usb() to davinci_setup_usb() 2009-11-25 10:21:33 -08:00
board-dm355-leopard.c DaVinci: rename setup_usb() to davinci_setup_usb() 2009-11-25 10:21:33 -08:00
board-dm365-evm.c Davinci: DM365: Enable DaVinci Key Scan support for DM365 EVM 2009-11-25 10:21:32 -08:00
board-dm644x-evm.c DaVinci: rename setup_usb() to davinci_setup_usb() 2009-11-25 10:21:33 -08:00
board-dm646x-evm.c davinci: dm646x-evm: Add platform data for NAND 2009-11-25 10:21:32 -08:00
board-sffsdr.c DaVinci: rename setup_usb() to davinci_setup_usb() 2009-11-25 10:21:33 -08:00
clock.c DaVinci: remove unneeded #include's 2009-11-25 10:21:31 -08:00
clock.h davinci: DA8xx: rename 'psc_ctlr' field into 'gpsc' 2009-11-25 10:21:30 -08:00
common.c davinci: make it easier to identify SoC init failures 2009-11-25 10:21:31 -08:00
cp_intc.c DaVinci: remove unneeded #include's 2009-11-25 10:21:31 -08:00
cpufreq.c davinci: DA850/OMAP-L138: avoid using separate initcall for initializing regulator 2009-11-25 10:21:37 -08:00
cpuidle.c davinci: add CPU idle driver 2009-11-25 10:21:37 -08:00
da830.c DaVinci: remove unneeded #include's 2009-11-25 10:21:31 -08:00
da850.c davinci: DA850/OMAP-L138: avoid using separate initcall for initializing regulator 2009-11-25 10:21:37 -08:00
devices-da8xx.c davinci: DA8XX/OMAP-L1XX: add support for cpuidle driver register 2009-11-25 10:21:37 -08:00
devices.c DaVinci: remove unneeded #include's 2009-11-25 10:21:31 -08:00
dm355.c DaVinci: remove unneeded #include's 2009-11-25 10:21:31 -08:00
dm365.c Davinci: DM365: Enable DaVinci Key Scan support for DM365 EVM 2009-11-25 10:21:32 -08:00
dm644x.c DaVinci: remove unneeded #include's 2009-11-25 10:21:31 -08:00
dm646x.c DaVinci: remove unneeded #include's 2009-11-25 10:21:31 -08:00
dma.c DaVinci: remove unneeded #include's 2009-11-25 10:21:31 -08:00
gpio.c DaVinci: remove unneeded #include's 2009-11-25 10:21:31 -08:00
io.c davinci: Encapsulate SoC-specific data in a structure 2009-05-26 08:14:04 -07:00
irq.c davinci: Move interrupt ctlr info to SoC infrastructure 2009-05-26 08:18:09 -07:00
Kconfig davinci: DA850/OMAP-L138 EVM: get rid of DA850_UI_EXP config option 2009-11-25 10:21:35 -08:00
Makefile davinci: add CPU idle driver 2009-11-25 10:21:37 -08:00
Makefile.boot davinci: da8xx: Add base DA830/OMAP-L137 SoC support 2009-08-26 10:56:59 +03:00
mux.c DaVinci: remove unneeded #include's 2009-11-25 10:21:31 -08:00
mux.h davinci: update pin-multiplexing support 2009-04-27 09:49:46 -07:00
psc.c DaVinci: remove unneeded #include's 2009-11-25 10:21:31 -08:00
serial.c DaVinci: remove unneeded #include's 2009-11-25 10:21:31 -08:00
sram.c DaVinci: remove unneeded #include's 2009-11-25 10:21:31 -08:00
time.c DaVinci: remove unneeded #include's 2009-11-25 10:21:31 -08:00
usb.c DA8xx: MUSB platform device registration 2009-11-25 10:21:33 -08:00