Analog Devices ADXL345 3-Axis Digital Accelerometer SPI Driver

modulename: adxl345_spi.ko

configname: CONFIG_ADXL345_SPI

Linux Kernel Configuration
└─>Device Drivers
└─>Industrial I/O support
└─>Accelerometers
└─>SPI support
└─>Analog Devices ADXL345 3-Axis Digital Accelerometer SPI Driver
In linux kernel since version 4.2 (release Date: 2015-08-30)  
Say Y here if you want to build support for the Analog Devices
ADXL345 3-axis digital accelerometer.

To compile this driver as a module, choose M here: the module
will be called adxl345_spi and you will also get adxl345_core
for the core module.

source code: