Skip to content

Commit

Permalink
staging: adis16255 - TODO issues resolved and typos removed
Browse files Browse the repository at this point in the history
This patch adds the adis16255 driver to the build system under the staging directory.
It solves also most issues mentioned in TODO list:
- sample rate exported to sysfs
- spi_adis16255_bringup and spi_adis16255_shutdown encapsulated
- chip selftest in spi_adis16255_bringup
- kernel messages reduced to a reasonable number
I removed the TODO file, because ther was only the reset of the gyroscope left.
This is IMOH not necessary for the actual driver.

There are also some typos in adis.c file. This patch should get rid of them as well.

Signed-off-by: Matthias Brugger <mensch0815@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Matthias Brugger authored and Greg Kroah-Hartman committed May 11, 2010
1 parent 2c834b4 commit e390b07
Show file tree
Hide file tree
Showing 6 changed files with 222 additions and 155 deletions.
2 changes: 2 additions & 0 deletions drivers/staging/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -137,5 +137,7 @@ source "drivers/staging/cxt1e1/Kconfig"

source "drivers/staging/ti-st/Kconfig"

source "drivers/staging/adis16255/Kconfig"

endif # !STAGING_EXCLUDE_BUILD
endif # STAGING
1 change: 1 addition & 0 deletions drivers/staging/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -49,3 +49,4 @@ obj-$(CONFIG_VIDEO_DT3155) += dt3155v4l/
obj-$(CONFIG_CRYSTALHD) += crystalhd/
obj-$(CONFIG_CXT1E1) += cxt1e1/
obj-$(CONFIG_TI_ST) += ti-st/
obj-$(CONFIG_ADIS16255)) += adis16255/
10 changes: 6 additions & 4 deletions drivers/staging/adis16255/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,10 @@ config ADIS16255
tristate "Ananlog Devices ADIS16250/16255"
depends on SPI && SYSFS
---help---
If you say yes here you get support for the Analog Devices
ADIS16250/16255 Low Power Gyroscope.
If you say yes here you get support for the Analog Devices
ADIS16250/16255 Low Power Gyroscope. The driver exposes
orientation and gyroscope value, as well as sample rate
to the sysfs.

This driver can also be built as a module. If so, the module
will be called adis16255.
This driver can also be built as a module. If so, the module
will be called adis16255.
2 changes: 1 addition & 1 deletion drivers/staging/adis16255/Makefile
Original file line number Diff line number Diff line change
@@ -1 +1 @@
obj-$(CONFIG_ADIS16255) += adis1625.o
obj-$(CONFIG_ADIS16255) += adis16255.o
8 changes: 0 additions & 8 deletions drivers/staging/adis16255/TODO

This file was deleted.

Loading

0 comments on commit e390b07

Please sign in to comment.