summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorSiddartha Mohanadoss <smohanad@codeaurora.org>2016-07-19 21:24:30 -0700
committerNicholas Troast <ntroast@codeaurora.org>2016-08-02 11:37:08 -0700
commite64cce5256a3c48e950cb53ee38bb36c607ada3e (patch)
treefb006b78e0929a7ec402c1396fba579aa8a0ad68 /tools/perf/scripts/python/export-to-postgresql.py
parent2a61ba9c0d40dfdd8ecb5207329e376793e2459d (diff)
iio: adc: rradc: Update RRADC reads and scaling
A check is needed to ensure the LSB and MSB are coherent when reading the result registers for the RRADC channels. The driver performs another round of read request and compares the result registers to ensure the data read back is coherent. Since there are no channel specific properties remove the dependency to add the channel nodes in the device tree and instead statically register the channels within the driver. Update the scaling functions to report in the units desired for the final scaled value based on the channel. The resistance channel reports the units for batt_id in ohms, the voltage channels such as DCIN, USBIN report the value in units of microvolts, the current channels in units of microamps and the temperature channels such as thermistors are reported in units of millidegC. Change-Id: I56e6bff28be2cc23f00622d5c37e42564c51a72f Signed-off-by: Siddartha Mohanadoss <smohanad@codeaurora.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions