linux-hwmon.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Nicolin Chen <nicoleotsuka@gmail.com>
To: jdelvare@suse.com, linux@roeck-us.net
Cc: linux-hwmon@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: [PATCH v5 0/4] hwmon: (ina3221) Implement PM runtime to save power
Date: Mon,  5 Nov 2018 12:48:39 -0800	[thread overview]
Message-ID: <20181105204843.4081-1-nicoleotsuka@gmail.com> (raw)

This series patches implement PM runtime feature in the ina3221 hwmon
driver (PATCH-4). However, PATCH-[1:3] are required to make sure that
the PM runtime feature would be functional and safe.

Changelog
v4->v5:
 * Dropped the change for hwmon core; Shifted all the patch indexes
 * Used i2c_client dev pointer for pm runtime callbacks (PATCH-4)
v3->v4:
 * Added generic pm runtime functions to hwmon class (PATCH-1)
 * Updated to pass pm pointer via _with_info API (PATCH-5)
v2->v3:
 * Dropped timeout dev_err messages as it's indicated in errno (PATCH-4)
 * Improved a dev_err message and comments (PATCH-5)
v1->v2:
 * Added device pointer check (PATCH-1)
 * Returned 0 for alert flags (PATCH-2)
 * Moved CVRF polling to data read routine (PATCH-4)
 * Bypassed i2c_client->dev in suspend/resume() (PATCH-5)

Nicolin Chen (4):
  hwmon: (ina3221) Check channel status for alarms attribute read
  hwmon: (ina3221) Serialize sysfs ABI accesses
  hwmon: (ina3221) Make sure data is ready before reading
  hwmon: (ina3221) Add PM runtime support

 drivers/hwmon/ina3221.c | 190 +++++++++++++++++++++++++++++++++++-----
 1 file changed, 166 insertions(+), 24 deletions(-)

-- 
2.17.1

             reply	other threads:[~2018-11-05 20:48 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-11-05 20:48 Nicolin Chen [this message]
2018-11-05 20:48 ` [PATCH v5 1/4] hwmon: (ina3221) Check channel status for alarms attribute read Nicolin Chen
2018-11-05 20:48 ` [PATCH v5 2/4] hwmon: (ina3221) Serialize sysfs ABI accesses Nicolin Chen
2018-11-05 20:48 ` [PATCH v5 3/4] hwmon: (ina3221) Make sure data is ready before reading Nicolin Chen
2018-11-05 20:48 ` [PATCH v5 4/4] hwmon: (ina3221) Add PM runtime support Nicolin Chen
2018-11-09 22:57 ` [PATCH v5 0/4] hwmon: (ina3221) Implement PM runtime to save power Guenter Roeck

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=20181105204843.4081-1-nicoleotsuka@gmail.com \
    --to=nicoleotsuka@gmail.com \
    --cc=jdelvare@suse.com \
    --cc=linux-hwmon@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux@roeck-us.net \
    /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).