Permalink
Browse files

IIO: add iio driver for ITG3200 3-axis gyroscope.

Each axis can be individually disabled to save power.
Sample rate can be set.
Appropriate clock is set automatically.

No triggers implemented yet, so no streaming of data.  Just read
it from sysfs.

Signed-off-by: NeilBrown <neilb@suse.de>
  • Loading branch information...
1 parent 7278b9f commit 8879dc483a5f4dd3b79269310ee00872ee051967 @neilbrown committed Aug 4, 2012
@@ -2481,6 +2481,7 @@ CONFIG_STAGING=y
# CONFIG_ADIS16130 is not set
# CONFIG_ADIS16260 is not set
# CONFIG_ADXRS450 is not set
+CONFIG_ITG3200=y
#
# Network Analyzer, Impedance Converters
@@ -2478,6 +2478,7 @@ CONFIG_STAGING=y
# CONFIG_ADIS16130 is not set
# CONFIG_ADIS16260 is not set
# CONFIG_ADXRS450 is not set
+CONFIG_ITG3200=y
#
# Network Analyzer, Impedance Converters
@@ -46,4 +46,10 @@ config ADXRS450
This driver can also be built as a module. If so, the module
will be called adxrs450.
+config ITG3200
+ tristate "InvenSence ITG3200 3-axis gyroscope"
+ depends on I2C
+ help
+ Support for 3-axis gyroscope as IIO device
+
endmenu
@@ -20,3 +20,6 @@ obj-$(CONFIG_ADIS16251) += adis16251.o
adxrs450-y := adxrs450_core.o
obj-$(CONFIG_ADXRS450) += adxrs450.o
+
+itg3200-y := itg3200_core.o
+obj-$(CONFIG_ITG3200) += itg3200.o
Oops, something went wrong.

0 comments on commit 8879dc4

Please sign in to comment.