]> 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)
commitebfaf1fbb6010204e973e329034d0004d6521503
tree1048d124e52a5074994400556bc10b08d3bc2a00
parentd07ca4ad2f67ebb1bf48a2308a7a0cd81ef8f70a
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