All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v4 0/5] hwmon: (ina3221) Implement PM runtime to save power
@ 2018-10-25 23:51 Nicolin Chen
  2018-10-25 23:51 ` [PATCH v4 1/5] hwmon: (core) Add pm ops to hwmon class Nicolin Chen
                   ` (4 more replies)
  0 siblings, 5 replies; 9+ messages in thread
From: Nicolin Chen @ 2018-10-25 23:51 UTC (permalink / raw)
  To: jdelvare, linux; +Cc: linux-hwmon, linux-kernel

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

Changelog
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 (5):
  hwmon: (core) Add pm_runtime to hwmon class
  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/hwmon.c   |  24 ++++
 drivers/hwmon/ina3221.c | 290 ++++++++++++++++++++++++++++++----------
 include/linux/hwmon.h   |   2 +
 3 files changed, 245 insertions(+), 71 deletions(-)

-- 
2.17.1

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2018-11-03 12:08 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-10-25 23:51 [PATCH v4 0/5] hwmon: (ina3221) Implement PM runtime to save power Nicolin Chen
2018-10-25 23:51 ` [PATCH v4 1/5] hwmon: (core) Add pm ops to hwmon class Nicolin Chen
2018-11-02 17:54   ` Guenter Roeck
2018-11-02 19:48     ` Nicolin Chen
2018-11-03  2:59       ` Guenter Roeck
2018-10-25 23:51 ` [PATCH v4 2/5] hwmon: (ina3221) Check channel status for alarms attribute read Nicolin Chen
2018-10-25 23:51 ` [PATCH v4 3/5] hwmon: (ina3221) Serialize sysfs ABI accesses Nicolin Chen
2018-10-25 23:51 ` [PATCH v4 4/5] hwmon: (ina3221) Make sure data is ready before reading Nicolin Chen
2018-10-25 23:51 ` [PATCH v4 5/5] hwmon: (ina3221) Add PM runtime support Nicolin Chen

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.