diff options
author | Nicolin Chen <nicoleotsuka@gmail.com> | 2019-01-17 15:12:53 -0800 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2019-02-18 14:23:29 -0800 |
commit | 43dece162de0478fee67b635916c9a901a4a47b9 (patch) | |
tree | 2d09f806cd69588a963a6ed337e72c0f05e3580e /certs | |
parent | 2e1ce20149ea3cd1cee95a07c51a5b8873c20463 (diff) | |
download | linux-43dece162de0478fee67b635916c9a901a4a47b9.tar.bz2 |
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 'certs')
0 files changed, 0 insertions, 0 deletions