iio: magnetometer: add support to LIS2MDL
authorLorenzo Bianconi <lorenzo.bianconi83@gmail.com>
Wed, 16 Aug 2017 17:02:52 +0000 (19:02 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Thu, 17 Aug 2017 14:51:39 +0000 (15:51 +0100)
commitd0b7fea58ab91d6363430cbc00b1d1e1b1996552
tree4095ada5faec097ea265c8b71e41a965b5d2d99a
parent3f09b8d2ea9940041557fffd55244da5bc434a99
iio: magnetometer: add support to LIS2MDL

add support to STMicroelectronics LIS2MDL magnetometer in
st_magn framework

http://www.st.com/resource/en/datasheet/lis2mdl.pdf
Signed-off-by: Lorenzo Bianconi <lorenzo.bianconi@st.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/magnetometer/st_magn.h
drivers/iio/magnetometer/st_magn_core.c
drivers/iio/magnetometer/st_magn_i2c.c
drivers/iio/magnetometer/st_magn_spi.c