hwmon: (pmbus) Add ADP4000, NCP4200 and NCP4208 to list of supported devices
authorGuenter Roeck <guenter.roeck@ericsson.com>
Sat, 25 Jun 2011 22:13:44 +0000 (15:13 -0700)
committerGuenter Roeck <guenter.roeck@ericsson.com>
Thu, 28 Jul 2011 22:31:18 +0000 (15:31 -0700)
Add ADP4000, NCP4200 and NCP4208 to the list of devices supported by the generic
PMBus driver, and add device IDs to enable explicit instantiation.

Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com>
Reviewed-by: Robert Coulson <robert.coulson@ericsson.com>
Acked-by: Jean Delvare <khali@linux-fr.org>
Documentation/hwmon/pmbus
drivers/hwmon/pmbus/Kconfig
drivers/hwmon/pmbus/pmbus.c

index 5e462fc7f99b5f2e0f42c4edb92ebc1ac6c7571f..c36c1c1a62bb3915ea47cb865c970720825d0ce3 100644 (file)
@@ -13,6 +13,13 @@ Supported chips:
     Prefix: 'ltc2978'
     Addresses scanned: -
     Datasheet: http://cds.linear.com/docs/Datasheet/2978fa.pdf
+  * ON Semiconductor ADP4000, NCP4200, NCP4208
+    Prefixes: 'adp4000', 'ncp4200', 'ncp4208'
+    Addresses scanned: -
+    Datasheets:
+       http://www.onsemi.com/pub_link/Collateral/ADP4000-D.PDF
+       http://www.onsemi.com/pub_link/Collateral/NCP4200-D.PDF
+       http://www.onsemi.com/pub_link/Collateral/JUNE%202009-%20REV.%200.PDF
   * Generic PMBus devices
     Prefix: 'pmbus'
     Addresses scanned: -
index 794129f48594ccfcb4ff190061facb0d8c65108d..0a822a45085df5c6129fc2c0843491efa35554b7 100644 (file)
@@ -19,8 +19,8 @@ config SENSORS_PMBUS
        default y
        help
          If you say yes here you get hardware monitoring support for generic
-         PMBus devices, including but not limited to BMR450, BMR451, BMR453,
-         BMR454, and LTC2978.
+         PMBus devices, including but not limited to ADP4000, BMR450, BMR451,
+         BMR453, BMR454, LTC2978, NCP4200, and NCP4208.
 
          This driver can also be built as a module. If so, the module will
          be called pmbus.
index 4d8e31bcd7a3d053b7cb1de9c7963c10e0078e3a..73de9f1f3194804c06418f43a5d0491a00ab6edc 100644 (file)
@@ -200,11 +200,14 @@ static int pmbus_remove(struct i2c_client *client)
  * Use driver_data to set the number of pages supported by the chip.
  */
 static const struct i2c_device_id pmbus_id[] = {
+       {"adp4000", 1},
        {"bmr450", 1},
        {"bmr451", 1},
        {"bmr453", 1},
        {"bmr454", 1},
        {"ltc2978", 8},
+       {"ncp4200", 1},
+       {"ncp4208", 1},
        {"pmbus", 0},
        {}
 };