Configurable interrupt sources, and DT bindings

Mark Brown broonie at opensource.wolfsonmicro.com
Tue Nov 29 22:20:10 EST 2011


On Mon, Nov 28, 2011 at 05:23:30PM -0600, Rob Herring wrote:

> I think adding another property is the wrong approach. The information
> is already there in the interrupt binding. irq_create_of_mapping almost
> does what you need. Perhaps it could be extended to return the type as
> part of the irq resource. There are already defined resource bits for this:

That looks like a sensible place to put the translation but it (or the
dt_translate() op it calls) is still going to need to figure out the
value to return from somewhere and if the interrupt binding defines that
information it's not terribly obvious.


More information about the devicetree-discuss mailing list