Thread (50 messages) flat view 50 messages, 7 authors, 2012-09-19

[PATCH 5/8] mfd: Provide the PRCMU with its own IRQ domain

From: arnd@arndb.de (Arnd Bergmann)
Date: 2012-08-14 09:43:04
Also in: lkml

On Tuesday 14 August 2012, Linus Walleij wrote:
On Thu, Aug 9, 2012 at 5:53 PM, Lee Jones [off-list ref] wrote:
quoted
+static struct irq_domain *db8500_irq_domain;
So this is a good idea.
quoted
+int db8500_irq_get_virq(int irq);
And I'm sceptic about this business. Why isn't this physical-to virtual
mapping business confined to the core MFD driver? But enlighten me.
I believe MFD does not (yet) know about IRQ domains. The wm8994
and 88pm80x drivers do this slightly different by exporting
a foo_request_irq() function that performs the mapping.

Traditionally, an MFD would add an offset to the local IRQ number
to put the VIRQ into the IRQ resource, but this doesn't work when
you have domains other than legacy.

	Arnd
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help