drivers: sensor: add driver for lsm9ds1 sensor
The LSM9DS1 is a system-in-package featuring a 3D digital linear acceleration sensor, a 3D digital angular rate sensor and a 3D digital magnetic sensor. This driver implements only the linear acceleration sensor and the angular rate sensor, on the I2C bus. This driver is without trigger support. The driver is based on the stmemsc HAL. link: https://www.st.com/resource/en/datasheet/lsm9ds1.pdf Signed-off-by: Miguel Gazquez <miguel.gazquez@bootlin.com>
This commit is contained in:
parent
f712f9554b
commit
26be1da3e7
7 changed files with 740 additions and 0 deletions
|
@ -1067,3 +1067,8 @@ test_i2c_sht21@90 {
|
|||
compatible = "sensirion,sht21";
|
||||
reg = <0x90>;
|
||||
};
|
||||
|
||||
test_i2c_lsm9ds1: lsm9ds1@91 {
|
||||
compatible = "st,lsm9ds1";
|
||||
reg = <0x8e>;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue