mbox series

[0/2] hwmon (ina3221) Add single-shot mode support

Message ID 20190105004904.17947-1-nicoleotsuka@gmail.com (mailing list archive)
Headers show
Series hwmon (ina3221) Add single-shot mode support | expand

Message

Nicolin Chen Jan. 5, 2019, 12:49 a.m. UTC
By default, ina3221, as a hardware monitor, continuously measures
the inputs and generates corresponding data. However, for battery
powered devices, this mode might be power consuming.

This series of patches add a feature of changing default operating
mode to its single-shot mode via DT.

Nicolin Chen (2):
  dt-bindings: hwmon: ina3221: Add ti,single-shot property
  hwmon: (ina3221) Implement ti,single-shot DT property

 .../devicetree/bindings/hwmon/ina3221.txt     | 10 +++++++
 drivers/hwmon/ina3221.c                       | 28 +++++++++++++++++++
 2 files changed, 38 insertions(+)