1、RK3568 Linux麒麟系统陀螺仪驱动调试
瑞星微开发板自带的陀螺仪型号MXC6655xa,硬件人员说我们的板子和开发板一样,因此检查设备树文件找到设备描述:
&i2c5 {
status = “okay”;
mxc6655xa: mxc6655xa@15 {
status = “okay”;
compatible = “gs_mxc6655xa”;
pinctrl-names = “default”;
pinctrl-0 = 《&mxc6655xa_irq_gpio》;
reg = 《0x15》;
irq-gpio = 《&gpio3 RK_PC1 IRQ_TYPE_LEVEL_LOW》;
irq_enable = 《1》;
poll_delay_ms = 《30》;
type = 《SENSOR_TYPE_ACCEL》;
power-off-in-suspend = 《1》;
layout = 《1》;
};
};
&pinctrl {
标签:status,平板,irq,麒麟,mxc6655xa,pinctrl,RK3399,gpio,okay From: https://blog.51cto.com/u_15812463/6193321