mirror of
https://github.com/team-infusion-developers/android_kernel_samsung_msm8976.git
synced 2024-11-01 10:33:27 +00:00
312869ec93
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>
27 lines
988 B
Text
27 lines
988 B
Text
Kernel driver sch5627
|
|
=====================
|
|
|
|
Supported chips:
|
|
* SMSC SCH5627
|
|
Prefix: 'sch5627'
|
|
Addresses scanned: none, address read from Super I/O config space
|
|
Datasheet: Application Note available upon request
|
|
|
|
Author: Hans de Goede <hdegoede@redhat.com>
|
|
|
|
|
|
Description
|
|
-----------
|
|
|
|
SMSC SCH5627 Super I/O chips include complete hardware monitoring
|
|
capabilities. They can monitor up to 5 voltages, 4 fans and 8 temperatures.
|
|
|
|
The SMSC SCH5627 hardware monitoring part also contains an integrated
|
|
watchdog. In order for this watchdog to function some motherboard specific
|
|
initialization most be done by the BIOS, so if the watchdog is not enabled
|
|
by the BIOS the sch5627 driver will not register a watchdog device.
|
|
|
|
The hardware monitoring part of the SMSC SCH5627 is accessed by talking
|
|
through an embedded microcontroller. An application note describing the
|
|
protocol for communicating with the microcontroller is available upon
|
|
request. Please mail me if you want a copy.
|