LS1088a external interrupt in Linux

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

LS1088a external interrupt in Linux

1,816 次查看
mrecoskie
Contributor III

Hi,

Does anyone have a working example of setting up an external (active low) interrupt to the ls1088a processor which they could share? I am writing a kernel module to handle interrupts and I have tried setting this up as a direct interrupt and as a GPIO through expander. I have also tried using the recent ‘extirq’ linux kernel changes added to v5.5. In all cases the processor does not recognize the interrupt assertion.

Any help is much appreciated. Thank you.

Mark

 

0 项奖励
回复
1 回复

1,780 次查看
Pavel
NXP Employee
NXP Employee

Use sysfs for GPIO inputs.

This LSDK provides correct operation for sysfs using for GPIO inputs.

Use sysfs for using interrupt from the GPIO4_06.

See attached message dump for testing the GPIO4_06 input.

0 项奖励
回复