iio: Add channel for Position Relative
Add new channel type for relative position on a pad. These type of analog sensor offers the position of a pen on a touchpad, and is represented as a voltage, which can be converted to a position on X and Y axis on the pad. The channel will hand the relative position on the pad in both directions. The channel can then be consumed by a touchscreen driver or read as-is for a raw indication of the touchpen on a touchpad. Signed-off-by:Eugen Hristev <eugen.hristev@microchip.com> Signed-off-by:
Jonathan Cameron <Jonathan.Cameron@huawei.com>
Showing
- Documentation/ABI/testing/sysfs-bus-iio 12 additions, 0 deletionsDocumentation/ABI/testing/sysfs-bus-iio
- drivers/iio/industrialio-core.c 1 addition, 0 deletionsdrivers/iio/industrialio-core.c
- include/uapi/linux/iio/types.h 1 addition, 0 deletionsinclude/uapi/linux/iio/types.h
- tools/iio/iio_event_monitor.c 2 additions, 0 deletionstools/iio/iio_event_monitor.c
Loading
Please register or sign in to comment