ls1046a how to use IRQ0~11 in kernel?

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

ls1046a how to use IRQ0~11 in kernel?

2,158件の閲覧回数
Rainight
Contributor III

RCW

         Rainight_0-1645169341242.png

Reference Mamnul

    Rainight_1-1645169422937.png

DTS

     Rainight_2-1645169597010.png

I want to known How to use IRQ0~11 in kernel module independly without "of function"?

and I use follwed code , but all failed。

 

        irq = 167;
        //irq = 167 - 32;
        //irq = 3;
        //no = irq_create_mapping(NULL, irq);
        irq_set_irq_type(irq , IRQ_TYPE_LEVEL_LOW);
        ret = request_irq(irq, irq_data_handle, IRQF_SHARED, "irqdata", &self);

 

 

タグ(2)
0 件の賞賛
返信
2 返答(返信)

2,122件の閲覧回数
Pavel
NXP Employee
NXP Employee

Use also the "cat /proc/interrupts" command.

See the following document:

https://www.thegeekstuff.com/2014/01/linux-interrupts/

0 件の賞賛
返信