]> asedeno.scripts.mit.edu Git - linux.git/commit
iio: Add channel for Position Relative
authorEugen Hristev <eugen.hristev@microchip.com>
Tue, 22 May 2018 07:52:32 +0000 (10:52 +0300)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 10 Jun 2018 10:55:15 +0000 (11:55 +0100)
commit3055a6cfa04ba4288589778925e8838261e56078
treefb0febf4e937104fe330848f552da7e2cff3529a
parentd22cd4dd6677274df30a38149891524dde8859f3
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>
Documentation/ABI/testing/sysfs-bus-iio
drivers/iio/industrialio-core.c
include/uapi/linux/iio/types.h
tools/iio/iio_event_monitor.c