On Mon, Jan 13, 2020 at 3:58 AM 陈北宗 <[email protected]> wrote:
>
> Quick question: can I share an interrupt pin across several peripherals in 
> just device tree?

All the drivers must request the interrupt as shared. That's the only
requirement.

ChenYu

> Background: I am trying to design a V3s board (for giggles,) but I have 
> exactly one interrupt-able pin left. I have several peripherals that may 
> generate interrupt, thankfully all as open drain outputs. So I wonder if I 
> can share that single interrupt line across them, or do I have to use some 
> kind of interrupt controller? (PCF8574 on I2C.)
>
> Where are the pins going: PG0-5 = Wi-Fi, PB0-3 = Bluetooth, PB4 = PWM for LED 
> backlight, PB6/7 = I2C, PB8/9 = debug UART. Only PB5 is available for 
> interrupts.
>
> --
> 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].
> To view this discussion on the web, visit 
> https://groups.google.com/d/msgid/linux-sunxi/57FCA1F7-81FE-4706-AF88-A36EA5E7307B%40gmail.com.

-- 
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].
To view this discussion on the web, visit 
https://groups.google.com/d/msgid/linux-sunxi/CAGb2v678Fvs54FFRB_%3DYB%3DU-VpOG44YyQOOeWUpKBtk09xNfuw%40mail.gmail.com.

Reply via email to