iio: Add channel for Phase
authorMathieu Othacehe <m.othacehe@gmail.com>
Fri, 20 Jul 2018 17:34:25 +0000 (19:34 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sat, 21 Jul 2018 14:28:14 +0000 (15:28 +0100)
commitc73314e6ebb2651a70ca8a3ff08d4bd6b9f9ade1
tree1528be363129351b6f007a93897d476e4d24817b
parentcd570e6fa43a5ed061b91e64dc507a6ac54fac95
iio: Add channel for Phase

Add new channel type support for phase.

This channel may be used by Time-of-flight sensors to express the
phase difference between emitted and received signals. Those sensor
will then use the phase shift of return signals to approximate the
distance to objects.

Signed-off-by: Mathieu Othacehe <m.othacehe@gmail.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Documentation/ABI/testing/sysfs-bus-iio
drivers/iio/industrialio-core.c
include/uapi/linux/iio/types.h
tools/iio/iio_event_monitor.c