watchdog: iTCO_wdt: Add support for v3 silicon
authorPeter Tyser <ptyser@xes-inc.com>
Mon, 10 Mar 2014 21:34:55 +0000 (16:34 -0500)
committerLee Jones <lee.jones@linaro.org>
Wed, 19 Mar 2014 09:00:03 +0000 (09:00 +0000)
commit24b3a1670b47e75be633ae0b5c07945c446f9d29
treee57b32c9a75acf52085af9bd831e8fed36960ff5
parenteb71d4dec4a5e010e34b9d7afdb5af41884c388e
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>
drivers/watchdog/iTCO_wdt.c