cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Explorer
Explorer
310 Views
Registered: ‎09-06-2019

Instantiation of EMIO GPIO as interrupt in device tree

Jump to solution

Hi I have a specific SPI device that we have instantiated with the device tree node in which the driver of the device requires an interrupt from a peripherial device. We've routed an EMIO pin but unsure how we go about instantiating this within our device. Can anyone provide an example of a GPIO configured as an interrupt for a serial communication device tree node? Thanks in advance! 

0 Kudos
1 Solution

Accepted Solutions
Highlighted
Moderator
Moderator
248 Views
Registered: ‎02-07-2018

Re: Instantiation of EMIO GPIO as interrupt in device tree

Jump to solution

HI @badFITimage 

Please follow below link for configuring gpio as irq:

https://xilinx-wiki.atlassian.net/wiki/spaces/A/pages/18842398/Linux+GPIO+Driver

 

Thanks & regards

Aravind

----------------------------------------------------------------------------------------------
Kindly note- Please mark the Answer as "Accept as solution" if information provided is helpful.
Give Kudos to a post which you think is helpful and reply oriented.
----------------------------------------------------------------------------------------------

View solution in original post

0 Kudos
1 Reply
Highlighted
Moderator
Moderator
249 Views
Registered: ‎02-07-2018

Re: Instantiation of EMIO GPIO as interrupt in device tree

Jump to solution

HI @badFITimage 

Please follow below link for configuring gpio as irq:

https://xilinx-wiki.atlassian.net/wiki/spaces/A/pages/18842398/Linux+GPIO+Driver

 

Thanks & regards

Aravind

----------------------------------------------------------------------------------------------
Kindly note- Please mark the Answer as "Accept as solution" if information provided is helpful.
Give Kudos to a post which you think is helpful and reply oriented.
----------------------------------------------------------------------------------------------

View solution in original post

0 Kudos