Thomas Gleixner
ec8f24b7fa
treewide: Add SPDX license identifier - Makefile/Kconfig
...
Add SPDX license identifiers to all Make/Kconfig files which:
- Have no license information of any form
These files fall under the project license, GPL v2 only. The resulting SPDX
license identifier is:
GPL-2.0-only
Signed-off-by: Thomas Gleixner <tglx@linutronix.de >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2019-05-21 10:50:46 +02:00
Lorenzo Bianconi
43901008fd
iio: imu: st_lsm6dsx: add support to LSM6DSR
...
Add support to STM LSM6DSR 6-axis (acc + gyro) Mems sensor
https://www.st.com/resource/en/datasheet/lsm6dsr.pdf
Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org >
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com >
2019-04-07 11:29:43 +01:00
Lorenzo Bianconi
6af0e8a9a7
iio: imu: st_lsm6dsx: add support to LSM6DSOX
...
Add support to STM LSM6DSOX 6-axis (acc + gyro) Mems sensor
https://www.st.com/resource/en/datasheet/lsm6dsox.pdf
Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org >
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com >
2019-04-04 20:20:00 +01:00
Lorenzo Bianconi
3054c4ff28
iio: imu: st_lsm6dsx: add support to ASM330LHH
...
Add support to STM ASM330LHH 6-axis (acc + gyro) Mems sensor
https://www.st.com/resource/en/datasheet/asm330lhh.pdf
Tested-by: Mario Tesi <mario.tesi@st.com >
Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org >
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com >
2019-04-04 20:19:49 +01:00
Lorenzo Bianconi
801a6e0af0
iio: imu: st_lsm6dsx: add support to LSM6DSO
...
Add support to STM LSM6DSO 6-axis (acc + gyro) Mems sensor
https://www.st.com/resource/en/datasheet/lsm6dso.pdf
Signed-off-by: Lorenzo Bianconi <lorenzo.bianconi@redhat.com >
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com >
2018-09-02 21:30:47 +01:00
Lorenzo Bianconi
179c8d608c
iio: imu: st_lsm6dsx: add support to ism330dlc
...
Add support to STM ISM330DLC 6-axis (acc + gyro) Mems sensor
http://www.st.com/resource/en/datasheet/ism330dlc.pdf
Signed-off-by: Lorenzo Bianconi <lorenzo.bianconi@redhat.com >
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com >
2018-04-08 17:27:10 +01:00
Lorenzo Bianconi
51a8b70762
iio: imu: st_lsm6dsx: add regmap API support
...
Introduce regmap API support to access to i2c/spi bus instead of
using a custom support. Set max bulk read to
(32 / SAMPLE_SIZE) * SAMPLE_SIZE since spi_write_then_read() used in
regmap_spi indicates that is the max buffer length to use in order to
avoid a kmalloc for each bus access.
Remove lock mutex since concurrency is already managed by regmap API
Signed-off-by: Lorenzo Bianconi <lorenzo.bianconi@redhat.com >
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2018-01-08 16:03:43 +01:00
Lorenzo Bianconi
df47710a6e
iio: imu: st_lsm6dsx: add support to lsm6ds3h
...
Add support to STM LSM6DS3H 6-axis (acc + gyro) Mems sensor
http://www.st.com/resource/en/datasheet/lsm6ds3h.pdf
Signed-off-by: Lorenzo Bianconi <lorenzo.bianconi@st.com >
Signed-off-by: Jonathan Cameron <jic23@kernel.org >
2017-02-04 12:25:05 +00:00
Lorenzo Bianconi
0b2a3e5f17
iio: imu: st_lsm6dsx: add support to lsm6dsl
...
Add support to STM LSM6DSL 6-axis (acc + gyro) Mems sensor
http://www.st.com/resource/en/datasheet/lsm6dsl.pdf
Signed-off-by: Lorenzo Bianconi <lorenzo.bianconi@st.com >
Signed-off-by: Jonathan Cameron <jic23@kernel.org >
2017-02-04 12:23:37 +00:00
Lorenzo Bianconi
290a6ce11d
iio: imu: add support to lsm6dsx driver
...
Add support to STM LSM6DS3-LSM6DSM 6-axis (acc + gyro) Mems sensor
http://www.st.com/resource/en/datasheet/lsm6ds3.pdf
http://www.st.com/resource/en/datasheet/lsm6dsm.pdf
- continuous mode support
- i2c support
- spi support
- sw fifo mode support
- supported devices: lsm6ds3, lsm6dsm
Signed-off-by: Lorenzo Bianconi <lorenzo.bianconi@st.com >
Signed-off-by: Jonathan Cameron <jic23@kernel.org >
2017-01-14 12:40:37 +00:00