Re: [PATCH 2/2] MFD: ab8500-debugfs irq support

From: Mattias Wallin
Date: Tue Nov 30 2010 - 04:57:04 EST


Hi,

> I think writing a UIO driver for that matter will make your life a lot easier.
> And to be honest, having an IRQ handler on a debugfs related piece of code
> sounds just wrong.
I was hoping for your input here. Can you elaborate on UIO driver?
What interface to user space do you suggest. I have requirements that a user space should be able to subscribe
and unsubscibe for one or several of the 112 ab8500 events.
Debugfs was the choice because I already had register access there and it can easily be compiled away.
I also wanted a clear connection to the irq_chip solution in the ab8500-core driver.
>
> Cheers,
> Samuel.
>
--
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/