some time ago, i started looking at  EINTC, External interrupt: 

 http://linux-sunxi.org/External_interrupts

you can have a look at this short thread:

https://groups.google.com/d/msg/linux-sunxi/lPP1aO9tWvI/x6moRqMarlIJ

to make a long story short:

- the external interrupt feature is DIFFERENT then a "generic GPIO" and 
it's multiplexed on some pins only  (loook for EINTC in allwiner SOC user 
manual..), few pins can react in the interrupt async way. and AFAIK the PDx 
pins are not enabled, but please check

- as far as i know, now, on a kernel 4.0 mainline, you can have the lower 
"A10 original" interrupts EINTx working (at least this is what i found) but 
the higher (A20 only in a second bank..)

- mripard told  on the list this feature is working by accident  and some 
work is needed to enable the higher ones (A20 only)

that's what i remember. 



Il giorno lunedì 8 dicembre 2014 14:41:04 UTC+1, Nithin Chakravarthy ha 
scritto:
>
> Hi,
>
> I have requirement to A20 gpio as interrupt from user space. 
> I have custom board to which switches sw1 sw2 sw3 are connected
> to gpio PD0,PD1,PD2 respectively. so, if button is pressed i should 
> perforn 
> some action. how can i do this from my application side.
> so please help me!!! 
>

-- 
You received this message because you are subscribed to the Google Groups 
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to