iio: st-accel: add support for lis2dh12
authorGiuseppe Barba <giuseppe.barba@st.com>
Thu, 12 Nov 2015 07:36:49 +0000 (08:36 +0100)
committerJonathan Cameron <jic23@kernel.org>
Sat, 14 Nov 2015 19:04:12 +0000 (19:04 +0000)
commit34dc578d99449a83dcb0f5ef4444215590183af4
tree1938f06fd8abf9bbc3c3f5aaa225a2a28cbabca7
parent72a868b38bdd60cbc4084a91fd7b8df3e2bb96ba
iio: st-accel: add support for lis2dh12

This commit add support for STMicroelectronics lis2dh12 accelerometer.
Datasheet for this device can be found here:

http://www.st.com/st-web-ui/static/active/en/resource/technical/
document/datasheet/DM00091513.pdf

Signed-off-by: Giuseppe Barba <giuseppe.barba@st.com>
Acked-by: Denis Ciocca <denis.ciocca@st.com>
Acked-by: Daniel Baluta <daniel.baluta@intel.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Documentation/devicetree/bindings/iio/st-sensors.txt
drivers/iio/accel/Kconfig
drivers/iio/accel/st_accel.h
drivers/iio/accel/st_accel_core.c
drivers/iio/accel/st_accel_i2c.c
drivers/iio/accel/st_accel_spi.c