watchdog: iTCO_wdt: Add support for v3 silicon
authorPeter Tyser <ptyser@xes-inc.com>
Wed, 5 Nov 2014 01:39:19 +0000 (09:39 +0800)
committerSimon Horman <horms@verge.net.au>
Fri, 5 Dec 2014 00:25:29 +0000 (09:25 +0900)
commit4bf7038331aad69b82f6364e0e7cf7e562b23d95
tree102330d3506d08a6df43d8dd2d5b5f5a32b5ed35
parenta8fe2d842bdd50fffec485f96016c3defb282ce0
watchdog: iTCO_wdt: Add support for v3 silicon

Some new Atom's, eg Avoton and Bay Trail, have slightly different iTCO
functionality:
- The watchdog timer ticks at 1 second instead of .6 seconds

- Some 8 and 16-bit registers were combined into 32-bit registers

- Some registers were removed (DAT_IN, DAT_OUT, MESSAGE)

- The BOOT_STS field in TCO_STS was removed

- The NO_REBOOT bit is in the PMC area instead of GCS

Update the driver to support the above changes and bump the version to
1.11.

Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
Tested-by: Rajat Jain <rajatjain@juniper.net>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
(cherry picked from commit 24b3a1670b47e75be633ae0b5c07945c446f9d29)

Signed-off-by: Chang Rebecca Swee Fun <rebecca.swee.fun.chang@intel.com>
drivers/watchdog/iTCO_wdt.c