diff options
author | Nicolin Chen <nicoleotsuka@gmail.com> | 2019-01-18 00:12:53 +0100 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2019-02-18 23:23:29 +0100 |
commit | 43dece162de0478fee67b635916c9a901a4a47b9 (patch) | |
tree | 2d09f806cd69588a963a6ed337e72c0f05e3580e /drivers/hwmon/adm1029.c | |
parent | dt-bindings: hwmon: (ina3221) Add ti,single-shot property (diff) | |
download | linux-43dece162de0478fee67b635916c9a901a4a47b9.tar.xz linux-43dece162de0478fee67b635916c9a901a4a47b9.zip |
hwmon: (ina3221) Implement ti,single-shot DT 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.
The DT binding doc is updated with a new boolean type property to
allow changing the default operating mode from consuming mode to
single-shot mode, which will measure input on demand and then shut
down to save power.
So this patch implements the DT property accordingly.
Signed-off-by: Nicolin Chen <nicoleotsuka@gmail.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions