Analog Devices ADXL34x Three-Axis Digital Accelerometer

modulename: adxl34x.ko

configname: CONFIG_INPUT_ADXL34X

Linux Kernel Configuration
└─>Device Drivers
└─>Input device support
└─>Miscellaneous devices
└─>Analog Devices ADXL34x Three-Axis Digital Accelerometer
In linux kernel since version 2.6.36 (release Date: 2010-10-20)  
Say Y here if you have a Accelerometer interface using the
ADXL345/6 controller, and your board-specific initialization
code includes that in its table of devices.

This driver can use either I2C or SPI communication to the
ADXL345/6 controller. Select the appropriate method for
your system.

If unsure, say N (but it's safe to say "Y").

To compile this driver as a module, choose M here: the
module will be called adxl34x.

source code: