Re: [PATCH] remoteproc: Introduce rproc handle accessor for children

2017-09-01 Thread Suman Anna
Hi Bjorn, On 08/28/2017 12:34 AM, Bjorn Andersson wrote: > In certain circumstances rpmsg devices needs to acquire a handle to the > ancestor remoteproc instance, e.g. to invoke rproc_report_crash() when a > fatal error is detected. Introduce an interface that walks the device > tree in search for

[PATCH] remoteproc: Introduce rproc handle accessor for children

2017-08-27 Thread Bjorn Andersson
In certain circumstances rpmsg devices needs to acquire a handle to the ancestor remoteproc instance, e.g. to invoke rproc_report_crash() when a fatal error is detected. Introduce an interface that walks the device tree in search for a remoteproc instance and return this. Signed-off-by: Bjorn Ande