dt-bindings: Whitespace clean-ups in schema files
[linux-block.git] / Documentation / devicetree / bindings / display / bridge / simple-bridge.yaml
CommitLineData
18a02062
LP
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/display/bridge/simple-bridge.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Transparent non-programmable DRM bridges
8
9maintainers:
10 - Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
11 - Maxime Ripard <mripard@kernel.org>
12
13description: |
14 This binding supports transparent non-programmable bridges that don't require
15 any configuration, with a single input and a single output.
16
17properties:
18 compatible:
19 oneOf:
20 - items:
f516fb70
RH
21 - enum:
22 - ti,ths8134a
23 - ti,ths8134b
24 - const: ti,ths8134
18a02062 25 - enum:
f516fb70
RH
26 - adi,adv7123
27 - dumb-vga-dac
28 - ti,opa362
29 - ti,ths8134
30 - ti,ths8135
18a02062
LP
31
32 ports:
33 type: object
34 description: |
35 This device has two video ports. Their connections are modeled using the
36 OF graph bindings specified in Documentation/devicetree/bindings/graph.txt.
37 properties:
38 '#address-cells':
39 const: 1
40
41 '#size-cells':
42 const: 0
43
44 port@0:
45 type: object
46 description: The bridge input
47
48 port@1:
49 type: object
50 description: The bridge output
51
52 required:
53 - port@0
54 - port@1
55
56 additionalProperties: false
57
58 enable-gpios:
59 maxItems: 1
60 description: GPIO controlling bridge enable
61
62 vdd-supply:
63 maxItems: 1
64 description: Power supply for the bridge
65
66required:
67 - compatible
68 - ports
69
70additionalProperties: false
71
72examples:
73 - |
74 bridge {
75 compatible = "ti,ths8134a", "ti,ths8134";
76
77 ports {
78 #address-cells = <1>;
79 #size-cells = <0>;
80
81 port@0 {
82 reg = <0>;
83
84 vga_bridge_in: endpoint {
85 remote-endpoint = <&tcon0_out_vga>;
86 };
87 };
88
89 port@1 {
90 reg = <1>;
91
92 vga_bridge_out: endpoint {
93 remote-endpoint = <&vga_con_in>;
94 };
95 };
96 };
97 };
98
99...