hwmon: (lm85) extend to support EMC6D103 chips
commitdb178cf9b4e0764441fdc708c26b80cad7abc6af
authorJan Beulich <JBeulich@novell.com>
Fri, 18 Feb 2011 08:18:26 +0000 (18 03:18 -0500)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 24 Feb 2011 22:54:34 +0000 (24 14:54 -0800)
tree5c25765d85ad2f8842f75b0576c5ae08702456b0
parent8125c6ef5149f1dc4829670e6385b794cb559bd2
hwmon: (lm85) extend to support EMC6D103 chips

commit f065a93e168299569078bc6f52128b57f602fff3 upstream.

The interface is identical EMC6D102, so all that needs to be added are
some definitions and their uses.

Registers apparently missing in EMC6D103S/EMC6D103:A2 compared to EMC6D103:A0,
EMC6D103:A1, and EMC6D102 (according to the data sheets), but used
unconditionally in the driver: 62[5:7], 6D[0:7], and 6E[0:7]. For that
reason, EMC6D103S chips don't get enabled for the time being.

Signed-off-by: Jan Beulich <jbeulich@novell.com>
(Guenter Roeck: Replaced EMC6D103_A2 with EMC6D103S per EMC6D103S datasheet)
Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/hwmon/Kconfig
drivers/hwmon/lm85.c