Debian Codegraph @

Documentation/devicetree/bindings/display/bridge/lontium,lt8912b.yaml

raw
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/lontium,lt8912b.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
6
7 title: Lontium LT8912B MIPI to HDMI Bridge
8
9 maintainers:
10 - Adrien Grassein <[email protected]>
11
12 description: |
13 The LT8912B is a bridge device which convert DSI to HDMI
14
15 properties:
16 compatible:
17 enum:
18 - lontium,lt8912b
19
20 reg:
21 maxItems: 1
22
23 reset-gpios:
24 maxItems: 1
25 description: GPIO connected to active high RESET pin.
26
27 ports:
28 $ref: /schemas/graph.yaml#/properties/ports
29
30 properties:
31 port@0:
32 $ref: /schemas/graph.yaml#/$defs/port-base
33 unevaluatedProperties: false
34 description:
35 Primary MIPI port for MIPI input
36
37 properties:
38 endpoint:
39 $ref: /schemas/media/video-interfaces.yaml#
40 unevaluatedProperties: false
41
42 properties:
43 data-lanes: true
44
45 required:
46 - data-lanes
47
48 port@1:
49 $ref: /schemas/graph.yaml#/properties/port
50 description: |
51 HDMI port, should be connected to a node compatible with the
52 hdmi-connector binding.
53
54 required:
55 - port@0
56 - port@1
57
58 vcchdmipll-supply:
59 description: A 1.8V supply that powers the HDMI PLL.
60
61 vcchdmitx-supply:
62 description: A 1.8V supply that powers the HDMI TX part.
63
64 vcclvdspll-supply:
65 description: A 1.8V supply that powers the LVDS PLL.
66
67 vcclvdstx-supply:
68 description: A 1.8V supply that powers the LVDS TX part.
69
70 vccmipirx-supply:
71 description: A 1.8V supply that powers the MIPI RX part.
72
73 vccsysclk-supply:
74 description: A 1.8V supply that powers the SYSCLK.
75
76 vdd-supply:
77 description: A 1.8V supply that powers the digital part.
78
79 required:
80 - compatible
81 - reg
82 - ports
83
84 additionalProperties: false
85
86 examples:
87 - |
88 #include <dt-bindings/gpio/gpio.h>
89
90 i2c {
91 #address-cells = <1>;
92 #size-cells = <0>;
93
94 hdmi-bridge@48 {
95 compatible = "lontium,lt8912b";
96 reg = <0x48>;
97 reset-gpios = <&max7323 0 GPIO_ACTIVE_LOW>;
98
99 ports {
100 #address-cells = <1>;
101 #size-cells = <0>;
102
103 port@0 {
104 reg = <0>;
105
106 hdmi_out_in: endpoint {
107 data-lanes = <0 1 2 3>;
108 remote-endpoint = <&mipi_dsi_out>;
109 };
110 };
111
112 port@1 {
113 reg = <1>;
114
115 endpoint {
116 remote-endpoint = <&hdmi_in>;
117 };
118 };
119 };
120 };
121 };
122
123 ...