On Fri, Jan 17, 2014 at 12:11:44PM -0600, Nishanth Menon wrote: > On 01/17/2014 12:00 PM, Mark Brown wrote: > > That sounds exactly like a system controller :) > Hmm.. I have considered something like PRCM in OMAP as a system > controller... anyways.. I think I miss your suggestion here. Is there > something you might suggest to improve in the patch or take an > alternative route? What people have done for these things is have a device for the controller that maps the registers and then have the other devices talk through that to get the access they need. You still need to specify which interrupts but it's simpler with the I/O mapping and is needed for arbitration if the hardware has register bits for multiple functions in the same register. Not thought enough about the patch itself yet, that's more a separate thing.
Attachment:
signature.asc
Description: Digital signature