RE: [PATCH 1/6] mfd: add lp8788 mfd driver
From: Kim, Milo
Date: Thu Jul 19 2012 - 05:06:15 EST
> > +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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/