kernel: linux-3.14.43
platform:AM437X
设备树配置 &i2c2 {status = "okay";pinctrl-names = "default";pinctrl-0 = <&i2c2_pins>; mpu6050@68 { compatible = "invensense,mpu6050"; reg = <0x68>; }; #if 1 /* eeprom */eeprom@57 { compatible = "eeprom"; reg = <0x57>; }; #endif };
代码路径:\kernel\drivers\iio\imu\inv_mpu6050
result = inv_mpu6050_probe_trigger(indio_dev);//在这儿报的错 if (result) { dev_err(&st->client->dev, "trigger probe fail %d\n", result); goto out_unreg_ring; }
调试信息:
[ 268.861800] genirq: Flags mismatch irq 62. 00000080 (inv_mpu) vs. 00006000 (4819c000.i2c)
[ 268.885060] inv-mpu6050 2-0068: trigger probe fail -16
大神带带我。。。有谁知道大概方向的!谢谢!
不说了,下班回家
Jian Zhou:
首先问下这是要实现哪部分驱动?