Skip to content

Commit

Permalink
iio:gyro: Add support for the ADIS16136 gyroscope
Browse files Browse the repository at this point in the history
This patch adds support for the ADIS16133, ADIS16135, ADIS16136 single channel
gyroscopes. The main difference between them is the sensor precision.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
  • Loading branch information
Lars-Peter Clausen authored and Jonathan Cameron committed Nov 20, 2012
1 parent 57a1228 commit 9caed0d
Show file tree
Hide file tree
Showing 3 changed files with 591 additions and 0 deletions.
9 changes: 9 additions & 0 deletions drivers/iio/gyro/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,15 @@
#
menu "Digital gyroscope sensors"

config ADIS16136
tristate "Analog devices ADIS16136 and similar gyroscopes driver"
depends on SPI_MASTER
select IIO_ADIS_LIB
select IIO_ADIS_LIB_BUFFER if IIO_BUFFER
help
Say yes here to build support for the Analog Devices ADIS16133, ADIS16135,
ADIS16136 gyroscope devices.

config HID_SENSOR_GYRO_3D
depends on HID_SENSOR_HUB
select IIO_BUFFER
Expand Down
1 change: 1 addition & 0 deletions drivers/iio/gyro/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@
# Makefile for industrial I/O gyroscope sensor drivers
#

obj-$(CONFIG_ADIS16136) += adis16136.o
obj-$(CONFIG_HID_SENSOR_GYRO_3D) += hid-sensor-gyro-3d.o
Loading

0 comments on commit 9caed0d

Please sign in to comment.