Debian Codegraph @

Documentation/devicetree/bindings/display/bridge/ite,it66121.yaml

raw
1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2 %YAML 1.2
3 ---
4 $id: http://devicetree.org/schemas/display/bridge/ite,it66121.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
6
7 title: ITE it66121 HDMI bridge
8
9 maintainers:
10 - Phong LE <[email protected]>
11 - Neil Armstrong <[email protected]>
12
13 description: |
14 The IT66121 is a high-performance and low-power single channel HDMI
15 transmitter, fully compliant with HDMI 1.3a, HDCP 1.2 and backward compatible
16 to DVI 1.0 specifications.
17
18 properties:
19 compatible:
20 enum:
21 - ite,it66121
22 - ite,it66122
23 - ite,it6610
24
25 reg:
26 maxItems: 1
27
28 reset-gpios:
29 maxItems: 1
30 description: GPIO connected to active low reset
31
32 vrf12-supply:
33 description: Regulator for 1.2V analog core power.
34
35 vcn33-supply:
36 description: Regulator for 3.3V digital core power.
37
38 vcn18-supply:
39 description: Regulator for 1.8V IO core power.
40
41 interrupts:
42 maxItems: 1
43
44 "#sound-dai-cells":
45 const: 0
46
47 ports:
48 $ref: /schemas/graph.yaml#/properties/ports
49
50 properties:
51 port@0:
52 $ref: /schemas/graph.yaml#/$defs/port-base
53 unevaluatedProperties: false
54 description: DPI input port.
55
56 properties:
57 endpoint:
58 $ref: /schemas/graph.yaml#/$defs/endpoint-base
59 unevaluatedProperties: false
60
61 properties:
62 bus-width:
63 description:
64 Endpoint bus width.
65 enum:
66 - 12 # 12 data lines connected and dual-edge mode
67 - 24 # 24 data lines connected and single-edge mode
68 default: 24
69
70 port@1:
71 $ref: /schemas/graph.yaml#/properties/port
72 description: HDMI Connector port.
73
74 required:
75 - port@0
76 - port@1
77
78 required:
79 - compatible
80 - reg
81 - reset-gpios
82 - vrf12-supply
83 - vcn33-supply
84 - vcn18-supply
85 - interrupts
86 - ports
87
88 allOf:
89 - $ref: /schemas/sound/dai-common.yaml#
90
91 unevaluatedProperties: false
92
93 examples:
94 - |
95 #include <dt-bindings/interrupt-controller/irq.h>
96 #include <dt-bindings/gpio/gpio.h>
97 i2c {
98 #address-cells = <1>;
99 #size-cells = <0>;
100
101 it66121hdmitx: hdmitx@4c {
102 compatible = "ite,it66121";
103 pinctrl-names = "default";
104 pinctrl-0 = <&ite_pins_default>;
105 vcn33-supply = <&mt6358_vcn33_wifi_reg>;
106 vcn18-supply = <&mt6358_vcn18_reg>;
107 vrf12-supply = <&mt6358_vrf12_reg>;
108 reset-gpios = <&pio 160 GPIO_ACTIVE_LOW>;
109 interrupt-parent = <&pio>;
110 interrupts = <4 IRQ_TYPE_LEVEL_LOW>;
111 reg = <0x4c>;
112
113 ports {
114 #address-cells = <1>;
115 #size-cells = <0>;
116
117 port@0 {
118 reg = <0>;
119 it66121_in: endpoint {
120 bus-width = <12>;
121 remote-endpoint = <&display_out>;
122 };
123 };
124
125 port@1 {
126 reg = <1>;
127 hdmi_conn_out: endpoint {
128 remote-endpoint = <&hdmi_conn_in>;
129 };
130 };
131 };
132 };
133 };