[PATCH V2 1/3] dt: palmas: support IRQ inversion at the board level
Mark Brown
broonie at kernel.org
Mon Mar 3 22:50:19 EST 2014
On Mon, Mar 03, 2014 at 09:41:36AM -0700, Stephen Warren wrote:
> 2) We can go through every single interrupt controller's DT binding and
> driver, and implement (document and parse) the new IRQ specifier flag
> there, and pass it throgh the Linux IRQ stack, yet we still need code in
> every IC driver to actually read the flag, so we haven't removed any
> code. It seems /much/ simpler, and no more of a maintenance or
> consistency burden, to just have the IC driver read the flag directly
> from their own DT.
Why does this have to be handled by the chip drivers? Can't the
interrupt controller configured in a way that the chip drivers never
need to see it at all, for example by adding a "override the mode for
this input" flag inside the device?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20140304/f6e579d3/attachment.sig>
More information about the linux-arm-kernel
mailing list