Path: blob/master/Documentation/devicetree/bindings/display/bridge/lvds-codec.yaml
26309 views
# SPDX-License-Identifier: GPL-2.01%YAML 1.22---3$id: http://devicetree.org/schemas/display/bridge/lvds-codec.yaml#4$schema: http://devicetree.org/meta-schemas/core.yaml#56title: Transparent LVDS encoders and decoders78maintainers:9- Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>1011description: |12This binding supports transparent LVDS encoders and decoders that don't13require any configuration.1415LVDS is a physical layer specification defined in ANSI/TIA/EIA-644-A. Multiple16incompatible data link layers have been used over time to transmit image data17to LVDS panels. This binding targets devices compatible with the following18specifications only.1920[JEIDA] "Digital Interface Standards for Monitor", JEIDA-59-1999, February211999 (Version 1.0), Japan Electronic Industry Development Association (JEIDA)22[LDI] "Open LVDS Display Interface", May 1999 (Version 0.95), National23Semiconductor24[VESA] "VESA Notebook Panel Standard", October 2007 (Version 1.0), Video25Electronics Standards Association (VESA)2627Those devices have been marketed under the FPD-Link and FlatLink brand names28among others.2930properties:31compatible:32oneOf:33- items:34- enum:35- ti,ds90c185 # For the TI DS90C185 FPD-Link Serializer36- ti,ds90c187 # For the TI DS90C187 FPD-Link Serializer37- ti,sn75lvds83 # For the TI SN75LVDS83 FlatLink transmitter38- const: lvds-encoder # Generic LVDS encoder compatible fallback39- items:40- enum:41- ti,ds90cf364a # For the DS90CF364A FPD-Link LVDS Receiver42- ti,ds90cf384a # For the DS90CF384A FPD-Link LVDS Receiver43- ti,sn65lvds822 # For the SN65LVDS822 FlatLink LVDS Receiver44- ti,sn65lvds94 # For the SN65DS94 LVDS serdes45- const: lvds-decoder # Generic LVDS decoders compatible fallback46- enum:47- thine,thc63lvdm83d # For the THC63LVDM83D LVDS serializer4849ports:50$ref: /schemas/graph.yaml#/properties/ports5152properties:53port@0:54$ref: /schemas/graph.yaml#/$defs/port-base55unevaluatedProperties: false56description: |57For LVDS encoders, port 0 is the parallel input58For LVDS decoders, port 0 is the LVDS input5960properties:61endpoint:62$ref: /schemas/media/video-interfaces.yaml#63unevaluatedProperties: false6465properties:66data-mapping:67enum:68- jeida-1869- jeida-2470- vesa-2471description: |72The color signals mapping order. See details in73Documentation/devicetree/bindings/display/lvds.yaml7475port@1:76$ref: /schemas/graph.yaml#/properties/port77description: |78For LVDS encoders, port 1 is the LVDS output79For LVDS decoders, port 1 is the parallel output8081required:82- port@083- port@18485pclk-sample:86description:87Data sampling on rising or falling edge.88enum:89- 0 # Falling edge90- 1 # Rising edge91default: 09293powerdown-gpios:94description:95The GPIO used to control the power down line of this device.96maxItems: 19798power-supply: true99100allOf:101- if:102not:103properties:104compatible:105contains:106const: lvds-decoder107then:108properties:109ports:110properties:111port@0:112properties:113endpoint:114properties:115data-mapping: false116117- if:118not:119properties:120compatible:121contains:122const: lvds-encoder123then:124properties:125pclk-sample: false126127required:128- compatible129- ports130131additionalProperties: false132133134examples:135- |136lvds-encoder {137compatible = "ti,ds90c185", "lvds-encoder";138139ports {140#address-cells = <1>;141#size-cells = <0>;142143port@0 {144reg = <0>;145146lvds_enc_in: endpoint {147remote-endpoint = <&display_out_rgb>;148};149};150151port@1 {152reg = <1>;153154lvds_enc_out: endpoint {155remote-endpoint = <&lvds_panel_in>;156};157};158};159};160161- |162lvds-decoder {163compatible = "ti,ds90cf384a", "lvds-decoder";164165ports {166#address-cells = <1>;167#size-cells = <0>;168169port@0 {170reg = <0>;171172lvds_dec_in: endpoint {173remote-endpoint = <&display_out_lvds>;174};175};176177port@1 {178reg = <1>;179180lvds_dec_out: endpoint {181remote-endpoint = <&rgb_panel_in>;182};183};184};185};186187...188189190