Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
joshualin-petaio opened this issue Jul 25, 2023 · 3 comments
Assignees
Labels

Comments

@joshualin-petaio
Copy link

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

@abrodkin
Copy link
Member

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 abrodkin self-assigned this Jul 25, 2023
@joshualin-petaio
Copy link
Author

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

@abrodkin
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants