On 1/12/2021 9:16 PM, Rob Herring wrote:
External email: Use caution opening links or attachments


From: Sameer Pujar <[email protected]>

A schema for the OF graph binding has been added to the dt-schema repo
based on graph.txt contents. Let's replace graph.txt now duplicated
contents with a reference to the schema.

For users of the graph binding, they should reference to the graph
schema from either 'ports' or 'port' property:

properties:
   ports:
     $ref: /schemas/graph.yaml#/properties/ports

     properties:
       port@0:
         $ref: /schemas/graph.yaml#/properties/port
         description: What data this port has

       ...

Or:

properties:
   port:
     description: What data this port has
     $ref: /schemas/graph.yaml#/properties/port

Cc: Sameer Pujar <[email protected]>
Acked-by: Philipp Zabel <[email protected]>
Reviewed-by: Sam Ravnborg <[email protected]>
Reviewed-by: Laurent Pinchart <[email protected]>
[robh: moved graph.yaml to dt-schema repo, expanded commit msg]
Signed-off-by: Rob Herring <[email protected]>
---
  Documentation/devicetree/bindings/graph.txt | 129 +-------------------
  1 file changed, 1 insertion(+), 128 deletions(-)

Acked-by: Sameer Pujar <[email protected]>

Reply via email to