Re: [PATCH v2] staging: mt7621-gpio: update #interrupt-cells for the gpio node

2018-06-01 Thread Sergio Paracuellos
On Fri, Jun 01, 2018 at 11:18:07AM +0200, Greg KH wrote: > On Thu, May 31, 2018 at 02:20:49PM +0200, Sergio Paracuellos wrote: > > On Thu, May 31, 2018 at 03:27:46PM +1000, NeilBrown wrote: > > > On Wed, May 30 2018, Sergio Paracuellos wrote: > > > > > > > Most gpio chips have two cells for

Re: [PATCH v2] staging: mt7621-gpio: update #interrupt-cells for the gpio node

2018-06-01 Thread Greg KH
On Thu, May 31, 2018 at 02:20:49PM +0200, Sergio Paracuellos wrote: > On Thu, May 31, 2018 at 03:27:46PM +1000, NeilBrown wrote: > > On Wed, May 30 2018, Sergio Paracuellos wrote: > > > > > Most gpio chips have two cells for interrupts and this should be also. > > > Set this property in the

Re: [PATCH v2] staging: mt7621-gpio: update #interrupt-cells for the gpio node

2018-05-31 Thread Sergio Paracuellos
On Thu, May 31, 2018 at 03:27:46PM +1000, NeilBrown wrote: > On Wed, May 30 2018, Sergio Paracuellos wrote: > > > Most gpio chips have two cells for interrupts and this should be also. > > Set this property in the device tree accordly fixing this up. In order > > to make this working properly the

Re: [PATCH v2] staging: mt7621-gpio: update #interrupt-cells for the gpio node

2018-05-30 Thread NeilBrown
On Wed, May 30 2018, Sergio Paracuellos wrote: > Most gpio chips have two cells for interrupts and this should be also. > Set this property in the device tree accordly fixing this up. In order > to make this working properly the xlate function for the irq_domain must > be updated to use the

[PATCH v2] staging: mt7621-gpio: update #interrupt-cells for the gpio node

2018-05-29 Thread Sergio Paracuellos
Most gpio chips have two cells for interrupts and this should be also. Set this property in the device tree accordly fixing this up. In order to make this working properly the xlate function for the irq_domain must be updated to use the 'irq_domain_xlate_twocell' one in the driver. One more