]>
Commit | Line | Data |
---|---|---|
53633a89 TR |
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 <adrien.grassein@gmail.com> | |
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 | ||
93743d24 TR |
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 | ||
53633a89 TR |
79 | required: |
80 | - compatible | |
81 | - reg | |
82 | - reset-gpios | |
83 | - ports | |
84 | ||
85 | additionalProperties: false | |
86 | ||
87 | examples: | |
88 | - | | |
89 | #include <dt-bindings/gpio/gpio.h> | |
90 | ||
91 | i2c { | |
92 | #address-cells = <1>; | |
93 | #size-cells = <0>; | |
94 | ||
95 | hdmi-bridge@48 { | |
96 | compatible = "lontium,lt8912b"; | |
97 | reg = <0x48>; | |
98 | reset-gpios = <&max7323 0 GPIO_ACTIVE_LOW>; | |
99 | ||
100 | ports { | |
101 | #address-cells = <1>; | |
102 | #size-cells = <0>; | |
103 | ||
104 | port@0 { | |
105 | reg = <0>; | |
106 | ||
107 | hdmi_out_in: endpoint { | |
108 | data-lanes = <0 1 2 3>; | |
109 | remote-endpoint = <&mipi_dsi_out>; | |
110 | }; | |
111 | }; | |
112 | ||
113 | port@1 { | |
114 | reg = <1>; | |
115 | ||
116 | endpoint { | |
117 | remote-endpoint = <&hdmi_in>; | |
118 | }; | |
119 | }; | |
120 | }; | |
121 | }; | |
122 | }; | |
123 | ||
124 | ... |