aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorAlexandru Ardelean <[email protected]>2019-05-30 16:18:10 +0300
committerJonathan Cameron <[email protected]>2019-06-17 21:06:47 +0100
commit11ab555a6d3b0ecbb51076af79e625303bfa61de (patch)
treee205f620544e96e667b4f5fc7d5a86944b4ef661 /tools/perf/scripts/python/bin
parentdbcf6b5d2625b904f13810b168773b05d891204b (diff)
iio: amplifiers: ad8366: rework driver to allow other chips
The SPI gain amplifiers are simple devices, with 1 or 2 channels, to which are read-from/written-to. The gain computation in ad8366_write_raw() has been updated to compute gain in dB for negative values. This driver will be extended to support other chips as well. To do that, this rework handles the AD8366 device as a special-case (via switch-statements). This will make things easier when adding new chips. Signed-off-by: Alexandru Ardelean <[email protected]> Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions