hwmon: (pmbus) Add support for TEMP2 peak
PATCH 1/4 hwmon: (pmbus) Add support for TEMP2 peak
At least one PMBus chip supports peak attributes for READ_TEMPERATURE2. Add virtual registers to be able to report it to the user.
Signed-off-by Guenter Roeck <[email protected]>
--- drivers/hwmon/pmbus/pmbus.h | 3 ++ drivers/hwmon/pmbus/pmbus_core.c | 45 +++++++++++++++++++++++++++++++++---- 2 files changed, 43 insertions(+), 5 deletions(-)
drivers/hwmon/pmbus/pmbus.h +3 -0
@@ -168,6 +168,9 @@#define PMBUS_VIRT_READ_IOUT_MIN (PMBUS_VIRT_BASE + 19)#define PMBUS_VIRT_READ_IOUT_MAX (PMBUS_VIRT_BASE + 20)#define PMBUS_VIRT_RESET_IOUT_HISTORY (PMBUS_VIRT_BASE + 21) +#define PMBUS_VIRT_READ_TEMP2_MIN (PMBUS_VIRT_BASE + 22) +#define PMBUS_VIRT_READ_TEMP2_MAX (PMBUS_VIRT_BASE + 23) +#define PMBUS_VIRT_RESET_TEMP2_HISTORY (PMBUS_VIRT_BASE + 24)/* * CAPABILITY
drivers/hwmon/pmbus/pmbus_core.c +40 -5
63 lines not on this page · raw message
Signature · 7 lines
1.7.3.1 _______________________________________________ lm-sensors mailing list [email protected] http://lists.lm-sensors.org/mailman/listinfo/lm-sensors