Merge tag 'linux-kselftest-kunit-fixes-5.11-rc3' of git://git.kernel.org/pub/scm...
[linux/fpc-iii.git] / Documentation / devicetree / bindings / display / bridge / chrontel,ch7033.yaml
blob9f38f55fc990421ba118383773da7bb324060ab1
1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2 # Copyright (C) 2019,2020 Lubomir Rintel <lkundrak@v3.sk>
3 %YAML 1.2
4 ---
5 $id: http://devicetree.org/schemas/display/bridge/chrontel,ch7033.yaml#
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
8 title: Chrontel CH7033 Video Encoder Device Tree Bindings
10 maintainers:
11   - Lubomir Rintel <lkundrak@v3.sk>
13 properties:
14   compatible:
15     const: chrontel,ch7033
17   reg:
18     maxItems: 1
19     description: I2C address of the device
21   ports:
22     type: object
24     properties:
25       port@0:
26         type: object
27         description: |
28           Video port for RGB input.
30       port@1:
31         type: object
32         description: |
33           DVI port, should be connected to a node compatible with the
34           dvi-connector binding.
36     required:
37       - port@0
38       - port@1
40 required:
41   - compatible
42   - reg
43   - ports
45 additionalProperties: false
47 examples:
48   - |
49     i2c {
50         #address-cells = <1>;
51         #size-cells = <0>;
53         vga-dvi-encoder@76 {
54             compatible = "chrontel,ch7033";
55             reg = <0x76>;
57             ports {
58                 #address-cells = <1>;
59                 #size-cells = <0>;
61                 port@0 {
62                     reg = <0>;
63                     endpoint {
64                         remote-endpoint = <&lcd0_rgb_out>;
65                     };
66                 };
68                 port@1 {
69                     reg = <1>;
70                     endpoint {
71                         remote-endpoint = <&dvi_in>;
72                     };
73                 };
75             };
76         };
77     };