Re: [PATCH] dt-binding: remoteproc: Document generic properties

From: Bjorn Andersson
Date: Fri Aug 12 2016 - 18:42:32 EST


On Fri 12 Aug 11:34 PDT 2016, Rob Herring wrote:

> On Wed, Aug 10, 2016 at 10:37:02AM -0700, Bjorn Andersson wrote:
> > This documents the generic properties "rprocs" and "rproc-names", used
> > for consumer drivers to reference a remoteproc node.
>
> How do you intend to use this? I wonder if it would not be better to
> expose a remote proc with existing bindings for a particular purpose
> (e.g. clocks, resets, etc.) rather than a generic connection. The client
> side would have to have specific knowledge as to what functions the
> remote proc provides.
>

The remoteproc node represents the mechanism and resources needed to
control the life cycle a co-processor, e.g. loading, booting, shutting
gown a video encoder/decoder.

The proposed reference allows a separate thingie to assert control of
the life cycle of that co-processor.


I acknowledge that in some cases there is a fine line between what is
the life cycle management and what is the actual functionality
implemented by that remote processor. But as the remoteproc mechanism is
reusable between various use cases I think it makes sense to not describe
them as one unit.

Regards,
Bjorn