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

From: Mark Brown
Date: Fri Jun 21 2013 - 10:32:03 EST


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 in platform data and max8997 driver private data
> are removed.

Can you use a simple IRQ domain in order to continue to support non-DT
systems (not all architectures use DT...)?

Attachment: signature.asc
Description: Digital signature