iio: position: Add support for Azoteq IQS624/625 angle sensors
authorJeff LaBundy <jeff@labundy.com>
Sun, 16 Feb 2020 23:32:11 +0000 (17:32 -0600)
committerLee Jones <lee.jones@linaro.org>
Fri, 27 Mar 2020 08:25:59 +0000 (08:25 +0000)
commit189c3c495ad7382099a641664171d8b047d9e9b5
tree67552a6a6408f6be0b5e5d700c5ea0c2cb7572d8
parentb081b73820945decb2fd39bdc0ccf46a1ddc6d53
iio: position: Add support for Azoteq IQS624/625 angle sensors

This patch adds support for the Azoteq IQS624 and IQS625 angular position
sensors, capable of reporting the angle of a rotating shaft down to 1 and
10 degrees of accuracy, respectively.

This patch also introduces a home for linear and angular position sensors.
Unlike resolvers, they are typically contactless and use the Hall effect.

Signed-off-by: Jeff LaBundy <jeff@labundy.com>
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/iio/Kconfig
drivers/iio/Makefile
drivers/iio/position/Kconfig [new file with mode: 0644]
drivers/iio/position/Makefile [new file with mode: 0644]
drivers/iio/position/iqs624-pos.c [new file with mode: 0644]