diff options
author | Michael Hennerich <michael.hennerich@analog.com> | 2010-06-25 11:44:10 -0400 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2010-06-25 11:55:07 -0400 |
commit | e27c729219ad24c8ac9a4b34cf192e56917565c5 (patch) | |
tree | b8cc2d09a31eac384aa90dd99304081e2ef95846 /drivers/input/misc/Kconfig | |
parent | 69a4af606ed4836faa2ec69b1d217f384b8235e7 (diff) |
Input: add driver for ADXL345/346 Digital Accelerometers
This is a driver for the ADXL345/346 Three-Axis Digital Accelerometers.
Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Chris Verges <chrisv@cyberswitching.com>
Signed-off-by: Luotao Fu <l.fu@pengutronix.de>
Signed-off-by: Barry Song <barry.song@analog.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'drivers/input/misc/Kconfig')
-rw-r--r-- | drivers/input/misc/Kconfig | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/drivers/input/misc/Kconfig b/drivers/input/misc/Kconfig index c44b9eafc556..ede6d52fe95c 100644 --- a/drivers/input/misc/Kconfig +++ b/drivers/input/misc/Kconfig | |||
@@ -390,4 +390,41 @@ config INPUT_PCAP | |||
390 | To compile this driver as a module, choose M here: the | 390 | To compile this driver as a module, choose M here: the |
391 | module will be called pcap_keys. | 391 | module will be called pcap_keys. |
392 | 392 | ||
393 | config INPUT_ADXL34X | ||
394 | tristate "Analog Devices ADXL34x Three-Axis Digital Accelerometer" | ||
395 | default n | ||
396 | help | ||
397 | Say Y here if you have a Accelerometer interface using the | ||
398 | ADXL345/6 controller, and your board-specific initialization | ||
399 | code includes that in its table of devices. | ||
400 | |||
401 | This driver can use either I2C or SPI communication to the | ||
402 | ADXL345/6 controller. Select the appropriate method for | ||
403 | your system. | ||
404 | |||
405 | If unsure, say N (but it's safe to say "Y"). | ||
406 | |||
407 | To compile this driver as a module, choose M here: the | ||
408 | module will be called adxl34x. | ||
409 | |||
410 | config INPUT_ADXL34X_I2C | ||
411 | tristate "support I2C bus connection" | ||
412 | depends on INPUT_ADXL34X && I2C | ||
413 | default y | ||
414 | help | ||
415 | Say Y here if you have ADXL345/6 hooked to an I2C bus. | ||
416 | |||
417 | To compile this driver as a module, choose M here: the | ||
418 | module will be called adxl34x-i2c. | ||
419 | |||
420 | config INPUT_ADXL34X_SPI | ||
421 | tristate "support SPI bus connection" | ||
422 | depends on INPUT_ADXL34X && SPI | ||
423 | default y | ||
424 | help | ||
425 | Say Y here if you have ADXL345/6 hooked to a SPI bus. | ||
426 | |||
427 | To compile this driver as a module, choose M here: the | ||
428 | module will be called adxl34x-spi. | ||
429 | |||
393 | endif | 430 | endif |