Re: Handling interrupts in spidev

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Jan 26, 2014 at 1:25 PM, Amit Mahadik <amitmahadik35@xxxxxxxxx> wrote:
> Hello,
>           I am using a custom ARM board. I have a SPI slave device and using
> the spidev_test utility I am able to do ioctls on the slave device.
> However, I have a problem. The SPI slave device has an interrupt pin and I
> want to process the interrupt and send some data into the userspace when I
> receive the interrupt. Can anybody please suggest me a way to do this using
> spidev driver?

Is the interrupt pin a gpio?
If so, you can access it from userspace and identify interrupts using poll().

-- 
Thanks,
//richard

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies




[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux