diff options
| author | Hector Palacios <[email protected]> | 2013-12-23 17:48:00 +0000 |
|---|---|---|
| committer | Jonathan Cameron <[email protected]> | 2014-01-01 14:16:43 +0000 |
| commit | f6db68a405c795481e15c6c34c865f511b2a098e (patch) | |
| tree | e51d043b498b48913a03453049c25d4a00eedf41 /tools/perf/scripts/python/net_dropmonitor.py | |
| parent | 971672c0b3ccd16ce53299f1ccac0253fc6d7bf6 (diff) | |
iio: mxs-lradc: add scale attribute to channels
Some LRADC channels have fixed pre-dividers and all have an optional
divider by two which allows a maximum input voltage of VDDIO - 50mV.
This patch
- adds the scaling info flag to all channels
- grabs the max reference voltage per channel
(where the fixed pre-dividers apply)
- allows to read the scaling attribute (computed from the Vref)
Signed-off-by: Hector Palacios <[email protected]>.
Signed-off-by: Alexandre Belloni <[email protected]>
Acked-by: Marek Vasut <[email protected]>
Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions