]> git.baikalelectronics.ru Git - kernel.git/commit
hwmon: f71882fg: add support for the Fintek F71808E
authorGiel van Schijndel <me@mortis.eu>
Tue, 10 Aug 2010 00:21:13 +0000 (17:21 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 10 Aug 2010 03:45:10 +0000 (20:45 -0700)
commit7dde3c9e1d01f97c5044849fd54610d2c53c153f
tree82584339f492a2d771a67924209871c81e3ec9c7
parent30fd7fc5fd6d6db467fae3818f2166404b6758be
hwmon: f71882fg: add support for the Fintek F71808E

Allow device probing to recognise the Fintek F71808E.

Sysfs interface:
 * Fan/pwm control is the same as for F71889FG
 * Temperature and voltage sensor handling is largely the same as for
   the F71889FG
  - Has one temperature sensor less (doesn't have temp3)
  - Misses one voltage sensor (doesn't have V6, thus in6_input refers to
    what in7_input refers for F71889FG)

For the purpose of the sysfs interface fxxxx_in_temp_attr[] is split up
such that it can largely be reused.

Signed-off-by: Giel van Schijndel <me@mortis.eu>
Cc: Jean Delvare <khali@linux-fr.org>
Cc: Hans de Goede <hdegoede@redhat.com>
Cc: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Documentation/hwmon/f71882fg
drivers/hwmon/Kconfig
drivers/hwmon/f71882fg.c