Input: add CMA3000 accelerometer driver
Add support for CMA3000 Tri-axis accelerometer, which supports Motion detect, Measurement and Free fall modes. CMA3000 supports both I2C/SPI bus for communication, currently the driver supports I2C based communication. Signed-off-by:Hemanth V <hemanthv@ti.com> Reviewed-by:
Jonathan Cameron <jic23@cam.ac.uk> Reviewed-by:
Sergio Aguirre <saaguirre@ti.com> Reviewed-by:
Shubhrajyoti <Shubhrajyoti@ti.com> Signed-off-by:
Dmitry Torokhov <dtor@mail.ru>
Showing
- Documentation/input/cma3000_d0x.txt 115 additions, 0 deletionsDocumentation/input/cma3000_d0x.txt
- drivers/input/misc/Kconfig 24 additions, 0 deletionsdrivers/input/misc/Kconfig
- drivers/input/misc/Makefile 2 additions, 0 deletionsdrivers/input/misc/Makefile
- drivers/input/misc/cma3000_d0x.c 398 additions, 0 deletionsdrivers/input/misc/cma3000_d0x.c
- drivers/input/misc/cma3000_d0x.h 42 additions, 0 deletionsdrivers/input/misc/cma3000_d0x.h
- drivers/input/misc/cma3000_d0x_i2c.c 141 additions, 0 deletionsdrivers/input/misc/cma3000_d0x_i2c.c
- include/linux/input/cma3000.h 59 additions, 0 deletionsinclude/linux/input/cma3000.h
Loading
Please register or sign in to comment