hwmon: add driver for Microchip TC74
Subsystems (2)
PATCH v2 1/1 hwmon: add driver for Microchip TC74
Add hwmon driver for the Microchip TC74.
The TC74 is a single-input 8-bit I2C temperature sensor, with +-2 degrees centigrade accuracy.
Signed-off-by Maciej Szmigiero <[email protected]>
Documentation/hwmon/tc74 new file +20 -0
@@ -0,0 +1,20 @@ +Kernel driver tc74 +========== + +Supported chips: + * Microchip TC74 + Prefix: 'tc74' + Datasheet: Publicly available at Microchip website. + +Description +----------- + +Driver supports the above part. + +The tc74 has an 8-bit sensor, with 1 degree centigrade resolution +and +- 2 degrees centigrade accuracy. + +Notes +----- + +Currently entering low power standby mode is not supported.
drivers/hwmon/Kconfig +10 -0
@@ -1452,6 +1452,16 @@ config SENSORS_INA2XX This driver can also be built as a module. If so, the module will be called ina2xx. +config SENSORS_TC74 + tristate "Microchip TC74" + depends on I2C + help + If you say yes here you get support for Microchip TC74 single + input temperature sensor chips. + + This driver can also be built as a module. If so, the module + will be called tc74. + config SENSORS_THMC50 tristate "Texas Instruments THMC50 / Analog Devices ADM1022" depends on I2C
drivers/hwmon/Makefile +1 -0
@@ -140,6 +140,7 @@ obj-$(CONFIG_SENSORS_SMSC47B397)+= smsc47b397.o obj-$(CONFIG_SENSORS_SMSC47M1) += smsc47m1.o obj-$(CONFIG_SENSORS_SMSC47M192)+= smsc47m192.o obj-$(CONFIG_SENSORS_AMC6821) += amc6821.o +obj-$(CONFIG_SENSORS_TC74) += tc74.o obj-$(CONFIG_SENSORS_THMC50) += thmc50.o obj-$(CONFIG_SENSORS_TMP102) += tmp102.o obj-$(CONFIG_SENSORS_TMP103) += tmp103.o
drivers/hwmon/tc74.c new file +177 -0
177 lines not on this page · raw message
_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
Quoted 7 lines · Maciej S. Szmigiero
Add hwmon driver for the Microchip TC74.
The TC74 is a single-input 8-bit I2C temperature sensor, with +-2 degrees centigrade accuracy.
Signed-off-by Maciej Szmigiero <[email protected]>
Applied to -next.
Thanks,
Guenter
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in Please read the FAQ at http://www.tux.org/lkml/