1 # SPDX-License-Identifier: (GPL-2.0-only OR BS 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 %YAML 1.2 2 %YAML 1.2 3 --- 3 --- 4 $id: http://devicetree.org/schemas/display/bri 4 $id: http://devicetree.org/schemas/display/bridge/thine,thc63lvd1024.yaml# 5 $schema: http://devicetree.org/meta-schemas/co 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 title: Thine Electronics THC63LVD1024 LVDS Dec 7 title: Thine Electronics THC63LVD1024 LVDS Decoder 8 8 9 maintainers: 9 maintainers: 10 - Jacopo Mondi <jacopo+renesas@jmondi.org> 10 - Jacopo Mondi <jacopo+renesas@jmondi.org> 11 - Laurent Pinchart <laurent.pinchart+renesas@ 11 - Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> 12 12 13 description: | 13 description: | 14 The THC63LVD1024 is a dual link LVDS receive 14 The THC63LVD1024 is a dual link LVDS receiver designed to convert LVDS 15 streams to parallel data outputs. The chip s 15 streams to parallel data outputs. The chip supports single/dual input/output 16 modes, handling up to two LVDS input streams 16 modes, handling up to two LVDS input streams and up to two digital CMOS/TTL 17 outputs. 17 outputs. 18 18 19 Single or dual operation mode, output data m 19 Single or dual operation mode, output data mapping and DDR output modes are 20 configured through input signals and the chi 20 configured through input signals and the chip does not expose any control 21 bus. 21 bus. 22 22 23 properties: 23 properties: 24 compatible: 24 compatible: 25 const: thine,thc63lvd1024 25 const: thine,thc63lvd1024 26 26 27 ports: 27 ports: 28 $ref: /schemas/graph.yaml#/properties/port 28 $ref: /schemas/graph.yaml#/properties/ports 29 description: | 29 description: | 30 The device can operate in single or dual 30 The device can operate in single or dual input and output modes. 31 31 32 When operating in single input mode, all 32 When operating in single input mode, all pixels are received on port@0, 33 and port@1 shall not contain any endpoin 33 and port@1 shall not contain any endpoint. In dual input mode, 34 even-numbered pixels are received on por 34 even-numbered pixels are received on port@0 and odd-numbered pixels on 35 port@1, and both port@0 and port@1 shall 35 port@1, and both port@0 and port@1 shall contain endpoints. 36 36 37 When operating in single output mode all 37 When operating in single output mode all pixels are output from the first 38 CMOS/TTL port and port@3 shall not conta 38 CMOS/TTL port and port@3 shall not contain any endpoint. In dual output 39 mode pixels are output from both CMOS/TT 39 mode pixels are output from both CMOS/TTL ports and both port@2 and 40 port@3 shall contain endpoints. 40 port@3 shall contain endpoints. 41 41 42 properties: 42 properties: 43 port@0: 43 port@0: 44 $ref: /schemas/graph.yaml#/properties/ 44 $ref: /schemas/graph.yaml#/properties/port 45 description: First LVDS input port 45 description: First LVDS input port 46 46 47 port@1: 47 port@1: 48 $ref: /schemas/graph.yaml#/properties/ 48 $ref: /schemas/graph.yaml#/properties/port 49 description: Second LVDS input port 49 description: Second LVDS input port 50 50 51 port@2: 51 port@2: 52 $ref: /schemas/graph.yaml#/properties/ 52 $ref: /schemas/graph.yaml#/properties/port 53 description: First digital CMOS/TTL pa 53 description: First digital CMOS/TTL parallel output 54 54 55 port@3: 55 port@3: 56 $ref: /schemas/graph.yaml#/properties/ 56 $ref: /schemas/graph.yaml#/properties/port 57 description: Second digital CMOS/TTL p 57 description: Second digital CMOS/TTL parallel output 58 58 59 required: 59 required: 60 - port@0 60 - port@0 61 - port@2 61 - port@2 62 62 63 oe-gpios: 63 oe-gpios: 64 maxItems: 1 64 maxItems: 1 65 description: Output enable GPIO signal, pi 65 description: Output enable GPIO signal, pin name "OE", active high. 66 66 67 powerdown-gpios: 67 powerdown-gpios: 68 maxItems: 1 68 maxItems: 1 69 description: Power down GPIO signal, pin n 69 description: Power down GPIO signal, pin name "/PDWN", active low. 70 70 71 vcc-supply: 71 vcc-supply: 72 description: 72 description: 73 Power supply for the TTL output, TTL CLO 73 Power supply for the TTL output, TTL CLOCKOUT signal, LVDS input, PLL and 74 digital circuitry. 74 digital circuitry. 75 75 76 required: 76 required: 77 - compatible 77 - compatible 78 - ports 78 - ports 79 - vcc-supply 79 - vcc-supply 80 80 81 additionalProperties: false 81 additionalProperties: false 82 82 83 examples: 83 examples: 84 - | 84 - | 85 #include <dt-bindings/gpio/gpio.h> 85 #include <dt-bindings/gpio/gpio.h> 86 86 87 lvds-decoder { 87 lvds-decoder { 88 compatible = "thine,thc63lvd1024"; 88 compatible = "thine,thc63lvd1024"; 89 89 90 vcc-supply = <®_lvds_vcc>; 90 vcc-supply = <®_lvds_vcc>; 91 powerdown-gpios = <&gpio4 15 GPIO_ACTI 91 powerdown-gpios = <&gpio4 15 GPIO_ACTIVE_LOW>; 92 92 93 ports { 93 ports { 94 #address-cells = <1>; 94 #address-cells = <1>; 95 #size-cells = <0>; 95 #size-cells = <0>; 96 96 97 port@0 { 97 port@0 { 98 reg = <0>; 98 reg = <0>; 99 99 100 lvds_dec_in_0: endpoint { 100 lvds_dec_in_0: endpoint { 101 remote-endpoint = <&lvds_o 101 remote-endpoint = <&lvds_out>; 102 }; 102 }; 103 }; 103 }; 104 104 105 port@2 { 105 port@2 { 106 reg = <2>; 106 reg = <2>; 107 107 108 lvds_dec_out_2: endpoint { 108 lvds_dec_out_2: endpoint { 109 remote-endpoint = <&adv751 109 remote-endpoint = <&adv7511_in>; 110 }; 110 }; 111 }; 111 }; 112 }; 112 }; 113 }; 113 }; 114 114 115 ... 115 ...
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.