<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:10pt"><div><span>Thanks for the reply Richard. <br></span></div><div style="color: rgb(0, 0, 0); font-size: 13.3333px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;"><span> The interrupt is not a GPIO pin. I have read something about UIO (userspace I/O). <br></span></div><div style="color: rgb(0, 0, 0); font-size: 13.3333px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;"><span>Also, I want the operation to be asynchronous. Any pointer to such mechanism will be very helpful.</span></div><div style="color: rgb(0, 0, 0); font-size: 13.3333px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;"><br><span></span></div><div
style="color: rgb(0, 0, 0); font-size: 13.3333px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;"><span>Regards,</span></div><div style="color: rgb(0, 0, 0); font-size: 13.3333px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;"><span>Amit.<br></span></div><div style="display: block;" class="yahoo_quoted"> <br> <br> <div style="font-family: times new roman, new york, times, serif; font-size: 10pt;"> <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <div dir="ltr"> <font face="Arial" size="2"> On Sunday, 26 January 2014 8:53 PM, Richard Weinberger <richard.weinberger@gmail.com> wrote:<br> </font> </div> <div class="y_msg_container">On Sun, Jan 26, 2014 at 1:25 PM, Amit Mahadik <<a shape="rect" ymailto="mailto:amitmahadik35@yahoo.com" href="mailto:amitmahadik35@yahoo.com">amitmahadik35@yahoo.com</a>>
wrote:<div class="yqt6434117553" id="yqtfd88719"><br clear="none">> Hello,<br clear="none">> I am using a custom ARM board. I have a SPI slave device and using<br clear="none">> the spidev_test utility I am able to do ioctls on the slave device.<br clear="none">> However, I have a problem. The SPI slave device has an interrupt pin and I<br clear="none">> want to process the interrupt and send some data into the userspace when I<br clear="none">> receive the interrupt. Can anybody please suggest me a way to do this using<br clear="none">> spidev driver?</div><br clear="none"><br clear="none">Is the interrupt pin a gpio?<br clear="none">If so, you can access it from userspace and identify interrupts using poll().<br clear="none"><br clear="none">-- <br clear="none">Thanks,<br clear="none">//richard<br clear="none"><br clear="none">_______________________________________________<br
clear="none">Kernelnewbies mailing list<br clear="none"><a shape="rect" ymailto="mailto:Kernelnewbies@kernelnewbies.org" href="mailto:Kernelnewbies@kernelnewbies.org">Kernelnewbies@kernelnewbies.org</a><br clear="none"><a shape="rect" href="http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies" target="_blank">http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies</a><div class="yqt6434117553" id="yqtfd99897"><br clear="none"></div><br><br></div> </div> </div> </div> </div></body></html>