mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
hwmon: (lm75) Add support for GMT G751 chip
This was tested on a NETGEAR ReadyNAS 2120 device (Marvell Armada XP based board, via DT). Signed-off-by: Arnaud Ebalard <[email protected]> Signed-off-by: Guenter Roeck <[email protected]>
This commit is contained in:
parent
2d3c627502
commit
c98d6c65e6
3 changed files with 5 additions and 0 deletions
|
|
@ -656,6 +656,7 @@ config SENSORS_LM75
|
|||
|
||||
- Analog Devices ADT75
|
||||
- Dallas Semiconductor DS75, DS1775 and DS7505
|
||||
- Global Mixed-mode Technology (GMT) G751
|
||||
- Maxim MAX6625 and MAX6626
|
||||
- Microchip MCP980x
|
||||
- National Semiconductor LM75, LM75A
|
||||
|
|
|
|||
|
|
@ -39,6 +39,7 @@ enum lm75_type { /* keep sorted in alphabetical order */
|
|||
ds1775,
|
||||
ds75,
|
||||
ds7505,
|
||||
g751,
|
||||
lm75,
|
||||
lm75a,
|
||||
max6625,
|
||||
|
|
@ -208,6 +209,7 @@ lm75_probe(struct i2c_client *client, const struct i2c_device_id *id)
|
|||
data->resolution = 12;
|
||||
data->sample_time = HZ / 4;
|
||||
break;
|
||||
case g751:
|
||||
case lm75:
|
||||
case lm75a:
|
||||
data->resolution = 9;
|
||||
|
|
@ -296,6 +298,7 @@ static const struct i2c_device_id lm75_ids[] = {
|
|||
{ "ds1775", ds1775, },
|
||||
{ "ds75", ds75, },
|
||||
{ "ds7505", ds7505, },
|
||||
{ "g751", g751, },
|
||||
{ "lm75", lm75, },
|
||||
{ "lm75a", lm75a, },
|
||||
{ "max6625", max6625, },
|
||||
|
|
|
|||
Loading…
Reference in a new issue