diff options
author | 2020-01-24 09:09:29 -0800 | |
---|---|---|
committer | 2020-03-08 20:35:47 -0700 | |
commit | a1dd176c4295f533326185c5228956e02b126939 (patch) | |
tree | 6589fb21d18da45537e56b56fa45653a92b01913 /drivers/hwmon/pmbus | |
parent | hwmon: (ibmaem) Replace zero-length array with flexible-array member (diff) | |
download | linux-a1dd176c4295f533326185c5228956e02b126939.tar.gz linux-a1dd176c4295f533326185c5228956e02b126939.tar.bz2 linux-a1dd176c4295f533326185c5228956e02b126939.zip |
hwmon: (pmbus) Add IC_DEVICE_ID and IC_DEVICE_REV command definitions
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>
Diffstat (limited to 'drivers/hwmon/pmbus')
-rw-r--r-- | drivers/hwmon/pmbus/pmbus.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/hwmon/pmbus/pmbus.h b/drivers/hwmon/pmbus/pmbus.h index 13b34bd67f23..cbc47af732c2 100644 --- a/drivers/hwmon/pmbus/pmbus.h +++ b/drivers/hwmon/pmbus/pmbus.h @@ -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 |