iio:accel: Add STMicroelectronics accelerometers driver
authorDenis Ciocca <denis.ciocca@gmail.com>
Fri, 25 Jan 2013 23:44:00 +0000 (23:44 +0000)
committerJonathan Cameron <jic23@kernel.org>
Thu, 31 Jan 2013 17:56:43 +0000 (17:56 +0000)
commitd62511689de5d34d3a07c43db1f46a234bb77b5f
tree945bdd5e1ab436db7ed3c1d58966cb7291320662
parent23491b513bcd3dfe4ddb94547d73d9deb94eda44
iio:accel: Add STMicroelectronics accelerometers driver

This patch adds a generic accelerometer driver for STMicroelectronics
accelerometers, currently it supports:
LSM303DLH, LSM303DLHC, LIS3DH, LSM330D, LSM330DL, LSM330DLC,
LIS331DLH, LSM303DL, LSM303DLM, LSM330.

Signed-off-by: Denis Ciocca <denis.ciocca@st.com>
Reviewed-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/accel/Kconfig
drivers/iio/accel/Makefile
drivers/iio/accel/st_accel.h [new file with mode: 0644]
drivers/iio/accel/st_accel_buffer.c [new file with mode: 0644]
drivers/iio/accel/st_accel_core.c [new file with mode: 0644]
drivers/iio/accel/st_accel_i2c.c [new file with mode: 0644]
drivers/iio/accel/st_accel_spi.c [new file with mode: 0644]