[ARM] 4495/1: iop: combined watchdog timer driver for iop3xx and iop13xx
In order for this driver to be shared across the iop architectures the iop3xx and iop13xx header files are modified to present a common interface for the iop_wdt driver. Details: * iop13xx supports disabling the timer while iop3xx does not. This requires a few 'compatibility' definitions in include/asm-arm/hardware/iop3xx.h to preclude adding #ifdef CONFIG_ARCH_IOP13XX blocks to the driver code. * The heartbeat interval is derived from the internal bus clock rate, so this this patch also exports the tick rate to the iop_wdt driver. Cc: Curt Bruns <curt.e.bruns@intel.com> Cc: Peter Milne <peter.milne@d-tacq.com> Signed-off-by: NDan Williams <dan.j.williams@intel.com> Acked-by: NWim Van Sebroeck <wim@iguana.be> Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
Showing
drivers/char/watchdog/iop_wdt.c
0 → 100644
想要评论请 注册 或 登录