Skip to content

Commit

Permalink
hwmon: (pmbus) Add IC_DEVICE_ID and IC_DEVICE_REV command definitions
Browse files Browse the repository at this point in the history
Recent PMBus versions added IC_DEVICE_ID and IC_DEVICE_REV commands as
additional means to identify the chip. Add command definitions to
pmbus.h include file.

Cc: Vadim Pasternak <vadimp@mellanox.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
  • Loading branch information
Guenter Roeck committed Mar 9, 2020
1 parent afde641 commit a1dd176
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions drivers/hwmon/pmbus/pmbus.h
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,9 @@ enum pmbus_regs {
PMBUS_MFR_DATE = 0x9D,
PMBUS_MFR_SERIAL = 0x9E,

PMBUS_IC_DEVICE_ID = 0xAD,
PMBUS_IC_DEVICE_REV = 0xAE,

/*
* Virtual registers.
* Useful to support attributes which are not supported by standard PMBus
Expand Down

0 comments on commit a1dd176

Please sign in to comment.