]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc6534a306a74a9f60f4cfcaab5528fb148d9d0a3
treee0285b707a5502e35391f246c612bdea69210c52
parent38fb754c1ea30b828c4ed314bd59801d36e11134
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