xref: /freebsd/sys/contrib/device-tree/Bindings/display/bridge/ite,it6263.yaml (revision 5f62a964e9f8abc6a05d8338273fadd154f0a206)
1*5f62a964SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2*5f62a964SEmmanuel Vadot%YAML 1.2
3*5f62a964SEmmanuel Vadot---
4*5f62a964SEmmanuel Vadot$id: http://devicetree.org/schemas/display/bridge/ite,it6263.yaml#
5*5f62a964SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6*5f62a964SEmmanuel Vadot
7*5f62a964SEmmanuel Vadottitle: ITE IT6263 LVDS to HDMI converter
8*5f62a964SEmmanuel Vadot
9*5f62a964SEmmanuel Vadotmaintainers:
10*5f62a964SEmmanuel Vadot  - Liu Ying <victor.liu@nxp.com>
11*5f62a964SEmmanuel Vadot
12*5f62a964SEmmanuel Vadotdescription: |
13*5f62a964SEmmanuel Vadot  The IT6263 is a high-performance single-chip De-SSC(De-Spread Spectrum) LVDS
14*5f62a964SEmmanuel Vadot  to HDMI converter.  Combined with LVDS receiver and HDMI 1.4a transmitter,
15*5f62a964SEmmanuel Vadot  the IT6263 supports LVDS input and HDMI 1.4 output by conversion function.
16*5f62a964SEmmanuel Vadot  The built-in LVDS receiver can support single-link and dual-link LVDS inputs,
17*5f62a964SEmmanuel Vadot  and the built-in HDMI transmitter is fully compliant with HDMI 1.4a/3D, HDCP
18*5f62a964SEmmanuel Vadot  1.2 and backward compatible with DVI 1.0 specification.
19*5f62a964SEmmanuel Vadot
20*5f62a964SEmmanuel Vadot  The IT6263 also encodes and transmits up to 8 channels of I2S digital audio,
21*5f62a964SEmmanuel Vadot  with sampling rate up to 192KHz and sample size up to 24 bits. In addition,
22*5f62a964SEmmanuel Vadot  an S/PDIF input port takes in compressed audio of up to 192KHz frame rate.
23*5f62a964SEmmanuel Vadot
24*5f62a964SEmmanuel Vadot  The newly supported High-Bit Rate(HBR) audio by HDMI specifications v1.3 is
25*5f62a964SEmmanuel Vadot  provided by the IT6263 in two interfaces: the four I2S input ports or the
26*5f62a964SEmmanuel Vadot  S/PDIF input port.  With both interfaces the highest possible HBR frame rate
27*5f62a964SEmmanuel Vadot  is supported at up to 768KHz.
28*5f62a964SEmmanuel Vadot
29*5f62a964SEmmanuel VadotallOf:
30*5f62a964SEmmanuel Vadot  - $ref: /schemas/display/lvds-dual-ports.yaml#
31*5f62a964SEmmanuel Vadot
32*5f62a964SEmmanuel Vadotproperties:
33*5f62a964SEmmanuel Vadot  compatible:
34*5f62a964SEmmanuel Vadot    const: ite,it6263
35*5f62a964SEmmanuel Vadot
36*5f62a964SEmmanuel Vadot  reg:
37*5f62a964SEmmanuel Vadot    maxItems: 1
38*5f62a964SEmmanuel Vadot
39*5f62a964SEmmanuel Vadot  clocks:
40*5f62a964SEmmanuel Vadot    maxItems: 1
41*5f62a964SEmmanuel Vadot    description: audio master clock
42*5f62a964SEmmanuel Vadot
43*5f62a964SEmmanuel Vadot  clock-names:
44*5f62a964SEmmanuel Vadot    const: mclk
45*5f62a964SEmmanuel Vadot
46*5f62a964SEmmanuel Vadot  data-mapping:
47*5f62a964SEmmanuel Vadot    enum:
48*5f62a964SEmmanuel Vadot      - jeida-18
49*5f62a964SEmmanuel Vadot      - jeida-24
50*5f62a964SEmmanuel Vadot      - jeida-30
51*5f62a964SEmmanuel Vadot      - vesa-24
52*5f62a964SEmmanuel Vadot      - vesa-30
53*5f62a964SEmmanuel Vadot
54*5f62a964SEmmanuel Vadot  reset-gpios:
55*5f62a964SEmmanuel Vadot    maxItems: 1
56*5f62a964SEmmanuel Vadot
57*5f62a964SEmmanuel Vadot  ivdd-supply:
58*5f62a964SEmmanuel Vadot    description: 1.8V digital logic power
59*5f62a964SEmmanuel Vadot
60*5f62a964SEmmanuel Vadot  ovdd-supply:
61*5f62a964SEmmanuel Vadot    description: 3.3V I/O pin power
62*5f62a964SEmmanuel Vadot
63*5f62a964SEmmanuel Vadot  txavcc18-supply:
64*5f62a964SEmmanuel Vadot    description: 1.8V HDMI analog frontend power
65*5f62a964SEmmanuel Vadot
66*5f62a964SEmmanuel Vadot  txavcc33-supply:
67*5f62a964SEmmanuel Vadot    description: 3.3V HDMI analog frontend power
68*5f62a964SEmmanuel Vadot
69*5f62a964SEmmanuel Vadot  pvcc1-supply:
70*5f62a964SEmmanuel Vadot    description: 1.8V HDMI frontend core PLL power
71*5f62a964SEmmanuel Vadot
72*5f62a964SEmmanuel Vadot  pvcc2-supply:
73*5f62a964SEmmanuel Vadot    description: 1.8V HDMI frontend filter PLL power
74*5f62a964SEmmanuel Vadot
75*5f62a964SEmmanuel Vadot  avcc-supply:
76*5f62a964SEmmanuel Vadot    description: 3.3V LVDS frontend power
77*5f62a964SEmmanuel Vadot
78*5f62a964SEmmanuel Vadot  anvdd-supply:
79*5f62a964SEmmanuel Vadot    description: 1.8V LVDS frontend analog power
80*5f62a964SEmmanuel Vadot
81*5f62a964SEmmanuel Vadot  apvdd-supply:
82*5f62a964SEmmanuel Vadot    description: 1.8V LVDS frontend PLL power
83*5f62a964SEmmanuel Vadot
84*5f62a964SEmmanuel Vadot  "#sound-dai-cells":
85*5f62a964SEmmanuel Vadot    const: 0
86*5f62a964SEmmanuel Vadot
87*5f62a964SEmmanuel Vadot  ite,i2s-audio-fifo-sources:
88*5f62a964SEmmanuel Vadot    $ref: /schemas/types.yaml#/definitions/uint32-array
89*5f62a964SEmmanuel Vadot    minItems: 1
90*5f62a964SEmmanuel Vadot    maxItems: 4
91*5f62a964SEmmanuel Vadot    items:
92*5f62a964SEmmanuel Vadot      enum: [0, 1, 2, 3]
93*5f62a964SEmmanuel Vadot    description:
94*5f62a964SEmmanuel Vadot      Each array element indicates the pin number of an I2S serial data input
95*5f62a964SEmmanuel Vadot      line which is connected to an audio FIFO, from audio FIFO0 to FIFO3.
96*5f62a964SEmmanuel Vadot
97*5f62a964SEmmanuel Vadot  ite,rl-channel-swap-audio-sources:
98*5f62a964SEmmanuel Vadot    $ref: /schemas/types.yaml#/definitions/uint32-array
99*5f62a964SEmmanuel Vadot    minItems: 1
100*5f62a964SEmmanuel Vadot    maxItems: 4
101*5f62a964SEmmanuel Vadot    uniqueItems: true
102*5f62a964SEmmanuel Vadot    items:
103*5f62a964SEmmanuel Vadot      enum: [0, 1, 2, 3]
104*5f62a964SEmmanuel Vadot    description:
105*5f62a964SEmmanuel Vadot      Each array element indicates an audio source whose right channel and left
106*5f62a964SEmmanuel Vadot      channel are swapped by this converter. For I2S, the element is the pin
107*5f62a964SEmmanuel Vadot      number of an I2S serial data input line. For S/PDIF, the element is always
108*5f62a964SEmmanuel Vadot      0.
109*5f62a964SEmmanuel Vadot
110*5f62a964SEmmanuel Vadot  ports:
111*5f62a964SEmmanuel Vadot    $ref: /schemas/graph.yaml#/properties/ports
112*5f62a964SEmmanuel Vadot
113*5f62a964SEmmanuel Vadot    properties:
114*5f62a964SEmmanuel Vadot      port@0: true
115*5f62a964SEmmanuel Vadot
116*5f62a964SEmmanuel Vadot      port@1:
117*5f62a964SEmmanuel Vadot        oneOf:
118*5f62a964SEmmanuel Vadot          - required: [dual-lvds-odd-pixels]
119*5f62a964SEmmanuel Vadot          - required: [dual-lvds-even-pixels]
120*5f62a964SEmmanuel Vadot
121*5f62a964SEmmanuel Vadot      port@2:
122*5f62a964SEmmanuel Vadot        $ref: /schemas/graph.yaml#/properties/port
123*5f62a964SEmmanuel Vadot        description: video port for the HDMI output
124*5f62a964SEmmanuel Vadot
125*5f62a964SEmmanuel Vadot      port@3:
126*5f62a964SEmmanuel Vadot        $ref: /schemas/graph.yaml#/properties/port
127*5f62a964SEmmanuel Vadot        description: sound input port
128*5f62a964SEmmanuel Vadot
129*5f62a964SEmmanuel Vadot    required:
130*5f62a964SEmmanuel Vadot      - port@0
131*5f62a964SEmmanuel Vadot      - port@2
132*5f62a964SEmmanuel Vadot
133*5f62a964SEmmanuel Vadotrequired:
134*5f62a964SEmmanuel Vadot  - compatible
135*5f62a964SEmmanuel Vadot  - reg
136*5f62a964SEmmanuel Vadot  - data-mapping
137*5f62a964SEmmanuel Vadot  - ivdd-supply
138*5f62a964SEmmanuel Vadot  - ovdd-supply
139*5f62a964SEmmanuel Vadot  - txavcc18-supply
140*5f62a964SEmmanuel Vadot  - txavcc33-supply
141*5f62a964SEmmanuel Vadot  - pvcc1-supply
142*5f62a964SEmmanuel Vadot  - pvcc2-supply
143*5f62a964SEmmanuel Vadot  - avcc-supply
144*5f62a964SEmmanuel Vadot  - anvdd-supply
145*5f62a964SEmmanuel Vadot  - apvdd-supply
146*5f62a964SEmmanuel Vadot
147*5f62a964SEmmanuel VadotunevaluatedProperties: false
148*5f62a964SEmmanuel Vadot
149*5f62a964SEmmanuel Vadotexamples:
150*5f62a964SEmmanuel Vadot  - |
151*5f62a964SEmmanuel Vadot    /* single-link LVDS input */
152*5f62a964SEmmanuel Vadot    #include <dt-bindings/gpio/gpio.h>
153*5f62a964SEmmanuel Vadot
154*5f62a964SEmmanuel Vadot    i2c {
155*5f62a964SEmmanuel Vadot        #address-cells = <1>;
156*5f62a964SEmmanuel Vadot        #size-cells = <0>;
157*5f62a964SEmmanuel Vadot
158*5f62a964SEmmanuel Vadot        hdmi@4c {
159*5f62a964SEmmanuel Vadot            compatible = "ite,it6263";
160*5f62a964SEmmanuel Vadot            reg = <0x4c>;
161*5f62a964SEmmanuel Vadot            data-mapping = "jeida-24";
162*5f62a964SEmmanuel Vadot            reset-gpios = <&gpio1 10 GPIO_ACTIVE_LOW>;
163*5f62a964SEmmanuel Vadot            ivdd-supply = <&reg_buck5>;
164*5f62a964SEmmanuel Vadot            ovdd-supply = <&reg_vext_3v3>;
165*5f62a964SEmmanuel Vadot            txavcc18-supply = <&reg_buck5>;
166*5f62a964SEmmanuel Vadot            txavcc33-supply = <&reg_vext_3v3>;
167*5f62a964SEmmanuel Vadot            pvcc1-supply = <&reg_buck5>;
168*5f62a964SEmmanuel Vadot            pvcc2-supply = <&reg_buck5>;
169*5f62a964SEmmanuel Vadot            avcc-supply = <&reg_vext_3v3>;
170*5f62a964SEmmanuel Vadot            anvdd-supply = <&reg_buck5>;
171*5f62a964SEmmanuel Vadot            apvdd-supply = <&reg_buck5>;
172*5f62a964SEmmanuel Vadot
173*5f62a964SEmmanuel Vadot            ports {
174*5f62a964SEmmanuel Vadot                #address-cells = <1>;
175*5f62a964SEmmanuel Vadot                #size-cells = <0>;
176*5f62a964SEmmanuel Vadot
177*5f62a964SEmmanuel Vadot                port@0 {
178*5f62a964SEmmanuel Vadot                    reg = <0>;
179*5f62a964SEmmanuel Vadot
180*5f62a964SEmmanuel Vadot                    it6263_lvds_link1: endpoint {
181*5f62a964SEmmanuel Vadot                        remote-endpoint = <&ldb_lvds_ch0>;
182*5f62a964SEmmanuel Vadot                    };
183*5f62a964SEmmanuel Vadot                };
184*5f62a964SEmmanuel Vadot
185*5f62a964SEmmanuel Vadot                port@2 {
186*5f62a964SEmmanuel Vadot                    reg = <2>;
187*5f62a964SEmmanuel Vadot
188*5f62a964SEmmanuel Vadot                    it6263_out: endpoint {
189*5f62a964SEmmanuel Vadot                        remote-endpoint = <&hdmi_in>;
190*5f62a964SEmmanuel Vadot                    };
191*5f62a964SEmmanuel Vadot                };
192*5f62a964SEmmanuel Vadot            };
193*5f62a964SEmmanuel Vadot        };
194*5f62a964SEmmanuel Vadot    };
195*5f62a964SEmmanuel Vadot
196*5f62a964SEmmanuel Vadot  - |
197*5f62a964SEmmanuel Vadot    /* dual-link LVDS input */
198*5f62a964SEmmanuel Vadot    #include <dt-bindings/gpio/gpio.h>
199*5f62a964SEmmanuel Vadot
200*5f62a964SEmmanuel Vadot    i2c {
201*5f62a964SEmmanuel Vadot        #address-cells = <1>;
202*5f62a964SEmmanuel Vadot        #size-cells = <0>;
203*5f62a964SEmmanuel Vadot
204*5f62a964SEmmanuel Vadot        hdmi@4c {
205*5f62a964SEmmanuel Vadot            compatible = "ite,it6263";
206*5f62a964SEmmanuel Vadot            reg = <0x4c>;
207*5f62a964SEmmanuel Vadot            data-mapping = "jeida-24";
208*5f62a964SEmmanuel Vadot            reset-gpios = <&gpio1 10 GPIO_ACTIVE_LOW>;
209*5f62a964SEmmanuel Vadot            ivdd-supply = <&reg_buck5>;
210*5f62a964SEmmanuel Vadot            ovdd-supply = <&reg_vext_3v3>;
211*5f62a964SEmmanuel Vadot            txavcc18-supply = <&reg_buck5>;
212*5f62a964SEmmanuel Vadot            txavcc33-supply = <&reg_vext_3v3>;
213*5f62a964SEmmanuel Vadot            pvcc1-supply = <&reg_buck5>;
214*5f62a964SEmmanuel Vadot            pvcc2-supply = <&reg_buck5>;
215*5f62a964SEmmanuel Vadot            avcc-supply = <&reg_vext_3v3>;
216*5f62a964SEmmanuel Vadot            anvdd-supply = <&reg_buck5>;
217*5f62a964SEmmanuel Vadot            apvdd-supply = <&reg_buck5>;
218*5f62a964SEmmanuel Vadot
219*5f62a964SEmmanuel Vadot            ports {
220*5f62a964SEmmanuel Vadot                #address-cells = <1>;
221*5f62a964SEmmanuel Vadot                #size-cells = <0>;
222*5f62a964SEmmanuel Vadot
223*5f62a964SEmmanuel Vadot                port@0 {
224*5f62a964SEmmanuel Vadot                    reg = <0>;
225*5f62a964SEmmanuel Vadot                    dual-lvds-odd-pixels;
226*5f62a964SEmmanuel Vadot
227*5f62a964SEmmanuel Vadot                    it6263_lvds_link1_dual: endpoint {
228*5f62a964SEmmanuel Vadot                        remote-endpoint = <&ldb_lvds_ch0>;
229*5f62a964SEmmanuel Vadot                    };
230*5f62a964SEmmanuel Vadot                };
231*5f62a964SEmmanuel Vadot
232*5f62a964SEmmanuel Vadot                port@1 {
233*5f62a964SEmmanuel Vadot                    reg = <1>;
234*5f62a964SEmmanuel Vadot                    dual-lvds-even-pixels;
235*5f62a964SEmmanuel Vadot
236*5f62a964SEmmanuel Vadot                    it6263_lvds_link2_dual: endpoint {
237*5f62a964SEmmanuel Vadot                        remote-endpoint = <&ldb_lvds_ch1>;
238*5f62a964SEmmanuel Vadot                    };
239*5f62a964SEmmanuel Vadot                };
240*5f62a964SEmmanuel Vadot
241*5f62a964SEmmanuel Vadot                port@2 {
242*5f62a964SEmmanuel Vadot                    reg = <2>;
243*5f62a964SEmmanuel Vadot
244*5f62a964SEmmanuel Vadot                    it6263_out_dual: endpoint {
245*5f62a964SEmmanuel Vadot                        remote-endpoint = <&hdmi_in>;
246*5f62a964SEmmanuel Vadot                    };
247*5f62a964SEmmanuel Vadot                };
248*5f62a964SEmmanuel Vadot            };
249*5f62a964SEmmanuel Vadot        };
250*5f62a964SEmmanuel Vadot    };
251