Hello Ivan,
On 17.07.2012 08:38, Ivan Loskutov wrote:
Hello.
I try to implement touchscreen driver. I have resistive touchscreen and this touchscreen used GPIO pin for interrupt on tap. I try to extend my GPIO driver for this. I know how to handle IRQ in driver but I need to send this IRQ event from GPIO driver to touchscreen driver. How to do it? I see only polling from touchscreen driver. Or can I use other solution?
What about providing the IRQ service by the GPIO driver itself. You can route the IRQ service requests of the touchscreen-driver (in init's configuration) to the gpio-driver, and for all other children to core (like it's the default case). The touchscreen-driver can use the IRQ interface the same way as if the IRQ service would reside in core. Btw. that's one of the main reasons why we love these virtualizeable services in Genode.
I hope I got your question right, and this is what you were looking for?
Best regards Stefan
PS: looking forward to test out your touchscreen-driver!
-- Ivan Loskutov
Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
Genode-main mailing list Genode-main@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/genode-main