How to fix MPU9250 configuration issue in device tree?
1
vote
1
answer
295
views
I have set up an i2c protocol which detects the mpu9250 at address 0x68. Now I want to configure the mpu and I have updated my dts file with the following lines of code:
mpu9250@68 {
compatible = "invensense,mpu9250";
reg = ;
i2c-gate {
#address-cells = ;
#size-cells = ;
ax8975@c {
compatible = "ak,ak8975";
reg = ;
};
};
};
However, I get the following error on running >> dmesg | grep mpu
>> inv-mpu6050-i2c 1-0068: invalid whoami 0x40 expected 0x71 (MPU9250)
For this I have also configured the i2cmux and Industrial I/O (IIO) through the developer shell with the "make menuconfig" command. But I see no expected results. Where could I have possibly gone wrong?
Asked by Amod Amatya
(111 rep)
Jun 14, 2019, 02:22 PM
Last activity: Jan 30, 2024, 04:47 PM
Last activity: Jan 30, 2024, 04:47 PM