openbmc.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Eddie James <eajames@linux.ibm.com>
To: openbmc@lists.ozlabs.org
Cc: baileysh@us.ibm.com, Eddie James <eajames@linux.ibm.com>,
	cjcain@us.ibm.com
Subject: [PATCH linux dev-5.15 0/4] hwmon: (occ) Add various poll response data in sysfs
Date: Mon, 14 Feb 2022 17:00:49 -0600	[thread overview]
Message-ID: <20220214230053.38449-1-eajames@linux.ibm.com> (raw)

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


             reply	other threads:[~2022-02-14 23:01 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-02-14 23:00 Eddie James [this message]
2022-02-14 23:00 ` [PATCH linux dev-5.15 1/4] hwmon: (occ) Add sysfs entry for IPS (Idle Power Saver) status Eddie James
2022-02-14 23:00 ` [PATCH linux dev-5.15 2/4] hwmon: (occ) Add sysfs entry for OCC mode Eddie James
2022-02-14 23:00 ` [PATCH linux dev-5.15 3/4] hwmon: (occ) Add sysfs entries for additional extended status bits Eddie James
2022-02-14 23:00 ` [PATCH linux dev-5.15 4/4] hwmon: (occ) Add soft minimum power cap attribute Eddie James

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220214230053.38449-1-eajames@linux.ibm.com \
    --to=eajames@linux.ibm.com \
    --cc=baileysh@us.ibm.com \
    --cc=cjcain@us.ibm.com \
    --cc=openbmc@lists.ozlabs.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).