aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorMichał Mirosław <mirq-linux@rere.qmqm.pl>2020-05-04 21:47:45 +0200
committerSebastian Reichel <sebastian.reichel@collabora.com>2020-05-10 23:06:33 +0200
commit21d90eda433f5d39930ca7133340225b8fb7940f (patch)
tree68f696fa0ec344833413976cdb398228c7538699 /tools/perf/scripts/python/export-to-postgresql.py
parentpower: bq25890: use proper CURRENT_NOW property for I_BAT (diff)
downloadlinux-dev-21d90eda433f5d39930ca7133340225b8fb7940f.tar.xz
linux-dev-21d90eda433f5d39930ca7133340225b8fb7940f.zip
power: bq25890: fix ADC mode configuration
Datasheet describes two modes for reading ADC measurements: 1. continuous, 1 Hz - enabled and started by CONV_RATE bit 2. one-shot - triggered by CONV_START bit In continuous mode, CONV_START is read-only and signifies an ongoing conversion. Change the code to follow the datasheet and really disable continuous mode for power saving. Signed-off-by: Michał Mirosław <mirq-linux@rere.qmqm.pl> Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions