lkml.org 
[lkml]   [2012]   [Jul]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRE: [PATCH 1/6] mfd: add lp8788 mfd driver
Date
> > +struct lp8788_irq_data {
> > + struct lp8788 *lp;
> > + struct irq_domain *irqdm;
> > + struct mutex irq_lock;
> > + struct delayed_work work;
> > + struct workqueue_struct *thread;
> > + int enabled[LP8788_INT_MAX];
> > + int irq;
> > + int irq_base;
> > +};
>
> Can you use regmap-irq? If not can we fix things so that's possible?

Mark,

Currently, there is some limitation on regmap-irq with LP8788.
In LP8788, interrupt is enabled when the IRQ bit is set to 1.
This concept is opposite to interrupt-mask register.
So experimental patch has been sent.
Could you please review it ?

Patch title: [PATCH 2/2] regmap-irq: support different type of irq register

Thank you.

Best Regards,
Milo





\
 
 \ /
  Last update: 2012-07-19 11:41    [W:0.063 / U:0.408 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site