Re: [PATCH] dt-bindings: Remove plain text OF graph binding
From: Sameer Pujar <hidden>
Date: 2021-01-12 16:13:00
Also in:
lkml
On 1/12/2021 9:16 PM, Rob Herring wrote:
External email: Use caution opening links or attachments
From: Sameer Pujar <redacted>
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 <redacted>
Acked-by: Philipp Zabel <p.zabel@pengutronix.de>
Reviewed-by: Sam Ravnborg <redacted>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
[robh: moved graph.yaml to dt-schema repo, expanded commit msg]
Signed-off-by: Rob Herring <robh@kernel.org>
---
Documentation/devicetree/bindings/graph.txt | 129 +-------------------
1 file changed, 1 insertion(+), 128 deletions(-)Acked-by: Sameer Pujar <redacted>