commit | c7eeea93ac60aba3c037af8933a7ffc96ccd495c | [log] [tgz] |
---|---|---|
author | Peter Meerwald <pmeerw@pmeerw.net> | Wed Feb 05 09:51:00 2014 +0000 |
committer | Jonathan Cameron <jic23@kernel.org> | Sat May 03 12:06:25 2014 +0100 |
tree | 0009ddacc7103bed21bb67fab7efef1ada7e8371 | |
parent | 88cece46acb88c4032d34b8b52796e08a99c34d2 [diff] |
iio: Add Freescale MMA8452Q 3-axis accelerometer driver 3-axis accelerometer sensor (2/4/8 g) with 12-bit resolution and I2C interface many extra features are unsupported (freefall detection, orientation change, autosleep) datasheet is here: http://cache.freescale.com/files/sensors/doc/data_sheet/MMA8452Q.pdf v2: (thanks to Jonathan Cameron) * use ARRAY_SIZE() Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net> Signed-off-by: Jonathan Cameron <jic23@kernel.org>