Skip to contentSkip to conversation

Add support for LM86, MAX6657 and MAX6658 to lm90

PATCH New Jean Delvare 2 participants 2 messages May 19, 2005

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Add support for LM86, MAX6657 and MAX6658 to lm90

Hi Greg,

This adds support for the LM86, MAX6657 and MAX6658 sensor chips to the lm90 driver. These are less popular than the LM90 and ADM1032 but several users have reported to use these, so I added support to the lm90 driver. All these chips are fully compatible so that's just a matter of accepting the new chip ids. I also slightly simplified the detection code.

Should apply fine on top of your current stack.
Thanks.

Signed-off-by Jean Delvare <khali at linux-fr dot org>
drivers/i2c/chips/Kconfig renamed from drivers/i2c/chips.orig/Kconfig +2 -1
diff -ruN linux-2.6.7-mm5/drivers/i2c/chips.orig/Kconfig linux-2.6.7-mm5/drivers/i2c/chips/Kconfig
@@ -164,7 +164,8 @@
 	select I2C_SENSOR
 	help
 	  If you say yes here you get support for National Semiconductor LM90,
-	  LM89 and LM99, and Analog Devices ADM1032 sensor chips.
+	  LM86, LM89 and LM99, Analog Devices ADM1032 and Maxim MAX6657 and
+	  MAX6658 sensor chips.
 
 	  This driver can also be built as a module.  If so, the module
 	  will be called lm90.
drivers/i2c/chips/lm90.c renamed from drivers/i2c/chips.orig/lm90.c +46 -23

137 lines not on this page · raw message

Signature · 2 lines
Jean Delvare
http://khali.linux-fr.org/
Applied
#1 lore raw

PATCH 1/1 Add support for LM86, MAX6657 and MAX6658 to lm90

Quoted 10 lines · Jean Delvare

Hi Greg,

This adds support for the LM86, MAX6657 and MAX6658 sensor chips to the lm90 driver. These are less popular than the LM90 and ADM1032 but several users have reported to use these, so I added support to the lm90 driver. All these chips are fully compatible so that's just a matter of accepting the new chip ids. I also slightly simplified the detection code.

Should apply fine on top of your current stack.

Applied, thanks.

greg k-h