1575af8ecSFabrizio Castro# SPDX-License-Identifier: GPL-2.0 2575af8ecSFabrizio Castro%YAML 1.2 3575af8ecSFabrizio Castro--- 4575af8ecSFabrizio Castro$id: http://devicetree.org/schemas/display/bridge/lvds-codec.yaml# 5575af8ecSFabrizio Castro$schema: http://devicetree.org/meta-schemas/core.yaml# 6575af8ecSFabrizio Castro 7575af8ecSFabrizio Castrotitle: Transparent LVDS encoders and decoders 8575af8ecSFabrizio Castro 9575af8ecSFabrizio Castromaintainers: 10575af8ecSFabrizio Castro - Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> 11575af8ecSFabrizio Castro 12575af8ecSFabrizio Castrodescription: | 13575af8ecSFabrizio Castro This binding supports transparent LVDS encoders and decoders that don't 14575af8ecSFabrizio Castro require any configuration. 15575af8ecSFabrizio Castro 16575af8ecSFabrizio Castro LVDS is a physical layer specification defined in ANSI/TIA/EIA-644-A. Multiple 17575af8ecSFabrizio Castro incompatible data link layers have been used over time to transmit image data 18575af8ecSFabrizio Castro to LVDS panels. This binding targets devices compatible with the following 19575af8ecSFabrizio Castro specifications only. 20575af8ecSFabrizio Castro 21575af8ecSFabrizio Castro [JEIDA] "Digital Interface Standards for Monitor", JEIDA-59-1999, February 22575af8ecSFabrizio Castro 1999 (Version 1.0), Japan Electronic Industry Development Association (JEIDA) 23575af8ecSFabrizio Castro [LDI] "Open LVDS Display Interface", May 1999 (Version 0.95), National 24575af8ecSFabrizio Castro Semiconductor 25575af8ecSFabrizio Castro [VESA] "VESA Notebook Panel Standard", October 2007 (Version 1.0), Video 26575af8ecSFabrizio Castro Electronics Standards Association (VESA) 27575af8ecSFabrizio Castro 28575af8ecSFabrizio Castro Those devices have been marketed under the FPD-Link and FlatLink brand names 29575af8ecSFabrizio Castro among others. 30575af8ecSFabrizio Castro 31575af8ecSFabrizio Castroproperties: 32575af8ecSFabrizio Castro compatible: 33575af8ecSFabrizio Castro description: | 34575af8ecSFabrizio Castro Must list the device specific compatible string first, followed by the 35575af8ecSFabrizio Castro generic compatible string. 36575af8ecSFabrizio Castro oneOf: 37575af8ecSFabrizio Castro - items: 38575af8ecSFabrizio Castro - enum: 39575af8ecSFabrizio Castro - ti,ds90c185 # For the TI DS90C185 FPD-Link Serializer 40575af8ecSFabrizio Castro - ti,ds90c187 # For the TI DS90C187 FPD-Link Serializer 41575af8ecSFabrizio Castro - ti,sn75lvds83 # For the TI SN75LVDS83 FlatLink transmitter 42575af8ecSFabrizio Castro - const: lvds-encoder # Generic LVDS encoder compatible fallback 43*b7de4ba7SFabrizio Castro - items: 44*b7de4ba7SFabrizio Castro - enum: 45*b7de4ba7SFabrizio Castro - ti,ds90cf384a # For the DS90CF384A FPD-Link LVDS Receiver 46575af8ecSFabrizio Castro - const: lvds-decoder # Generic LVDS decoders compatible fallback 47575af8ecSFabrizio Castro 48575af8ecSFabrizio Castro ports: 49575af8ecSFabrizio Castro type: object 50575af8ecSFabrizio Castro description: | 51575af8ecSFabrizio Castro This device has two video ports. Their connections are modeled using the 52575af8ecSFabrizio Castro OF graph bindings specified in Documentation/devicetree/bindings/graph.txt 53575af8ecSFabrizio Castro properties: 54575af8ecSFabrizio Castro port@0: 55575af8ecSFabrizio Castro type: object 56575af8ecSFabrizio Castro description: | 57575af8ecSFabrizio Castro For LVDS encoders, port 0 is the parallel input 58575af8ecSFabrizio Castro For LVDS decoders, port 0 is the LVDS input 59575af8ecSFabrizio Castro 60575af8ecSFabrizio Castro port@1: 61575af8ecSFabrizio Castro type: object 62575af8ecSFabrizio Castro description: | 63575af8ecSFabrizio Castro For LVDS encoders, port 1 is the LVDS output 64575af8ecSFabrizio Castro For LVDS decoders, port 1 is the parallel output 65575af8ecSFabrizio Castro 66575af8ecSFabrizio Castro required: 67575af8ecSFabrizio Castro - port@0 68575af8ecSFabrizio Castro - port@1 69575af8ecSFabrizio Castro 70575af8ecSFabrizio Castro powerdown-gpios: 71575af8ecSFabrizio Castro description: 72575af8ecSFabrizio Castro The GPIO used to control the power down line of this device. 73575af8ecSFabrizio Castro maxItems: 1 74575af8ecSFabrizio Castro 75575af8ecSFabrizio Castrorequired: 76575af8ecSFabrizio Castro - compatible 77575af8ecSFabrizio Castro - ports 78575af8ecSFabrizio Castro 79575af8ecSFabrizio Castroexamples: 80575af8ecSFabrizio Castro - | 81575af8ecSFabrizio Castro lvds-encoder { 82575af8ecSFabrizio Castro compatible = "ti,ds90c185", "lvds-encoder"; 83575af8ecSFabrizio Castro 84575af8ecSFabrizio Castro ports { 85575af8ecSFabrizio Castro #address-cells = <1>; 86575af8ecSFabrizio Castro #size-cells = <0>; 87575af8ecSFabrizio Castro 88575af8ecSFabrizio Castro port@0 { 89575af8ecSFabrizio Castro reg = <0>; 90575af8ecSFabrizio Castro 91575af8ecSFabrizio Castro lvds_enc_in: endpoint { 92575af8ecSFabrizio Castro remote-endpoint = <&display_out_rgb>; 93575af8ecSFabrizio Castro }; 94575af8ecSFabrizio Castro }; 95575af8ecSFabrizio Castro 96575af8ecSFabrizio Castro port@1 { 97575af8ecSFabrizio Castro reg = <1>; 98575af8ecSFabrizio Castro 99575af8ecSFabrizio Castro lvds_enc_out: endpoint { 100575af8ecSFabrizio Castro remote-endpoint = <&lvds_panel_in>; 101575af8ecSFabrizio Castro }; 102575af8ecSFabrizio Castro }; 103575af8ecSFabrizio Castro }; 104575af8ecSFabrizio Castro }; 105575af8ecSFabrizio Castro 106575af8ecSFabrizio Castro - | 107575af8ecSFabrizio Castro lvds-decoder { 108*b7de4ba7SFabrizio Castro compatible = "ti,ds90cf384a", "lvds-decoder"; 109575af8ecSFabrizio Castro 110575af8ecSFabrizio Castro ports { 111575af8ecSFabrizio Castro #address-cells = <1>; 112575af8ecSFabrizio Castro #size-cells = <0>; 113575af8ecSFabrizio Castro 114575af8ecSFabrizio Castro port@0 { 115575af8ecSFabrizio Castro reg = <0>; 116575af8ecSFabrizio Castro 117575af8ecSFabrizio Castro lvds_dec_in: endpoint { 118575af8ecSFabrizio Castro remote-endpoint = <&display_out_lvds>; 119575af8ecSFabrizio Castro }; 120575af8ecSFabrizio Castro }; 121575af8ecSFabrizio Castro 122575af8ecSFabrizio Castro port@1 { 123575af8ecSFabrizio Castro reg = <1>; 124575af8ecSFabrizio Castro 125575af8ecSFabrizio Castro lvds_dec_out: endpoint { 126575af8ecSFabrizio Castro remote-endpoint = <&rgb_panel_in>; 127575af8ecSFabrizio Castro }; 128575af8ecSFabrizio Castro }; 129575af8ecSFabrizio Castro }; 130575af8ecSFabrizio Castro }; 131575af8ecSFabrizio Castro 132575af8ecSFabrizio Castro... 133