mbox series

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

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

Message

Nicolin Chen Jan. 17, 2019, 11:12 p.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.

Changelog
v2->v3:
 * Added "Reviewed-by" from Rob to PATCH-1
 * Cleaned-up PATCH-2
v1->v2:
 * Cleaned-up PATCH-2

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                       | 19 +++++++++++++++++++
 2 files changed, 29 insertions(+)

Comments

Guenter Roeck Jan. 17, 2019, 11:36 p.m. UTC | #1
On Thu, Jan 17, 2019 at 03:12:51PM -0800, Nicolin Chen wrote:
> 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.
> 
> Changelog
> v2->v3:
>  * Added "Reviewed-by" from Rob to PATCH-1
>  * Cleaned-up PATCH-2
> v1->v2:
>  * Cleaned-up PATCH-2
> 
> 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                       | 19 +++++++++++++++++++
>  2 files changed, 29 insertions(+)
> 
Series applied to hwmon-next.

Thanks,
Guenter