Skip to content

Commit

Permalink
hwmon: (lm75) Add support for Analog Devices ADT75
Browse files Browse the repository at this point in the history
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 <[email protected]>
Acked-by: Jonathan Cameron <[email protected]>
Acked-by: Jean Delvare <[email protected]>
Signed-off-by: Guenter Roeck <[email protected]>
  • Loading branch information
mhennerich authored and Guenter Roeck committed Oct 24, 2011
1 parent 1af1f53 commit e96f9d8
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Documentation/hwmon/lm75
Original file line number Diff line number Diff line change
Expand Up @@ -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 <[email protected]>

Expand Down
1 change: 1 addition & 0 deletions drivers/hwmon/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions drivers/hwmon/lm75.c
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
*/

enum lm75_type { /* keep sorted in alphabetical order */
adt75,
ds1775,
ds75,
lm75,
Expand Down Expand Up @@ -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, },
Expand Down

0 comments on commit e96f9d8

Please sign in to comment.