diff options
author | Guenter Roeck <linux@roeck-us.net> | 2012-02-28 13:24:54 -0500 |
---|---|---|
committer | Guenter Roeck <guenter.roeck@ericsson.com> | 2012-03-18 21:27:50 -0400 |
commit | c5f35c9d8285f4a065cb0fc2c57f7526e646b30f (patch) | |
tree | b704248033d2c4e490a37ea62ad2a9274ffaa2f9 | |
parent | 56aad5d143cbce620c079e1acf761b71f59758a0 (diff) |
hwmon: (pmbus) Add support for TI TPS40400 and TPS40422
TPS40400 and TPS40422 are supported by the generic PMBus driver.
Add device IDs and data sheet references.
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
-rw-r--r-- | Documentation/hwmon/pmbus | 6 | ||||
-rw-r--r-- | drivers/hwmon/pmbus/Kconfig | 2 | ||||
-rw-r--r-- | drivers/hwmon/pmbus/pmbus.c | 2 |
3 files changed, 9 insertions, 1 deletions
diff --git a/Documentation/hwmon/pmbus b/Documentation/hwmon/pmbus index d28b591753d1..c2b157ba9006 100644 --- a/Documentation/hwmon/pmbus +++ b/Documentation/hwmon/pmbus | |||
@@ -22,6 +22,12 @@ Supported chips: | |||
22 | http://www.lineagepower.com/oem/pdf/PDT006A0X.pdf | 22 | http://www.lineagepower.com/oem/pdf/PDT006A0X.pdf |
23 | http://www.lineagepower.com/oem/pdf/PDT012A0X.pdf | 23 | http://www.lineagepower.com/oem/pdf/PDT012A0X.pdf |
24 | http://www.lineagepower.com/oem/pdf/UDT020A0X.pdf | 24 | http://www.lineagepower.com/oem/pdf/UDT020A0X.pdf |
25 | * Texas Instruments TPS40400, TPS40422 | ||
26 | Prefixes: 'tps40400', 'tps40422' | ||
27 | Addresses scanned: - | ||
28 | Datasheets: | ||
29 | http://www.ti.com/lit/gpn/tps40400 | ||
30 | http://www.ti.com/lit/gpn/tps40422 | ||
25 | * Generic PMBus devices | 31 | * Generic PMBus devices |
26 | Prefix: 'pmbus' | 32 | Prefix: 'pmbus' |
27 | Addresses scanned: - | 33 | Addresses scanned: - |
diff --git a/drivers/hwmon/pmbus/Kconfig b/drivers/hwmon/pmbus/Kconfig index cfec923f42b7..7968c815f443 100644 --- a/drivers/hwmon/pmbus/Kconfig +++ b/drivers/hwmon/pmbus/Kconfig | |||
@@ -20,7 +20,7 @@ config SENSORS_PMBUS | |||
20 | help | 20 | help |
21 | If you say yes here you get hardware monitoring support for generic | 21 | If you say yes here you get hardware monitoring support for generic |
22 | PMBus devices, including but not limited to ADP4000, BMR453, BMR454, | 22 | PMBus devices, including but not limited to ADP4000, BMR453, BMR454, |
23 | NCP4200, and NCP4208. | 23 | NCP4200, NCP4208, TPS40400, and TPS40422. |
24 | 24 | ||
25 | This driver can also be built as a module. If so, the module will | 25 | This driver can also be built as a module. If so, the module will |
26 | be called pmbus. | 26 | be called pmbus. |
diff --git a/drivers/hwmon/pmbus/pmbus.c b/drivers/hwmon/pmbus/pmbus.c index 34887408505b..7d5161dd04f0 100644 --- a/drivers/hwmon/pmbus/pmbus.c +++ b/drivers/hwmon/pmbus/pmbus.c | |||
@@ -191,6 +191,8 @@ static const struct i2c_device_id pmbus_id[] = { | |||
191 | {"pdt006", 1}, | 191 | {"pdt006", 1}, |
192 | {"pdt012", 1}, | 192 | {"pdt012", 1}, |
193 | {"pmbus", 0}, | 193 | {"pmbus", 0}, |
194 | {"tps40400", 1}, | ||
195 | {"tps40422", 2}, | ||
194 | {"udt020", 1}, | 196 | {"udt020", 1}, |
195 | {} | 197 | {} |
196 | }; | 198 | }; |