1 # SPDX-License-Identifier: (GPL-2.0-only OR BS 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 # Copyright (C) 2019,2020 Lubomir Rintel <lkund 2 # Copyright (C) 2019,2020 Lubomir Rintel <lkundrak@v3.sk> 3 %YAML 1.2 3 %YAML 1.2 4 --- 4 --- 5 $id: http://devicetree.org/schemas/display/bri 5 $id: http://devicetree.org/schemas/display/bridge/chrontel,ch7033.yaml# 6 $schema: http://devicetree.org/meta-schemas/co 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 7 8 title: Chrontel CH7033 Video Encoder 8 title: Chrontel CH7033 Video Encoder 9 9 10 maintainers: 10 maintainers: 11 - Lubomir Rintel <lkundrak@v3.sk> 11 - Lubomir Rintel <lkundrak@v3.sk> 12 12 13 properties: 13 properties: 14 compatible: 14 compatible: 15 const: chrontel,ch7033 15 const: chrontel,ch7033 16 16 17 reg: 17 reg: 18 maxItems: 1 18 maxItems: 1 19 description: I2C address of the device 19 description: I2C address of the device 20 20 21 ports: 21 ports: 22 $ref: /schemas/graph.yaml#/properties/port 22 $ref: /schemas/graph.yaml#/properties/ports 23 23 24 properties: 24 properties: 25 port@0: 25 port@0: 26 $ref: /schemas/graph.yaml#/properties/ 26 $ref: /schemas/graph.yaml#/properties/port 27 description: | 27 description: | 28 Video port for RGB input. 28 Video port for RGB input. 29 29 30 port@1: 30 port@1: 31 $ref: /schemas/graph.yaml#/properties/ 31 $ref: /schemas/graph.yaml#/properties/port 32 description: | 32 description: | 33 DVI port, should be connected to a n 33 DVI port, should be connected to a node compatible with the 34 dvi-connector binding. 34 dvi-connector binding. 35 35 36 required: 36 required: 37 - port@0 37 - port@0 38 - port@1 38 - port@1 39 39 40 required: 40 required: 41 - compatible 41 - compatible 42 - reg 42 - reg 43 - ports 43 - ports 44 44 45 additionalProperties: false 45 additionalProperties: false 46 46 47 examples: 47 examples: 48 - | 48 - | 49 i2c { 49 i2c { 50 #address-cells = <1>; 50 #address-cells = <1>; 51 #size-cells = <0>; 51 #size-cells = <0>; 52 52 53 vga-dvi-encoder@76 { 53 vga-dvi-encoder@76 { 54 compatible = "chrontel,ch7033"; 54 compatible = "chrontel,ch7033"; 55 reg = <0x76>; 55 reg = <0x76>; 56 56 57 ports { 57 ports { 58 #address-cells = <1>; 58 #address-cells = <1>; 59 #size-cells = <0>; 59 #size-cells = <0>; 60 60 61 port@0 { 61 port@0 { 62 reg = <0>; 62 reg = <0>; 63 endpoint { 63 endpoint { 64 remote-endpoint = <&lc 64 remote-endpoint = <&lcd0_rgb_out>; 65 }; 65 }; 66 }; 66 }; 67 67 68 port@1 { 68 port@1 { 69 reg = <1>; 69 reg = <1>; 70 endpoint { 70 endpoint { 71 remote-endpoint = <&dv 71 remote-endpoint = <&dvi_in>; 72 }; 72 }; 73 }; 73 }; 74 74 75 }; 75 }; 76 }; 76 }; 77 }; 77 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.