Skip to content

Commit e0455e3

Browse files
author
Guenter Roeck
committed
hwmon: (pmbus) Add ADP4000, NCP4200 and NCP4208 to list of supported devices
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>
1 parent 1061d85 commit e0455e3

3 files changed

Lines changed: 12 additions & 2 deletions

File tree

‎Documentation/hwmon/pmbus‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,13 @@ Supported chips:
1313
Prefix: 'ltc2978'
1414
Addresses scanned: -
1515
Datasheet: http://cds.linear.com/docs/Datasheet/2978fa.pdf
16+
* ON Semiconductor ADP4000, NCP4200, NCP4208
17+
Prefixes: 'adp4000', 'ncp4200', 'ncp4208'
18+
Addresses scanned: -
19+
Datasheets:
20+
http://www.onsemi.com/pub_link/Collateral/ADP4000-D.PDF
21+
http://www.onsemi.com/pub_link/Collateral/NCP4200-D.PDF
22+
http://www.onsemi.com/pub_link/Collateral/JUNE%202009-%20REV.%200.PDF
1623
* Generic PMBus devices
1724
Prefix: 'pmbus'
1825
Addresses scanned: -

‎drivers/hwmon/pmbus/Kconfig‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ config SENSORS_PMBUS
1919
default y
2020
help
2121
If you say yes here you get hardware monitoring support for generic
22-
PMBus devices, including but not limited to BMR450, BMR451, BMR453,
23-
BMR454, and LTC2978.
22+
PMBus devices, including but not limited to ADP4000, BMR450, BMR451,
23+
BMR453, BMR454, LTC2978, NCP4200, and NCP4208.
2424

2525
This driver can also be built as a module. If so, the module will
2626
be called pmbus.

‎drivers/hwmon/pmbus/pmbus.c‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -200,11 +200,14 @@ static int pmbus_remove(struct i2c_client *client)
200200
* Use driver_data to set the number of pages supported by the chip.
201201
*/
202202
static const struct i2c_device_id pmbus_id[] = {
203+
{"adp4000", 1},
203204
{"bmr450", 1},
204205
{"bmr451", 1},
205206
{"bmr453", 1},
206207
{"bmr454", 1},
207208
{"ltc2978", 8},
209+
{"ncp4200", 1},
210+
{"ncp4208", 1},
208211
{"pmbus", 0},
209212
{}
210213
};

0 commit comments

Comments
 (0)