Skip to content

Commit

Permalink
Staging: IIO: kxsd9 accelerometer minimal support
Browse files Browse the repository at this point in the history
This provides only very minimal support for this device.
Note that an alternate driver has been posted to the input
mailing list.

When the original LMKL discussion that led to the descision
to develop IIO occured, the question on whether the differing
requirements of IIO and input drivers made it a good idea
to have unified drivers was left as an open question.
It still is.  All opinions on this question welcome.

Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Jonathan Cameron authored and Greg Kroah-Hartman committed Sep 15, 2009
1 parent 66533b4 commit e435bc1
Show file tree
Hide file tree
Showing 4 changed files with 417 additions and 0 deletions.
7 changes: 7 additions & 0 deletions drivers/staging/iio/accel/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,13 @@
#
comment "Accelerometers"

config KXSD9
tristate "Kionix KXSD9 Accelerometer Driver"
depends on SPI
help
Say yes here to build support for the Kionix KXSD9 accelerometer.
Currently this only supports the device via an SPI interface.

config LIS3L02DQ
tristate "ST Microelectronics LIS3L02DQ Accelerometer Driver"
depends on SPI
Expand Down
2 changes: 2 additions & 0 deletions drivers/staging/iio/accel/Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#
# Makefile for industrial I/O accelerometer drivers
#
obj-$(CONFIG_KXSD9) += kxsd9.o

lis3l02dq-y := lis3l02dq_core.o
obj-$(CONFIG_LIS3L02DQ) += lis3l02dq.o
Loading

0 comments on commit e435bc1

Please sign in to comment.