aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorMartin Kepplinger <[email protected]>2016-04-25 14:08:25 +0200
committerJonathan Cameron <[email protected]>2016-05-04 11:46:39 +0100
commited859fc17d67f4c0ade6f5a58365e621f88de3cf (patch)
treefe48dab9c9e9d23e26e719606fe0a8f30ef04971 /tools/perf/scripts/python
parent6994aea7842d824a8cc38c950ddcab3f8a75c278 (diff)
iio: mma8452: add support for oversampling ratio
This adds the following sysfs files according to the iio ABI: -rw-r--r-- 4096 in_accel_oversampling_ratio -r--r--r-- 4096 in_accel_oversampling_ratio_available Internally, the device knows about 4 different power modes that differ in oversampling ratio (and power consumption). We just show the user what oversampling ratio(s) is/are available, depending on the current frequency. The referenced table in the datasheets makes it easier to understand. Signed-off-by: Martin Kepplinger <[email protected]> Signed-off-by: Christoph Muellner <[email protected]> Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions