xref: /linux/Documentation/devicetree/bindings/display/bridge/simple-bridge.yaml (revision 509d3f45847627f4c5cdce004c3ec79262b5239c)
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:
21          - enum:
22              - ti,ths8134a
23              - ti,ths8134b
24          - const: ti,ths8134
25      - items:
26          - const: corpro,gm7123
27          - const: adi,adv7123
28      - enum:
29          - adi,adv7123
30          - asl-tek,cs5263
31          - dumb-vga-dac
32          - parade,ps185hdm
33          - radxa,ra620
34          - realtek,rtd2171
35          - ti,opa362
36          - ti,ths8134
37          - ti,ths8135
38
39  ports:
40    $ref: /schemas/graph.yaml#/properties/ports
41
42    properties:
43      port@0:
44        $ref: /schemas/graph.yaml#/properties/port
45        description: The bridge input
46
47      port@1:
48        $ref: /schemas/graph.yaml#/properties/port
49        description: The bridge output
50
51    required:
52      - port@0
53      - port@1
54
55  enable-gpios:
56    maxItems: 1
57    description: GPIO controlling bridge enable
58
59  vdd-supply:
60    description: Power supply for the bridge
61
62required:
63  - compatible
64  - ports
65
66additionalProperties: false
67
68examples:
69  - |
70    bridge {
71        compatible = "ti,ths8134a", "ti,ths8134";
72
73        ports {
74            #address-cells = <1>;
75            #size-cells = <0>;
76
77            port@0 {
78                reg = <0>;
79
80                vga_bridge_in: endpoint {
81                    remote-endpoint = <&tcon0_out_vga>;
82                };
83            };
84
85            port@1 {
86                reg = <1>;
87
88                vga_bridge_out: endpoint {
89                    remote-endpoint = <&vga_con_in>;
90                };
91            };
92        };
93    };
94
95...
96