Skip to content

Commit dec155a

Browse files
committed
iio: position: Add driver for ADMT4000
Add ADI ADMT4000 magnetic turn count sensor driver support Signed-off-by: adiceline <celinejoy.capua@analog.com>
1 parent 6792eb0 commit dec155a

File tree

3 files changed

+1633
-0
lines changed

3 files changed

+1633
-0
lines changed

drivers/iio/position/Kconfig

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,18 @@
66

77
menu "Linear and angular position sensors"
88

9+
config ADMT4000_POS
10+
tristate "ADMT4000 true power-on multiturn sensor"
11+
depends on SPI
12+
select IIO_BUFFER
13+
select IIO_TRIGGERED_BUFFER
14+
help
15+
Say yes here to build support for Analog Devices ADMT4000 True Power-On
16+
Multiturn Sensor.
17+
18+
To compile this driver as a module, choose M here: the
19+
module will be called admt4000.
20+
921
config IQS624_POS
1022
tristate "Azoteq IQS624/625 angular position sensors"
1123
depends on MFD_IQS62X || COMPILE_TEST

drivers/iio/position/Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,7 @@
44

55
# When adding new entries keep the list in alphabetical order
66

7+
obj-$(CONFIG_ADMT4000_POS) += admt4000.o
8+
obj-$(CONFIG_ADMT4000_ADG714) += adg714.o
79
obj-$(CONFIG_HID_SENSOR_CUSTOM_INTEL_HINGE) += hid-sensor-custom-intel-hinge.o
810
obj-$(CONFIG_IQS624_POS) += iqs624-pos.o

0 commit comments

Comments
 (0)