<html><body><div style="color:#000; background-color:#fff; font-family:lucida console, sans-serif;font-size:10pt"><div><span>Hi All,</span></div><div><span><br></span></div><div><span>You can use netlink socket to send data from kernel to user space.</span></div><div><span><br></span></div><div><span>-Anand Moon</span></div><div class="yahoo_quoted" style="display: block;"> <br> <br> <div style="font-family: lucida console, sans-serif; font-size: 10pt;"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 12pt;"> <div dir="ltr"> <font face="Arial" size="2"> On Friday, February 14, 2014 11:51 AM, Nilesh Bacchewar <b.nilesh2005@gmail.com> wrote:<br> </font> </div> <div class="y_msg_container"><div id="yiv7407416894"><div><div dir="ltr"><div>you can use Asynchronous notification , FASYNC .</div><div> </div><div><a href="http://www.makelinux.net/ldd3/chp-6-sect-4" target="_blank"
rel="nofollow" shape="rect">http://www.makelinux.net/ldd3/chp-6-sect-4</a></div><div> </div><div>Regards,</div>
<div>Nilesh</div></div><div class="yiv7407416894gmail_extra"><br clear="none"><br clear="none"><div class="yiv7407416894yqt7369959696" id="yiv7407416894yqtfd07196"><div class="yiv7407416894gmail_quote">On Tue, Jan 28, 2014 at 9:47 PM, Vishwanath Govind <span dir="ltr"><<a href="mailto:vishwanath.govind@gmail.com" target="_blank" rel="nofollow" shape="rect" ymailto="mailto:vishwanath.govind@gmail.com">vishwanath.govind@gmail.com</a>></span> wrote:<br clear="none">
<blockquote class="yiv7407416894gmail_quote" style="margin: 0px 0px 0px 0.8ex; padding-left: 1ex; border-left-color: rgb(204, 204, 204); border-left-width: 1px; border-left-style: solid;"><div dir="ltr"><div><div>You can implement irq handler in spi driver itself. SPI specific platform data can pass it from board file.<br clear="none">
</div>Regards<br clear="none"></div>Vishwa <br clear="none"></div><div class="yiv7407416894HOEnZb"><div class="yiv7407416894h5"><div class="yiv7407416894gmail_extra"><br clear="none"><br clear="none"><div class="yiv7407416894gmail_quote">
On Tue, Jan 28, 2014 at 9:24 PM, Richard Weinberger <span dir="ltr"><<a href="mailto:richard@nod.at" target="_blank" rel="nofollow" shape="rect" ymailto="mailto:richard@nod.at">richard@nod.at</a>></span> wrote:<br clear="none"><blockquote class="yiv7407416894gmail_quote" style="margin: 0px 0px 0px 0.8ex; padding-left: 1ex; border-left-color: rgb(204, 204, 204); border-left-width: 1px; border-left-style: solid;">
Am <a href="" rel="nofollow" shape="rect">28.01.2014</a> 15:12, schrieb Amit Mahadik:<br clear="none">
<div>> Thanks Richard. One more question. If I register an SPI irq struct spi_board_info spi_board_info[] structure in machine board.c file; then the request irq api and irq handler<br clear="none">
> should be written in board.c file or in the spidev driver.<br clear="none">
<br clear="none">
</div>Never do any programming in the board file.<br clear="none">
The purpose if the board file it describing the hardware.<br clear="none">
Please note, board files go away, device tree is the way to go.<br clear="none">
<div><br clear="none">
Thanks,<br clear="none">
//richard<br clear="none">
<br clear="none">
_______________________________________________<br clear="none">
Kernelnewbies mailing list<br clear="none">
<a href="mailto:Kernelnewbies@kernelnewbies.org" target="_blank" rel="nofollow" shape="rect" ymailto="mailto:Kernelnewbies@kernelnewbies.org">Kernelnewbies@kernelnewbies.org</a><br clear="none">
</div><a href="http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies" target="_blank" rel="nofollow" shape="rect">http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies</a><br clear="none">
</blockquote></div><br clear="none"></div>
</div></div><br clear="none">_______________________________________________<br clear="none">
Kernelnewbies mailing list<br clear="none">
<a href="mailto:Kernelnewbies@kernelnewbies.org" target="_blank" rel="nofollow" shape="rect" ymailto="mailto:Kernelnewbies@kernelnewbies.org">Kernelnewbies@kernelnewbies.org</a><br clear="none">
<a href="http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies" target="_blank" rel="nofollow" shape="rect">http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies</a><br clear="none">
<br clear="none"></blockquote></div><br clear="none"></div></div></div></div><br><div class="yqt7369959696" id="yqtfd08429">_______________________________________________<br clear="none">Kernelnewbies mailing list<br clear="none"><a href="mailto:Kernelnewbies@kernelnewbies.org" shape="rect" ymailto="mailto:Kernelnewbies@kernelnewbies.org">Kernelnewbies@kernelnewbies.org</a><br clear="none"><a href="http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies" target="_blank" shape="rect">http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies</a><br clear="none"></div><br><br></div> </div> </div> </div> </div></body></html>