Skip to content

hwmon: (ina3221) Implement PM runtime to save power

Nicolin Chen linux-hwmon lkml 5 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest4 patches 1 replyIn review
  2. v45 patches 3 repliesSuperseded
  3. v35 patches 5 repliesSuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v25 patches4 repliesSuperseded
v15 patches11 repliesSuperseded

Changes in v5 from the cover letter

* Dropped the change for hwmon core; Shifted all the patch indexes
* Used i2c_client dev pointer for pm runtime callbacks (PATCH-4)

Patches in v5 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4hwmon: (ina3221) Check channel status for alarms attribute readdrivers/hwmon/ina3221.c+6 -00 replies
2/4hwmon: (ina3221) Serialize sysfs ABI accessesdrivers/hwmon/ina3221.c+45 -60 replies
3/4hwmon: (ina3221) Make sure data is ready before readingdrivers/hwmon/ina3221.c+42 -00 replies
4/4hwmon: (ina3221) Add PM runtime supportdrivers/hwmon/ina3221.c+74 -190 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v5 yet.

Read the v5 thread

Cover letter [PATCH v5 0/4] hwmon: (ina3221) Implement PM runtime to save power

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(-)
Signature · 1 line
2.17.1