aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/display/allwinner,sun4i-a10-display-frontend.yaml
diff options
context:
space:
mode:
authorRob Herring <robh@kernel.org>2021-01-04 11:07:23 -0700
committerRob Herring <robh@kernel.org>2021-01-11 18:03:59 -0600
commitb67554232307e755c8a24d7a695a321ecd58790b (patch)
treec6d42ef519fecfa8b9a745cc7a7c0dd14e932741 /Documentation/devicetree/bindings/display/allwinner,sun4i-a10-display-frontend.yaml
parentdrm/amdgpu: Resize BAR0 to the maximum available size, even if it doesn't cover VRAM (diff)
downloadlinux-dev-b67554232307e755c8a24d7a695a321ecd58790b.tar.xz
linux-dev-b67554232307e755c8a24d7a695a321ecd58790b.zip
dt-bindings: display: Use OF graph schema
Now that we have a graph schema, rework the display related schemas to use it. Mostly this is adding a reference to graph.yaml and dropping duplicate parts from schemas. In panel-common.yaml, 'ports' is dropped. Any binding using 'ports' should be one with more than 1 port node, and the binding must define what each port is. Note that ti,sn65dsi86.yaml, ti,tfp410,yaml and toshiba,tc358768.yaml will need further updates to use video-interfaces.yaml once that lands. Cc: Thierry Reding <thierry.reding@gmail.com> Cc: Sam Ravnborg <sam@ravnborg.org> Cc: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> Cc: Maxime Ripard <mripard@kernel.org> Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com> Cc: Thomas Zimmermann <tzimmermann@suse.de> Signed-off-by: Rob Herring <robh@kernel.org> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Link: https://patchwork.freedesktop.org/patch/msgid/20210104180724.2275098-1-robh@kernel.org
Diffstat (limited to 'Documentation/devicetree/bindings/display/allwinner,sun4i-a10-display-frontend.yaml')
-rw-r--r--Documentation/devicetree/bindings/display/allwinner,sun4i-a10-display-frontend.yaml19
1 files changed, 3 insertions, 16 deletions
diff --git a/Documentation/devicetree/bindings/display/allwinner,sun4i-a10-display-frontend.yaml b/Documentation/devicetree/bindings/display/allwinner,sun4i-a10-display-frontend.yaml
index 3eb1c2bbf4e7..055157fbf3bf 100644
--- a/Documentation/devicetree/bindings/display/allwinner,sun4i-a10-display-frontend.yaml
+++ b/Documentation/devicetree/bindings/display/allwinner,sun4i-a10-display-frontend.yaml
@@ -57,35 +57,22 @@ properties:
maxItems: 1
ports:
- type: object
- description: |
- A ports node with endpoint definitions as defined in
- Documentation/devicetree/bindings/media/video-interfaces.txt.
+ $ref: /schemas/graph.yaml#/properties/ports
properties:
- "#address-cells":
- const: 1
-
- "#size-cells":
- const: 0
-
port@0:
- type: object
+ $ref: /schemas/graph.yaml#/properties/port
description: |
Input endpoints of the controller.
port@1:
- type: object
+ $ref: /schemas/graph.yaml#/properties/port
description: |
Output endpoints of the controller.
required:
- - "#address-cells"
- - "#size-cells"
- port@1
- additionalProperties: false
-
required:
- compatible
- reg