mbox series

[v2,0/5] hwmon: (ina3221) Implement PM runtime to save power

Message ID 20181024023623.4231-1-nicoleotsuka@gmail.com (mailing list archive)
Headers show
Series hwmon: (ina3221) Implement PM runtime to save power | expand

Message

Nicolin Chen Oct. 24, 2018, 2:36 a.m. UTC
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
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) Inherit power properties to hdev
  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   |   7 +-
 drivers/hwmon/ina3221.c | 213 +++++++++++++++++++++++++++++++++++-----
 2 files changed, 192 insertions(+), 28 deletions(-)