]> git.baikalelectronics.ru Git - kernel.git/commit
hwmon: (adt7475) Voltage attenuators can be bypassed
authorJean Delvare <khali@linux-fr.org>
Wed, 9 Dec 2009 19:36:07 +0000 (20:36 +0100)
committerJean Delvare <khali@linux-fr.org>
Wed, 9 Dec 2009 19:36:07 +0000 (20:36 +0100)
commita2a398162f9e59c84574faf1ef6b8db1d0b6370e
tree1048d124e52a5074994400556bc10b08d3bc2a00
parentf9bf533805626b4b59a1619ea1987d6bc95c2dcf
hwmon: (adt7475) Voltage attenuators can be bypassed

It is possible to bypass the voltage attenuators on the +2.5V, Vccp,
+5V and +12V voltage monitoring inputs. This is useful to connect
other voltage channels than the ones the monitoring chip was
originally designed for. When this feature is enabled, we must not
include the scaling factors in our computations.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Cc: Hans de Goede <hdegoede@redhat.com>
Cc: Jordan Crouse <jordan@cosmicpenguin.net>
Cc: "Darrick J. Wong" <djwong@us.ibm.com>
drivers/hwmon/adt7475.c