hwmon: (lm85) extend to support EMC6D103 chips
authorJan Beulich <JBeulich@novell.com>
Fri, 18 Feb 2011 08:18:26 +0000 (03:18 -0500)
committerGuenter Roeck <guenter.roeck@ericsson.com>
Sat, 19 Feb 2011 01:43:36 +0000 (17:43 -0800)
commitf065a93e168299569078bc6f52128b57f602fff3
tree9871298638d0a75f4b0f4a419ef71655f3e01962
parent4eb2abcd09e2c939aec0f0df005c84806895ce0d
hwmon: (lm85) extend to support EMC6D103 chips

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>
Cc: stable@kernel.org
drivers/hwmon/Kconfig
drivers/hwmon/lm85.c