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