summaryrefslogtreecommitdiffstats
path: root/drivers/iio/position/Kconfig
diff options
context:
space:
mode:
authorJeff LaBundy <jeff@labundy.com>2020-02-16 17:32:11 -0600
committerLee Jones <lee.jones@linaro.org>2020-03-27 08:25:59 +0000
commit189c3c495ad7382099a641664171d8b047d9e9b5 (patch)
tree67552a6a6408f6be0b5e5d700c5ea0c2cb7572d8 /drivers/iio/position/Kconfig
parentb081b73820945decb2fd39bdc0ccf46a1ddc6d53 (diff)
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>
Diffstat (limited to 'drivers/iio/position/Kconfig')
-rw-r--r--drivers/iio/position/Kconfig19
1 files changed, 19 insertions, 0 deletions
diff --git a/drivers/iio/position/Kconfig b/drivers/iio/position/Kconfig
new file mode 100644
index 000000000000..eda67f008c5b
--- /dev/null
+++ b/drivers/iio/position/Kconfig
@@ -0,0 +1,19 @@
+# SPDX-License-Identifier: GPL-2.0-only
+#
+# Linear and angular position sensors
+#
+# When adding new entries keep the list in alphabetical order
+
+menu "Linear and angular position sensors"
+
+config IQS624_POS
+ tristate "Azoteq IQS624/625 angular position sensors"
+ depends on MFD_IQS62X || COMPILE_TEST
+ help
+ Say Y here if you want to build support for the Azoteq IQS624
+ and IQS625 angular position sensors.
+
+ To compile this driver as a module, choose M here: the module
+ will be called iqs624-pos.
+
+endmenu