summaryrefslogtreecommitdiffstats
path: root/drivers/hwmon
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 /drivers/hwmon
parentc91a88ef846f65764ebe645324672fe54ec76204 (diff)
downloadblackbird-obmc-linux-734c442303ad886fb2471d0fae0845f4a8a958e1.tar.gz
blackbird-obmc-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 'drivers/hwmon')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud