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