Просмотр исходного кода

hwmon: (pmbus) Add support for Lineage Power MDT040

MDT040 is supported by the generic PMBus driver. Add device ID and reference to
datasheet. Also mention Lineage Power device support in Kconfig.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Guenter Roeck 13 лет назад
Родитель
Сommit
216334094a
3 измененных файлов с 5 добавлено и 2 удалено
  1. 2 1
      Documentation/hwmon/pmbus
  2. 2 1
      drivers/hwmon/pmbus/Kconfig
  3. 1 0
      drivers/hwmon/pmbus/pmbus.c

+ 2 - 1
Documentation/hwmon/pmbus

@@ -15,13 +15,14 @@ Supported chips:
 	http://www.onsemi.com/pub_link/Collateral/NCP4200-D.PDF
 	http://www.onsemi.com/pub_link/Collateral/NCP4200-D.PDF
 	http://www.onsemi.com/pub_link/Collateral/JUNE%202009-%20REV.%200.PDF
 	http://www.onsemi.com/pub_link/Collateral/JUNE%202009-%20REV.%200.PDF
   * Lineage Power
   * Lineage Power
-    Prefixes: 'pdt003', 'pdt006', 'pdt012', 'udt020'
+    Prefixes: 'mdt040', 'pdt003', 'pdt006', 'pdt012', 'udt020'
     Addresses scanned: -
     Addresses scanned: -
     Datasheets:
     Datasheets:
 	http://www.lineagepower.com/oem/pdf/PDT003A0X.pdf
 	http://www.lineagepower.com/oem/pdf/PDT003A0X.pdf
 	http://www.lineagepower.com/oem/pdf/PDT006A0X.pdf
 	http://www.lineagepower.com/oem/pdf/PDT006A0X.pdf
 	http://www.lineagepower.com/oem/pdf/PDT012A0X.pdf
 	http://www.lineagepower.com/oem/pdf/PDT012A0X.pdf
 	http://www.lineagepower.com/oem/pdf/UDT020A0X.pdf
 	http://www.lineagepower.com/oem/pdf/UDT020A0X.pdf
+	http://www.lineagepower.com/oem/pdf/MDT040A0X.pdf
   * Texas Instruments TPS40400, TPS40422
   * Texas Instruments TPS40400, TPS40422
     Prefixes: 'tps40400', 'tps40422'
     Prefixes: 'tps40400', 'tps40422'
     Addresses scanned: -
     Addresses scanned: -

+ 2 - 1
drivers/hwmon/pmbus/Kconfig

@@ -20,7 +20,8 @@ config SENSORS_PMBUS
 	help
 	help
 	  If you say yes here you get hardware monitoring support for generic
 	  If you say yes here you get hardware monitoring support for generic
 	  PMBus devices, including but not limited to ADP4000, BMR453, BMR454,
 	  PMBus devices, including but not limited to ADP4000, BMR453, BMR454,
-	  NCP4200, NCP4208, TPS40400, and TPS40422.
+	  MDT040, NCP4200, NCP4208, PDT003, PDT006, PDT012, UDT020, TPS40400,
+	  and TPS40422.
 
 
 	  This driver can also be built as a module. If so, the module will
 	  This driver can also be built as a module. If so, the module will
 	  be called pmbus.
 	  be called pmbus.

+ 1 - 0
drivers/hwmon/pmbus/pmbus.c

@@ -185,6 +185,7 @@ static const struct i2c_device_id pmbus_id[] = {
 	{"adp4000", 1},
 	{"adp4000", 1},
 	{"bmr453", 1},
 	{"bmr453", 1},
 	{"bmr454", 1},
 	{"bmr454", 1},
+	{"mdt040", 1},
 	{"ncp4200", 1},
 	{"ncp4200", 1},
 	{"ncp4208", 1},
 	{"ncp4208", 1},
 	{"pdt003", 1},
 	{"pdt003", 1},