linux/arch/arm/mach-davinci
Cyril Chemparathy c78a5bc2e7 Davinci: watchdog reset separation across socs
The earlier watchdog reset mechanism had a couple of limitations.  First, it
embedded a reference to "davinci_wdt_device" inside common code.  This
forced all derived platforms (da8xx and tnetv107x) to define such a device.
This also would have caused problems in including multiple socs in a single
build due to symbol redefinition.

With this patch, davinci_watchdog_reset() now takes the platform device as an
argument.  The davinci_soc_info struct has been extended to include a reset
function and a watchdog platform_device.  arch_reset() then uses these
elements to reset the system in a SoC specific fashion.

Signed-off-by: Cyril Chemparathy <cyril@ti.com>
Tested-by: Sandeep Paulraj <s-paulraj@ti.com>
Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
2010-05-06 15:02:09 -07:00
..
include/mach Davinci: watchdog reset separation across socs 2010-05-06 15:02:09 -07:00
Kconfig Davinci: allow SOCs based on other ARM CPUs 2010-05-06 15:02:03 -07:00
Makefile davinci: add CDCE949 support on DM6467 EVM 2010-02-04 13:29:59 -08:00
Makefile.boot davinci: da8xx: Add base DA830/OMAP-L137 SoC support 2009-08-26 10:56:59 +03:00
board-da830-evm.c DA830 EVM: use DA8XX_AEMIF_*_BASE #define's 2010-05-06 15:02:06 -07:00
board-da850-evm.c Davinci: promote da8xx_pinmux_setup() 2010-05-06 15:02:04 -07:00
board-dm355-evm.c DaVinci: move AEMIF #define's to the proper headers 2010-05-06 15:02:06 -07:00
board-dm355-leopard.c DaVinci: move AEMIF #define's to the proper headers 2010-05-06 15:02:06 -07:00
board-dm365-evm.c DaVinci: move AEMIF #define's to the proper headers 2010-05-06 15:02:06 -07:00
board-dm644x-evm.c DaVinci: move IDE platform device to its proper place 2010-05-06 15:02:07 -07:00
board-dm646x-evm.c DaVinci: move IDE platform device to its proper place 2010-05-06 15:02:07 -07:00
board-neuros-osd2.c DaVinci: move IDE platform device to its proper place 2010-05-06 15:02:07 -07:00
board-sffsdr.c DaVinci: move AEMIF #define's to the proper headers 2010-05-06 15:02:06 -07:00
cdce949.c davinci: misc cleanups from sparse 2010-05-06 15:02:01 -07:00
clock.c Davinci: configurable pll divider mask 2010-05-06 15:02:07 -07:00
clock.h Davinci: watchdog reset separation across socs 2010-05-06 15:02:09 -07:00
common.c Davinci: watchdog reset separation across socs 2010-05-06 15:02:09 -07:00
cp_intc.c Davinci: cpintc host map configuration 2010-05-06 15:02:04 -07: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: cpuidle: move mapping of DDR2 controller registers out of driver 2010-02-04 13:29:38 -08:00
da830.c Davinci: watchdog reset separation across socs 2010-05-06 15:02:09 -07:00
da850.c Davinci: watchdog reset separation across socs 2010-05-06 15:02:09 -07:00
devices-da8xx.c Davinci: watchdog reset separation across socs 2010-05-06 15:02:09 -07:00
devices.c DaVinci: move IDE platform device to its proper place 2010-05-06 15:02:07 -07:00
dm355.c Davinci: watchdog reset separation across socs 2010-05-06 15:02:09 -07:00
dm365.c Davinci: watchdog reset separation across socs 2010-05-06 15:02:09 -07:00
dm644x.c Davinci: watchdog reset separation across socs 2010-05-06 15:02:09 -07:00
dm646x.c Davinci: watchdog reset separation across socs 2010-05-06 15:02:09 -07:00
dma.c davinci: edma: clear interrupt status for interrupt enabled channels only 2010-05-06 15:02:02 -07:00
gpio.c Davinci: eliminate pinmux offset verbosity 2010-05-06 15:02:09 -07:00
io.c ARM: Add caller information to ioremap 2010-02-15 21:39:11 +00:00
irq.c davinci: Move interrupt ctlr info to SoC infrastructure 2009-05-26 08:18:09 -07:00
mux.c Davinci: promote da8xx_pinmux_setup() 2010-05-06 15:02:04 -07:00
mux.h Davinci: eliminate pinmux offset verbosity 2010-05-06 15:02:09 -07:00
pm.c davinci: add power management support 2010-02-04 13:29:55 -08:00
psc.c Davinci: support LPSC SwRstDisable state 2010-05-06 15:02:04 -07:00
serial.c DaVinci: remove unneeded #include's 2009-11-25 10:21:31 -08:00
sleep.S davinci: add power management support 2010-02-04 13:29:55 -08:00
sram.c DaVinci: remove unneeded #include's 2009-11-25 10:21:31 -08:00
time.c Davinci: watchdog reset separation across socs 2010-05-06 15:02:09 -07:00
usb.c DA8xx: MUSB platform device registration 2009-11-25 10:21:33 -08:00