watchdog: MIPS: lantiq: implement OF support and minor fixes
authorJohn Crispin <blogic@openwrt.org>
Thu, 12 Apr 2012 19:21:56 +0000 (21:21 +0200)
committerRalf Baechle <ralf@linux-mips.org>
Mon, 21 May 2012 13:31:54 +0000 (14:31 +0100)
commitcdb8612147b7fba751e6fa193f32b09937a7e16b
treec395b2e3da6c0a8914adaf4bf82b38565442c89c
parentceff2676b04943638c6f599ffe4e99efb89aa625
watchdog: MIPS: lantiq: implement OF support and minor fixes

Add support for OF. We also apply the following small fixes
* reduce boiler plate by using devm_request_and_ioremap
* sane error path for the clock
* move LTQ_RST_CAUSE_WDTRST to a soc specific header file
* add a message to show that the driver loaded

Signed-off-by: John Crispin <blogic@openwrt.org>
Acked-by: Wim Van Sebroeck <wim@iguana.be>
Cc: linux-watchdog@vger.kernel.org
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/3810/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/include/asm/mach-lantiq/lantiq.h
arch/mips/include/asm/mach-lantiq/xway/lantiq_soc.h
drivers/watchdog/lantiq_wdt.c