Re: [RFC PATCH 1/1] i2c: i2c-mux-pca954x: Add interrupt controller support.

2016-08-01 Thread Phil Reid
On 1/08/2016 16:22, Peter Rosin wrote: On 2016-08-01 08:25, Phil Reid wrote: On 29/07/2016 13:48, Peter Rosin wrote: Ok, I think I get the problem, but I too am at a loss and see no elegant solution. One sad thing about your workaround is that it is not working at all unless there is an irq u

Re: [RFC PATCH 1/1] i2c: i2c-mux-pca954x: Add interrupt controller support.

2016-08-01 Thread Peter Rosin
On 2016-08-01 08:25, Phil Reid wrote: > On 29/07/2016 13:48, Peter Rosin wrote: >> Ok, I think I get the problem, but I too am at a loss and see no elegant >> solution. >> One sad thing about your workaround is that it is not working at all unless >> there >> is an irq user on all mux child segme

Re: [RFC PATCH 1/1] i2c: i2c-mux-pca954x: Add interrupt controller support.

2016-07-31 Thread Phil Reid
On 29/07/2016 13:48, Peter Rosin wrote: On 2016-07-28 04:44, Phil Reid wrote: G'day Peter, Thanks for the feedback. +linux-kernel@vger.kernel.org On 27/07/2016 13:32, Peter Rosin wrote: On 2016-07-27 05:05, Phil Reid wrote: +static void pca954x_irq_mask(struct irq_data *idata) +{ + str

Re: [RFC PATCH 1/1] i2c: i2c-mux-pca954x: Add interrupt controller support.

2016-07-29 Thread Peter Rosin
On 2016-07-28 04:44, Phil Reid wrote: > G'day Peter, > > Thanks for the feedback. > +linux-kernel@vger.kernel.org > > On 27/07/2016 13:32, Peter Rosin wrote: >> On 2016-07-27 05:05, Phil Reid wrote: >>> +static void pca954x_irq_mask(struct irq_data *idata) >>> +{ >>> + struct i2c_mux_core *muxc

Re: [RFC PATCH 1/1] i2c: i2c-mux-pca954x: Add interrupt controller support.

2016-07-27 Thread Phil Reid
G'day Peter, Thanks for the feedback. +linux-kernel@vger.kernel.org On 27/07/2016 13:32, Peter Rosin wrote: On 2016-07-27 05:05, Phil Reid wrote: The pca9543 can aggregate multiple interrupts from each i2c bus. However it provides no ability to mask interrupts on each channel. So if one bus is