diff options
author | 2015-11-24 12:59:48 +0200 | |
---|---|---|
committer | 2015-12-02 18:42:03 +0000 | |
commit | c3304c212326cfcabb1faf6a0035d0c631778d5b (patch) | |
tree | 797b21c5146f0b6ee5eb721b4583cb199277c5f8 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | dt-bindings: iio: adc: Update mcp342x binding for the mcp3421 (diff) | |
download | wireguard-linux-c3304c212326cfcabb1faf6a0035d0c631778d5b.tar.xz wireguard-linux-c3304c212326cfcabb1faf6a0035d0c631778d5b.zip |
iio: light: us5182d: Add property for choosing default power mode
This chip supports two power modes.
1. "one-shot" mode - the chip activates and executes one complete
conversion loop and then shuts itself down. This is the default mode
chosen for raw reads.
2. "continuous" mode - the chip takes continuous measurements.
Continuous mode is more expensive power-wise but may be more reliable.
Add a property so that if preferred, the default power mode for raw
reads can be set to continuous.
Separate one-shot enabling in a separate function that will be used
depending on the chosen power mode. Also create a function for
powering the chip on and off.
Signed-off-by: Adriana Reus <adriana.reus@intel.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions