Commit c98d6c65 authored by Arnaud Ebalard's avatar Arnaud Ebalard Committed by Guenter Roeck

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: default avatarArnaud Ebalard <arno@natisbad.org>
Signed-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
parent 2d3c6275
...@@ -35,6 +35,7 @@ fsl,mc13892 MC13892: Power Management Integrated Circuit (PMIC) for i.MX35/51 ...@@ -35,6 +35,7 @@ fsl,mc13892 MC13892: Power Management Integrated Circuit (PMIC) for i.MX35/51
fsl,mma8450 MMA8450Q: Xtrinsic Low-power, 3-axis Xtrinsic Accelerometer fsl,mma8450 MMA8450Q: Xtrinsic Low-power, 3-axis Xtrinsic Accelerometer
fsl,mpr121 MPR121: Proximity Capacitive Touch Sensor Controller fsl,mpr121 MPR121: Proximity Capacitive Touch Sensor Controller
fsl,sgtl5000 SGTL5000: Ultra Low-Power Audio Codec fsl,sgtl5000 SGTL5000: Ultra Low-Power Audio Codec
gmt,g751 G751: Digital Temperature Sensor and Thermal Watchdog with Two-Wire Interface
infineon,slb9635tt Infineon SLB9635 (Soft-) I2C TPM (old protocol, max 100khz) infineon,slb9635tt Infineon SLB9635 (Soft-) I2C TPM (old protocol, max 100khz)
infineon,slb9645tt Infineon SLB9645 I2C TPM (new protocol, max 400khz) infineon,slb9645tt Infineon SLB9645 I2C TPM (new protocol, max 400khz)
maxim,ds1050 5 Bit Programmable, Pulse-Width Modulator maxim,ds1050 5 Bit Programmable, Pulse-Width Modulator
......
...@@ -656,6 +656,7 @@ config SENSORS_LM75 ...@@ -656,6 +656,7 @@ config SENSORS_LM75
- Analog Devices ADT75 - Analog Devices ADT75
- Dallas Semiconductor DS75, DS1775 and DS7505 - Dallas Semiconductor DS75, DS1775 and DS7505
- Global Mixed-mode Technology (GMT) G751
- Maxim MAX6625 and MAX6626 - Maxim MAX6625 and MAX6626
- Microchip MCP980x - Microchip MCP980x
- National Semiconductor LM75, LM75A - National Semiconductor LM75, LM75A
......
...@@ -39,6 +39,7 @@ enum lm75_type { /* keep sorted in alphabetical order */ ...@@ -39,6 +39,7 @@ enum lm75_type { /* keep sorted in alphabetical order */
ds1775, ds1775,
ds75, ds75,
ds7505, ds7505,
g751,
lm75, lm75,
lm75a, lm75a,
max6625, max6625,
...@@ -208,6 +209,7 @@ lm75_probe(struct i2c_client *client, const struct i2c_device_id *id) ...@@ -208,6 +209,7 @@ lm75_probe(struct i2c_client *client, const struct i2c_device_id *id)
data->resolution = 12; data->resolution = 12;
data->sample_time = HZ / 4; data->sample_time = HZ / 4;
break; break;
case g751:
case lm75: case lm75:
case lm75a: case lm75a:
data->resolution = 9; data->resolution = 9;
...@@ -296,6 +298,7 @@ static const struct i2c_device_id lm75_ids[] = { ...@@ -296,6 +298,7 @@ static const struct i2c_device_id lm75_ids[] = {
{ "ds1775", ds1775, }, { "ds1775", ds1775, },
{ "ds75", ds75, }, { "ds75", ds75, },
{ "ds7505", ds7505, }, { "ds7505", ds7505, },
{ "g751", g751, },
{ "lm75", lm75, }, { "lm75", lm75, },
{ "lm75a", lm75a, }, { "lm75a", lm75a, },
{ "max6625", max6625, }, { "max6625", max6625, },
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment