Re: [Qemu-devel] [PATCH] i.MX: add support for lower and upper interrupt in GPIO.

2015-11-12 Thread Peter Crosthwaite
On Wed, Oct 28, 2015 at 12:10 AM, Jean-Christophe DUBOIS wrote: > Le 27/10/2015 23:41, Peter Crosthwaite a écrit : > > > > On Tue, Oct 27, 2015 at 3:32 PM, Jean-Christophe Dubois > wrote: >> >> The i.MX6 GPIO device supports 2 interrupts instead of one. >> >> * 1 for the lower 16 GPIOs. >> * 1 fo

Re: [Qemu-devel] [PATCH] i.MX: add support for lower and upper interrupt in GPIO.

2015-10-28 Thread Jean-Christophe DUBOIS
Le 27/10/2015 23:41, Peter Crosthwaite a écrit : On Tue, Oct 27, 2015 at 3:32 PM, Jean-Christophe Dubois mailto:j...@tribudubois.net>> wrote: The i.MX6 GPIO device supports 2 interrupts instead of one. * 1 for the lower 16 GPIOs. * 1 for the upper 16 GPIOs. i.MX31 and i.MX2

Re: [Qemu-devel] [PATCH] i.MX: add support for lower and upper interrupt in GPIO.

2015-10-27 Thread Peter Crosthwaite
On Tue, Oct 27, 2015 at 3:32 PM, Jean-Christophe Dubois wrote: > The i.MX6 GPIO device supports 2 interrupts instead of one. > > * 1 for the lower 16 GPIOs. > * 1 for the upper 16 GPIOs. > > i.MX31 and i.MX25 only support 1 interrupt for the 32 GPIOs. > > So an architectural question, is it the c

[Qemu-devel] [PATCH] i.MX: add support for lower and upper interrupt in GPIO.

2015-10-27 Thread Jean-Christophe Dubois
The i.MX6 GPIO device supports 2 interrupts instead of one. * 1 for the lower 16 GPIOs. * 1 for the upper 16 GPIOs. i.MX31 and i.MX25 only support 1 interrupt for the 32 GPIOs. So we add a property to turn the behavior on when required. Signed-off-by: Jean-Christophe Dubois --- hw/gpio/imx_gp