hwmon: (sch56xx) Add support for the integrated watchdog (v2)
authorHans de Goede <hdegoede@redhat.com>
Sun, 18 Mar 2012 12:05:08 +0000 (13:05 +0100)
committerGuenter Roeck <guenter.roeck@ericsson.com>
Tue, 20 Mar 2012 13:42:05 +0000 (06:42 -0700)
commit312869ec935ab3bb67b7ba641a7d11230555aff5
treecce1f87f557373a95c3cf44b792532f42cee728f
parent840e191dba36f51ae52db8a93849191af9e89098
hwmon: (sch56xx) Add support for the integrated watchdog (v2)

Add support for the watchdog integrated into the SMSC SCH5627 and
SCH5636 superio-s. Since the watchdog is part of the hwmon logical device
and thus shares ioports with it, the watchdog driver is integrated into the
existing hwmon drivers for these.

Note that this version of the watchdog support for sch56xx superio-s
implements the watchdog chardev interface itself, rather then relying on
the recently added watchdog core / watchdog_dev. This is done because
currently some needed functionality is missing from watchdog_dev, as soon
as this functionality is added (which is being discussed on the
linux-watchdog mailinglist), I'll convert this driver over to using
watchdog_dev.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
[guenter.roeck@ericsson.com: Added missing linux/slab.h include]
Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com>
Documentation/hwmon/sch5627
Documentation/hwmon/sch5636
drivers/hwmon/Kconfig
drivers/hwmon/sch5627.c
drivers/hwmon/sch5636.c
drivers/hwmon/sch56xx-common.c
drivers/hwmon/sch56xx-common.h