Accelerometer
This page is an attempt to collect all the information about the various accelerometers in use on Sunxi hardware.
Manufacturers
Bosch
BMA250
Supported in mainline kernel (via bma180 driver).
Devicetree example (from Gemei G9):
&i2c1 { /* ... */ bma250@18 { compatible = "bosch,bma250"; reg = <0x18>; }; };
Domintech
Domintech has [Github page] which contains repositories with Android drivers.
DMARD06
DMARD06 is a ±2g tri-axial digital accelerometer.
Driver for sunxi-3.4 can be found on our mailinglist
Driver for mainline can be found here and landed in 4.9
DMARD09
Driver supported since 4.9
DMARD10
TODO
Freescale
MMA7660
Datasheet: http://cache.freescale.com/files/sensors/doc/data_sheet/MMA7660FC.pdf
MMA8452
Driver in mainline kernel available.
Datasheet: http://cache.freescale.com/files/sensors/doc/data_sheet/MMA8452Q.pdf
MMA8652
Datasheet: http://cache.freescale.com/files/sensors/doc/data_sheet/MMA8652FC.pdf
MMA8653
Datasheet: http://cache.freescale.com/files/sensors/doc/data_sheet/MMA8653FC.pdf
Memsic
MXC622X
TODO
Driver can be found here.
Sensortek
STK8312
TODO
STMicroelectronics
LIS3DH
Driver in mainline kernel available.
Unknown
sc7660
Links: Used by A33_Q7_V1.0