projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
afde641
)
hwmon: (pmbus) Add IC_DEVICE_ID and IC_DEVICE_REV command definitions
author
Guenter Roeck
<linux@roeck-us.net>
Fri, 24 Jan 2020 17:09:29 +0000
(09:09 -0800)
committer
Guenter Roeck
<linux@roeck-us.net>
Mon, 9 Mar 2020 03:35:47 +0000
(20:35 -0700)
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>
drivers/hwmon/pmbus/pmbus.h
patch
|
blob
|
history
diff --git
a/drivers/hwmon/pmbus/pmbus.h
b/drivers/hwmon/pmbus/pmbus.h
index
13b34bd
..
cbc47af
100644
(file)
--- 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