Skip to contentSkip to conversation

New driver: w83l785ts

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

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 New driver: w83l785ts

Hi Greg,

Here is a patch that adds a new chip driver to Linux 2.6.1 (+ previous patches). The w83l785ts driver handles a single chipset, the Winbond W83L785TS-S. I am the author of the original driver as found in lm_sensors 2.8.3. Wolfgang Ziegler AKA fago made an initial port to Linux 2.6, which I reviewed, and here it is.

drivers/i2c/chips/Kconfig +12 -0
diff -ruN linux-2.6.1-k1/drivers/i2c/chips/Kconfig linux-2.6.1-k2/drivers/i2c/chips/Kconfig
@@ -136,4 +136,16 @@
 	  This driver can also be built as a module.  If so, the module
 	  will be called w83781d.
 
+config SENSORS_W83L785TS
+	tristate "Winbond W83L785TS-S"
+	depends on I2C && EXPERIMENTAL
+	select I2C_SENSOR
+	help
+	  If you say yes here you get support for the Winbond W83L785TS-S
+	  sensor chip, which is used on the Asus A7N8X, among other
+	  motherboards.
+	  
+	  This driver can also be built as a module.  If so, the module
+	  will be called w83l785ts.
+
 endmenu
drivers/i2c/chips/Makefile +1 -0
diff -ruN linux-2.6.1-k1/drivers/i2c/chips/Makefile linux-2.6.1-k2/drivers/i2c/chips/Makefile
@@ -15,3 +15,4 @@
 obj-$(CONFIG_SENSORS_LM85)	+= lm85.o
 obj-$(CONFIG_SENSORS_LM90)	+= lm90.o
 obj-$(CONFIG_SENSORS_VIA686A)	+= via686a.o
+obj-$(CONFIG_SENSORS_W83L785TS)	+= w83l785ts.o
drivers/i2c/chips/w83l785ts.c +309 -0

309 lines not on this page · raw message

include/linux/i2c-id.h +1 -0
diff -ruN linux-2.6.1-k1/include/linux/i2c-id.h linux-2.6.1-k2/include/linux/i2c-id.h
@@ -156,6 +156,7 @@
 #define I2C_DRIVERID_LM83 1040
 #define I2C_DRIVERID_LM90 1042
 #define I2C_DRIVERID_ASB100 1043
+#define I2C_DRIVERID_W83L785TS 1047
 
 /*
  * ---- Adapter types ----------------------------------------------------
Signature · 2 lines
Jean Delvare
http://www.ensicaen.ismra.fr/~delvare/
Applied
#1 lore raw

PATCH 1/1 New driver: w83l785ts

Quoted 7 lines · Jean Delvare

Hi Greg,

Here is a patch that adds a new chip driver to Linux 2.6.1 (+ previous patches). The w83l785ts driver handles a single chipset, the Winbond W83L785TS-S. I am the author of the original driver as found in lm_sensors 2.8.3. Wolfgang Ziegler AKA fago made an initial port to Linux 2.6, which I reviewed, and here it is.

Applied, thanks.

greg k-h