新手入门
- 积分
- 9
- 金钱
- 9
- 注册时间
- 2023-7-4
- 在线时间
- 2 小时
|
1金钱
/lib/modules/4.1.15 # insmod ft5426.ko
alientek,ft5426 probe!!!
input: edt-ft5426 as /devices/platform/soc/2100000.aips-bus/21a4000.i2c/i2c-1/1-0038/input/input2/lib/modules/4.1.15 # cat /proc/interrupts
CPU0
16: 6639 GPC 55 Level i.MX Timer Tick
18: 0 GPC 33 Level 2010000.ecspi
19: 775 GPC 26 Level 2020000.serial
39: 0 gpio-mxc 9 Edge edt-ft5426
中断注册成功了 不过触摸屏幕没有反应 中断不会被触发
设备树:
ft5426:ft5426@38 {
compatible = "edt,edt-ft5426","edt,edt-ft5406";
reg = <0x38>;
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_tsc
&pinctrl_tscrst>;
interrupt-parent = <&gpio1>;
interrupts = <9 0>;
reset-gpios = <&gpio5 9 GPIO_ACTIVE_LOW>;
interrupt-gpios = <&gpio1 9 GPIO_ACTIVE_LOW>;
status = "okay";
};
|
|