linux icon indicating copy to clipboard operation
linux copied to clipboard

[linux kernel 5.16, HS38x2] How to change ARConnect IDU mode, like level trigger to edge trigger ?

Open joshualin-petaio opened this issue 1 year ago • 3 comments

Hi expert,

I want to change the ARConnect IDU mode, like level trigger to edge trigger. Can I setup the IRQ cell in device tree or which API I can use?

Thanks, Joshua

joshualin-petaio avatar Jul 25 '23 15:07 joshualin-petaio

Hi @joshualin-petaio! Indeed, you may specify the second cell for IDU requesting edge-triggered interrupts. See https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/devicetree/bindings/interrupt-controller/snps,archs-idu-intc.txt.

Don't forget to set #interrupt-cells = <2>; in the IDU node!

Let me know if that reference helps or you need more support with this one.

abrodkin avatar Jul 25 '23 19:07 abrodkin

Hi Alexey,

Thanks for your reply. It helpful for me and it seems works fine now. I'll do more test for this modify. Thank you so much.

Thanks, Joshua

joshualin-petaio avatar Jul 26 '23 05:07 joshualin-petaio

@joshualin-petaio if all works for you now, do you mind closing this issue?

abrodkin avatar Aug 11 '23 20:08 abrodkin