Thread (12 messages) 12 messages, 6 authors, 2014-02-19

Handling interrupts in spidev

From: Vishwanath Govind <hidden>
Date: 2014-01-28 16:17:57

You can implement irq handler in spi driver itself. SPI specific platform
data can pass it from board file.
Regards
Vishwa


On Tue, Jan 28, 2014 at 9:24 PM, Richard Weinberger [off-list ref] wrote:
Am 28.01.2014 15:12, schrieb Amit Mahadik:
quoted
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
quoted
should be written in board.c file or in the spidev driver.
Never do any programming in the board file.
The purpose if the board file it describing the hardware.
Please note, board files go away, device tree is the way to go.

Thanks,
//richard

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies at kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20140128/f71ef90b/attachment-0001.html 
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help