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