Messages in this thread | | | Date | Tue, 9 Oct 2012 11:18:24 +0530 | From | Laxman Dewangan <> | Subject | Re: [PATCH 1/3] mfd: Convert tps6586x to irq_domain |
| |
On Tuesday 09 October 2012 11:36 AM, Mark Brown wrote: > On Mon, Oct 08, 2012 at 09:43:23PM +0530, Laxman Dewangan wrote: >> Allocate the irq base if it base is not porvided i.e. >> in case of device tree invocation of this driver. >> Convert the tps6586x driver to irq domain, using a >> legacy IRQ mapping if an irq_base is specified in >> platform data or dynamically allocated and otherwise >> using a linear mapping. > Reviewed-by: Mark Brown<broonie@opensource.wolfsonmicro.com> > > but can you convert to regmap_irq?
Yes, the motivation was this when I started this cleanups but found that there is 4 interrupt status and 5 interrupt mask register. Probably we need to pass the number of interrupt status and interrupt mask register to expand the regmap-irq framework to handle this case also. If it is fine then I can work towards that.
| |