[PATCH 0/4] hwmon: (occ) Add various poll response data in sysfs

From: Eddie James
Date: Tue Feb 15 2022 - 10:11:19 EST


BMC control applications need to check various additional bits in the
extended status in the poll response, as well as the OCC mode and IPS
status bytes. Export all those through sysfs. In addition, add the "soft"
minimum power cap attribute through hwmon.

Eddie James (4):
hwmon: (occ) Add sysfs entry for IPS (Idle Power Saver) status
hwmon: (occ) Add sysfs entry for OCC mode
hwmon: (occ) Add sysfs entries for additional extended status bits
hwmon: (occ) Add soft minimum power cap attribute

drivers/hwmon/occ/common.c | 19 +++++++++++++---
drivers/hwmon/occ/common.h | 2 ++
drivers/hwmon/occ/sysfs.c | 46 ++++++++++++++++++++++++++++++++++++++
3 files changed, 64 insertions(+), 3 deletions(-)

--
2.27.0