dt-bindings: hwmon: (ina3221) Add ti,single-shot property
authorNicolin Chen <nicoleotsuka@gmail.com>
Thu, 17 Jan 2019 23:12:52 +0000 (15:12 -0800)
committerGuenter Roeck <linux@roeck-us.net>
Mon, 18 Feb 2019 22:23:29 +0000 (14:23 -0800)
commit2e1ce20149ea3cd1cee95a07c51a5b8873c20463
treee0285b707a5502e35391f246c612bdea69210c52
parentd703e7f160540d9e87ffc952f1940f69598d2a38
dt-bindings: hwmon: (ina3221) Add ti,single-shot property

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 patch adds a "ti,single-shot" property to allow changing the
default continuous mode to single-shot operating mode.

Signed-off-by: Nicolin Chen <nicoleotsuka@gmail.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Documentation/devicetree/bindings/hwmon/ina3221.txt