Thread (24 messages) flat view 24 messages, 6 authors, 2014-01-31

device-tree: at91: irq and gpios: problem while requesting a gpio used as an interrupt source.

From: arnd@arndb.de (Arnd Bergmann)
Date: 2014-01-15 13:48:13

On Wednesday 15 January 2014 14:44:24 Jean-Jacques Hiblot wrote:
2014/1/15 Jean-Christophe PLAGNIOL-VILLARD [off-list ref]:
quoted
On 14:04 Wed 15 Jan     , Jean-Jacques Hiblot wrote:
quoted
2014/1/15 Jean-Christophe PLAGNIOL-VILLARD [off-list ref]:
quoted
because this the only to start to do it right
I had a very long discussion woth LinusW and Grant the Gpio need to stop to
use gpio_to_irq & co for irq.
How can you get the value of the gpio that is also an interrupt source then ?
Can you give a short example?
you just have to check the irq source

failing or raising

but on 9261 impossible the gpio does not have such detail

but anyway this is the invert you need to get the information from the IRQ no the way
arround
Should I modify the touchscreen driver to use irq_to_gpio() in this
case then ? or is this also not proper ?
irq_to_gpio no longer exists.

	Arnd
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help