aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorAlexandru Ardelean <[email protected]>2018-09-13 11:44:09 +0300
committerJonathan Cameron <[email protected]>2018-09-16 12:18:20 +0100
commit4ee033301c898dd0835d035d0e0eb768a3d35da1 (patch)
tree08d73efd6066e671599a67ccb3ebf64d84d84047 /tools/perf/scripts/python
parent6029b7ac292abd36f8dff7f75e83dfd01332b265 (diff)
staging:iio:ad7606: fix voltage scales
Fixes commit 17be2a2905a6ec9aa27cd59521495e2f490d2af0 ("staging: iio: ad7606: replace range/range_available with corresponding scale"). The AD7606 devices don't have a 2.5V voltage range, they have 5V & 10V voltage range, which is selectable via the `gpio_range` descriptor. The scales also seem to have been miscomputed, because when they were applied to the raw values, the results differ from the expected values. After checking the ADC transfer function in the datasheet, these were re-computed. Signed-off-by: Alexandru Ardelean <[email protected]> Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions