Re: [PATCH v2 1/3] mfd: Add irq domain support for max8998 interrupts

2013-06-21 Thread Mark Brown
On Fri, Jun 21, 2013 at 02:33:35PM +0200, Tomasz Figa wrote: > The reverse mapping method used is linear mapping since the sub-drivers > of max8998 such as regulator and charger drivers can use the max8998 > irq_domain to get the virtual irq number for max8998 interrupts. > All uses of irq_base i

Re: [PATCH v2 1/3] mfd: Add irq domain support for max8998 interrupts

2013-06-21 Thread Rasmus Villemoes
Tomasz Figa writes: > All uses of irq_base in platform data and max8997 driver private data > are removed. > [...] > +static int max8998_irq_domain_map(struct irq_domain *d, unsigned int irq, > + irq_hw_number_t hw) > +{ > + struct max8997_dev *max8998 = d-

[PATCH v2 1/3] mfd: Add irq domain support for max8998 interrupts

2013-06-21 Thread Tomasz Figa
This patch adds irq domain support for max8998 interrupts. The reverse mapping method used is linear mapping since the sub-drivers of max8998 such as regulator and charger drivers can use the max8998 irq_domain to get the virtual irq number for max8998 interrupts. All uses of irq_base in platform