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.