sensors: Implement MPU9250 driver

MPU9250 driver for 9-axis
gyroscope, accelerometer, magnetometer

Signed-off-by: Dominik Chat <dominik.chat@nordicsemi.no>
This commit is contained in:
Dominik Chat 2021-11-26 10:22:54 +01:00 committed by Carles Cufí
commit 3e6ab47455
13 changed files with 1211 additions and 0 deletions

View file

@ -154,6 +154,18 @@ test_i2c_mpu9150: mpu9150@16 {
reg = <0x16>;
};
test_i2c_mpu9250: mpu9250@1e {
compatible = "invensense,mpu9250";
reg = <0x1e>;
irq-gpios = <&test_gpio 0 0>;
gyro-sr-div = <10>;
gyro-dlpf = <5>;
gyro-fs = <250>;
accel-fs = <2>;
accel-dlpf="5.05";
label = "MPU9250";
};
test_i2c_ina219: ina219@40 {
compatible = "ti,ina219";
label = "INA219";

View file

@ -72,6 +72,7 @@ CONFIG_MAX6675=y
CONFIG_MCP9808=y
CONFIG_MPR=y
CONFIG_MPU6050=y
CONFIG_MPU9250=y
CONFIG_MS5607=y
CONFIG_MS5837=y
CONFIG_OPT3001=y

View file

@ -30,6 +30,7 @@ CONFIG_LSM9DS0_GYRO_TRIGGER_DRDY=y
CONFIG_LSM9DS0_GYRO_TRIGGERS=y
CONFIG_MCP9808_TRIGGER_OWN_THREAD=y
CONFIG_MPU6050_TRIGGER_OWN_THREAD=y
CONFIG_MPU9250_TRIGGER_OWN_THREAD=y
CONFIG_SHT3XD_TRIGGER_OWN_THREAD=y
CONFIG_SM351LT_TRIGGER_OWN_THREAD=y
CONFIG_STTS751_TRIGGER_OWN_THREAD=y