summaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/pmbus
diff options
context:
space:
mode:
authorGuenter Roeck <linux@roeck-us.net>2012-02-28 10:24:54 -0800
committerGuenter Roeck <guenter.roeck@ericsson.com>2012-03-18 18:27:50 -0700
commitc5f35c9d8285f4a065cb0fc2c57f7526e646b30f (patch)
treeb704248033d2c4e490a37ea62ad2a9274ffaa2f9 /drivers/hwmon/pmbus
parent56aad5d143cbce620c079e1acf761b71f59758a0 (diff)
downloadop-kernel-dev-c5f35c9d8285f4a065cb0fc2c57f7526e646b30f.zip
op-kernel-dev-c5f35c9d8285f4a065cb0fc2c57f7526e646b30f.tar.gz
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>
Diffstat (limited to 'drivers/hwmon/pmbus')
-rw-r--r--drivers/hwmon/pmbus/Kconfig2
-rw-r--r--drivers/hwmon/pmbus/pmbus.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/drivers/hwmon/pmbus/Kconfig b/drivers/hwmon/pmbus/Kconfig
index cfec923..7968c81 100644
--- a/drivers/hwmon/pmbus/Kconfig
+++ b/drivers/hwmon/pmbus/Kconfig
@@ -20,7 +20,7 @@ config SENSORS_PMBUS
help
If you say yes here you get hardware monitoring support for generic
PMBus devices, including but not limited to ADP4000, BMR453, BMR454,
- NCP4200, and NCP4208.
+ NCP4200, NCP4208, TPS40400, and TPS40422.
This driver can also be built as a module. If so, the module will
be called pmbus.
diff --git a/drivers/hwmon/pmbus/pmbus.c b/drivers/hwmon/pmbus/pmbus.c
index 3488740..7d5161d 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[] = {
{"pdt006", 1},
{"pdt012", 1},
{"pmbus", 0},
+ {"tps40400", 1},
+ {"tps40422", 2},
{"udt020", 1},
{}
};
OpenPOWER on IntegriCloud