]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit977024ed7998e28d5a9b3eaf1a48aa1d75a2e8c1
treecce1f87f557373a95c3cf44b792532f42cee728f
parent01c8c5612a044de9e535766347eab9737ab9ecfd
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