On Fri 24 Nov 06:36 PST 2017, Arnaud Pouliquen wrote: > From: Fabien Dessenne <fabien.dessenne@xxxxxx> > > The remoteproc SRM (System Resource Manager) handles resources allocated > to remote processors. > This makes it possible for remote proc to reserve and initialize system > resources for a peripheral assigned to a coprocessor. > This is the core part which is in charge of controlling the device > children. > I'm afraid I find this overly complex for the task. If we choose to describe these groups of resources like you have done here I see no point in having the SRM core. You could just make the SRM devices platform_drivers that acquire handles to the resources, register (early) subdevices to get the callback on boot/shutdown and call enable/disable on the resources there. Regards, Bjorn -- To unsubscribe from this list: send the line "unsubscribe linux-remoteproc" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html