hwmon: (lm75) Add support for Analog Devices ADT75
authorMichael Hennerich <michael.hennerich@analog.com>
Thu, 13 Oct 2011 08:43:31 +0000 (04:43 -0400)
committerGuenter Roeck <guenter.roeck@ericsson.com>
Mon, 24 Oct 2011 18:09:45 +0000 (11:09 -0700)
Add datasheet reference and device ID for ADT75.

The ADT75, like some other LM75 derivatives, needs to be instantiated
using methods 1, 2, or 4.
For more information see Documentation/i2c/instantiating-devices.

Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Acked-by: Jonathan Cameron <jic23@cam.ac.uk>
Acked-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com>
Documentation/hwmon/lm75
drivers/hwmon/Kconfig
drivers/hwmon/lm75.c

index a1790401fddee6bed131867878257b2004a91989..8d40d0fda10ab1fd698b0e96e8e9d6ce1e2ec605 100644 (file)
@@ -32,6 +32,11 @@ Supported chips:
     Addresses scanned: I2C 0x48 - 0x4f
     Datasheet: Publicly available at the Microchip website
                http://www.microchip.com/
+  * Analog Devices ADT75
+    Prefix: 'adt75'
+    Addresses scanned: I2C 0x48 - 0x4f
+    Datasheet: Publicly available at the Analog Devices website
+               http://www.analog.com/adt75
 
 Author: Frodo Looijaard <frodol@dds.nl>
 
index 378ed8ae34d05d1dbf1cb5f1546550cc2a0dd03d..9b347acf1559f64af22f9a6565fe95a88d99ca2f 100644 (file)
@@ -551,6 +551,7 @@ config SENSORS_LM75
          If you say yes here you get support for one common type of
          temperature sensor chip, with models including:
 
+               - Analog Devices ADT75
                - Dallas Semiconductor DS75 and DS1775
                - Maxim MAX6625 and MAX6626
                - Microchip MCP980x
index ef902d5d06ab9f98e610f63ed0ee709eb0f66b87..669481baac005449f107784dc4f0464ea1cf91d8 100644 (file)
@@ -35,6 +35,7 @@
  */
 
 enum lm75_type {               /* keep sorted in alphabetical order */
+       adt75,
        ds1775,
        ds75,
        lm75,
@@ -213,6 +214,7 @@ static int lm75_remove(struct i2c_client *client)
 }
 
 static const struct i2c_device_id lm75_ids[] = {
+       { "adt75", adt75, },
        { "ds1775", ds1775, },
        { "ds75", ds75, },
        { "lm75", lm75, },