Re: [RFC 3/3] irqchip: Add Realtek RTD1295 mux driver

2017-08-19 Thread Andreas Färber
Am 17.08.2017 um 12:11 schrieb Andreas Färber: > This irq mux driver is derived from the RTD1295 vendor DT and assumes a linear > mapping between intr_en and intr_status registers. Code for RTD119x indicates > this may not always be the case (i2c_3). > > The register initialization was copied

Re: [RFC 3/3] irqchip: Add Realtek RTD1295 mux driver

2017-08-19 Thread Andreas Färber
Am 17.08.2017 um 12:11 schrieb Andreas Färber: > This irq mux driver is derived from the RTD1295 vendor DT and assumes a linear > mapping between intr_en and intr_status registers. Code for RTD119x indicates > this may not always be the case (i2c_3). > > The register initialization was copied

Re: [RFC 3/3] irqchip: Add Realtek RTD1295 mux driver

2017-08-18 Thread Marc Zyngier
On 18/08/17 18:21, Andreas Färber wrote: > Hi Marc, > > Am 18.08.2017 um 12:53 schrieb Marc Zyngier: >> On 17/08/17 11:11, Andreas Färber wrote: >>> This irq mux driver is derived from the RTD1295 vendor DT and assumes a >>> linear >>> mapping between intr_en and intr_status registers. Code for

Re: [RFC 3/3] irqchip: Add Realtek RTD1295 mux driver

2017-08-18 Thread Marc Zyngier
On 18/08/17 18:21, Andreas Färber wrote: > Hi Marc, > > Am 18.08.2017 um 12:53 schrieb Marc Zyngier: >> On 17/08/17 11:11, Andreas Färber wrote: >>> This irq mux driver is derived from the RTD1295 vendor DT and assumes a >>> linear >>> mapping between intr_en and intr_status registers. Code for

Re: [RFC 3/3] irqchip: Add Realtek RTD1295 mux driver

2017-08-18 Thread Andreas Färber
Hi Marc, Am 18.08.2017 um 12:53 schrieb Marc Zyngier: > On 17/08/17 11:11, Andreas Färber wrote: >> This irq mux driver is derived from the RTD1295 vendor DT and assumes a >> linear >> mapping between intr_en and intr_status registers. Code for RTD119x indicates >> this may not always be the

Re: [RFC 3/3] irqchip: Add Realtek RTD1295 mux driver

2017-08-18 Thread Andreas Färber
Hi Marc, Am 18.08.2017 um 12:53 schrieb Marc Zyngier: > On 17/08/17 11:11, Andreas Färber wrote: >> This irq mux driver is derived from the RTD1295 vendor DT and assumes a >> linear >> mapping between intr_en and intr_status registers. Code for RTD119x indicates >> this may not always be the

Re: [RFC 3/3] irqchip: Add Realtek RTD1295 mux driver

2017-08-18 Thread Marc Zyngier
On 17/08/17 11:11, Andreas Färber wrote: > This irq mux driver is derived from the RTD1295 vendor DT and assumes a linear > mapping between intr_en and intr_status registers. Code for RTD119x indicates > this may not always be the case (i2c_3). > > The register initialization was copied from

Re: [RFC 3/3] irqchip: Add Realtek RTD1295 mux driver

2017-08-18 Thread Marc Zyngier
On 17/08/17 11:11, Andreas Färber wrote: > This irq mux driver is derived from the RTD1295 vendor DT and assumes a linear > mapping between intr_en and intr_status registers. Code for RTD119x indicates > this may not always be the case (i2c_3). > > The register initialization was copied from

[RFC 3/3] irqchip: Add Realtek RTD1295 mux driver

2017-08-17 Thread Andreas Färber
This irq mux driver is derived from the RTD1295 vendor DT and assumes a linear mapping between intr_en and intr_status registers. Code for RTD119x indicates this may not always be the case (i2c_3). The register initialization was copied from QNAP's mach-rtk119x/rtk_irq_mux.c as a boot fix,

[RFC 3/3] irqchip: Add Realtek RTD1295 mux driver

2017-08-17 Thread Andreas Färber
This irq mux driver is derived from the RTD1295 vendor DT and assumes a linear mapping between intr_en and intr_status registers. Code for RTD119x indicates this may not always be the case (i2c_3). The register initialization was copied from QNAP's mach-rtk119x/rtk_irq_mux.c as a boot fix,