IMX8MM Interrupt issue

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

IMX8MM Interrupt issue

284 Views
tzeng015
Contributor II

Hi all 

I have a interrupt serial problem and I need your help.

platform : imx8mm

Linux : 5.10

 

Please see the attach file . 

Page 2 :

DTS : IRQ_TYPE_LEVEL  

Function : request_threaded_irq (spi->irq, NULL, mcp251xfd_irq,
IRQF_ONESHOT | IRQF_TRIGGER_LOW , dev_name(&spi->dev),
priv)

tzeng015_0-1669634338053.png

Summary : (1) ip link set up can0 type can bitrate 500000 (It is called request_threaded_irq) . Why the interrupt is generated and make a call trace  ?

Page 4 : 

DTS : IRQ_TYPE_EDGE_FALLING  

tzeng015_1-1669634731916.png

Function : request_threaded_irq (spi->irq, NULL, mcp251xfd_irq,
IRQF_ONESHOT | IRQF_TRIGGER_FALLING , dev_name(&spi->dev),
priv)

Summary : (1) ip link set up can0 type can bitrate 500000 (It is called request_threaded_irq) . Why the interrupt do not have any action ?

 

MY question:

Why the  only IRQ_TYPE_LEVEL can gererate INT (call trace)?

Why the  IRQ_TYPE_EDGE_FALLING  can not gererate INT ?

 

 

0 Kudos
0 Replies