iio:magnetometer: Add STMicroelectronics magnetometers 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)
commit872e79add7561645b130fba63aa7ca12098a9361
tree96ecdf425cfc12b4050e7e569cdbb4bcc5bf6715
parent7be56a8f57b57cca1651fb97886e20246c168e25
iio:magnetometer: Add STMicroelectronics magnetometers driver

This patch adds a generic magnetometer driver for STMicroelectronics
magnetometers, currently it supports:
LSM303DLHC, LSM303DLM, LIS3MDL.

Signed-off-by: Denis Ciocca <denis.ciocca@st.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/magnetometer/Kconfig
drivers/iio/magnetometer/Makefile
drivers/iio/magnetometer/st_magn.h [new file with mode: 0644]
drivers/iio/magnetometer/st_magn_buffer.c [new file with mode: 0644]
drivers/iio/magnetometer/st_magn_core.c [new file with mode: 0644]
drivers/iio/magnetometer/st_magn_i2c.c [new file with mode: 0644]
drivers/iio/magnetometer/st_magn_spi.c [new file with mode: 0644]