aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorMikko Koivunen <mikko.koivunen@fi.rohmeurope.com>2017-05-18 15:12:55 +0300
committerJonathan Cameron <jic23@kernel.org>2017-05-21 15:06:15 +0100
commit734c442303ad886fb2471d0fae0845f4a8a958e1 (patch)
tree8949cbd40ecbd293231e64adffb3a7bf9be145cf /tools/perf/scripts/python
parentiio: light: rpr0521 sample_frequency read/write (diff)
downloadlinux-734c442303ad886fb2471d0fae0845f4a8a958e1.tar.gz
linux-734c442303ad886fb2471d0fae0845f4a8a958e1.zip
iio: light: rpr0521 proximity offset read/write
Add sysfs read/write proximity offset feature. Offset is read/write from sensor registers. Values are proximity raw 10-bit values. After applying offset value, output values will be (measured_raw - offset_value). Output values are unsigned so offset value doesn't make output negative. Signed-off-by: Mikko Koivunen <mikko.koivunen@fi.rohmeurope.com> Acked-by: Daniel Baluta <daniel.baluta@nxp.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions