summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorJavier Carrasco <javier.carrasco.cruz@gmail.com>2024-03-03 22:54:20 +0100
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2024-03-25 20:10:13 +0000
commitf764c293a1f8a4ee849d377a804e3940a208ad0b (patch)
treed60c517547885d6ba19962ebcc3805b4bf6a204b /tools/perf/scripts/python
parentd1efcf8871db514ae349a24790afd1632ba31030 (diff)
iio: humidity: hdc3020: add power management
The HDC3020 sensor carries out periodic measurements during normal operation, but as long as the power supply is enabled, it will carry on in low-power modes. In order to avoid that and reduce power consumption, the device can be switched to Trigger-on Demand mode, and if possible, turn off its regulator. According to the datasheet, the maximum "Power Up Ready" is 5 ms. Add resume/suspend pm operations to manage measurement mode and regulator state. Signed-off-by: Javier Carrasco <javier.carrasco.cruz@gmail.com> Link: https://lore.kernel.org/r/20240303-hdc3020-pm-v3-1-48bc02b5241b@gmail.com Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions