Skip to content

Interrupt 'level high' with UIO driver #93

Answered by mcnamarad1971
rroulleau asked this question in How to
Discussion options

You must be logged in to vote

yes, I think that would certainly be a reasonable way forward. You could start by copying the UIO CAN driver, including the Kconfig / Makefile in the same directory along with its device-tree stanza.

Alternatively, you could try using the generic-uio driver and doing those writes in userspace. There are examples in /opt/microchip that show you how to access hardware registers from userspace.

Replies: 8 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by hughbreslin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
How to
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #92 on June 13, 2022 15:23.