xref: /freebsd/sys/contrib/device-tree/Bindings/display/bridge/simple-bridge.yaml (revision 19261079b74319502c6ffa1249920079f0f69a72)
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      - enum:
26          - adi,adv7123
27          - dumb-vga-dac
28          - ti,opa362
29          - ti,ths8134
30          - ti,ths8135
31
32  ports:
33    $ref: /schemas/graph.yaml#/properties/ports
34
35    properties:
36      port@0:
37        $ref: /schemas/graph.yaml#/properties/port
38        description: The bridge input
39
40      port@1:
41        $ref: /schemas/graph.yaml#/properties/port
42        description: The bridge output
43
44    required:
45      - port@0
46      - port@1
47
48  enable-gpios:
49    maxItems: 1
50    description: GPIO controlling bridge enable
51
52  vdd-supply:
53    description: Power supply for the bridge
54
55required:
56  - compatible
57  - ports
58
59additionalProperties: false
60
61examples:
62  - |
63    bridge {
64        compatible = "ti,ths8134a", "ti,ths8134";
65
66        ports {
67            #address-cells = <1>;
68            #size-cells = <0>;
69
70            port@0 {
71                reg = <0>;
72
73                vga_bridge_in: endpoint {
74                    remote-endpoint = <&tcon0_out_vga>;
75                };
76            };
77
78            port@1 {
79                reg = <1>;
80
81                vga_bridge_out: endpoint {
82                    remote-endpoint = <&vga_con_in>;
83                };
84            };
85        };
86    };
87
88...
89