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