Re: polarity inversion on LS1021a

2017-12-04 Thread Alexander Stein
On Monday, December 4, 2017, 4:37:20 PM CET Marc Zyngier wrote: > On 04/12/17 15:31, Alexander Stein wrote: > > On Monday, December 4, 2017, 4:11:06 PM CET Rasmus Villemoes wrote: > >> The LS1021A has a standard GIC-400, but allows inverting the polarity of > >> six external interrupt lines via a c

Re: polarity inversion on LS1021a

2017-12-04 Thread Marc Zyngier
On 04/12/17 15:31, Alexander Stein wrote: > Hi Rasmus, > > On Monday, December 4, 2017, 4:11:06 PM CET Rasmus Villemoes wrote: >> The LS1021A has a standard GIC-400, but allows inverting the polarity of >> six external interrupt lines via a certain register, effectively >> supporting IRQ_TYPE_LEVE

Re: polarity inversion on LS1021a

2017-12-04 Thread Alexander Stein
Hi Rasmus, On Monday, December 4, 2017, 4:11:06 PM CET Rasmus Villemoes wrote: > The LS1021A has a standard GIC-400, but allows inverting the polarity of > six external interrupt lines via a certain register, effectively > supporting IRQ_TYPE_LEVEL_LOW and IRQ_TYPE_EDGE_FALLING for those. > > I'm

Re: polarity inversion on LS1021a

2017-12-04 Thread Marc Zyngier
Rasmus, On 04/12/17 15:11, Rasmus Villemoes wrote: > The LS1021A has a standard GIC-400, but allows inverting the polarity of > six external interrupt lines via a certain register, effectively > supporting IRQ_TYPE_LEVEL_LOW and IRQ_TYPE_EDGE_FALLING for those. > > I'm trying to figure out how on

polarity inversion on LS1021a

2017-12-04 Thread Rasmus Villemoes
The LS1021A has a standard GIC-400, but allows inverting the polarity of six external interrupt lines via a certain register, effectively supporting IRQ_TYPE_LEVEL_LOW and IRQ_TYPE_EDGE_FALLING for those. I'm trying to figure out how one would add support for this. The patch below works but is obv