Path: blob/master/Documentation/devicetree/bindings/display/bridge/lvds-codec.yaml
50920 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- onnn,fin3385 # OnSemi FIN338536- ti,ds90c185 # For the TI DS90C185 FPD-Link Serializer37- ti,ds90c187 # For the TI DS90C187 FPD-Link Serializer38- ti,sn75lvds83 # For the TI SN75LVDS83 FlatLink transmitter39- const: lvds-encoder # Generic LVDS encoder compatible fallback40- items:41- enum:42- ti,ds90cf364a # For the DS90CF364A FPD-Link LVDS Receiver43- ti,ds90cf384a # For the DS90CF384A FPD-Link LVDS Receiver44- ti,sn65lvds822 # For the SN65LVDS822 FlatLink LVDS Receiver45- ti,sn65lvds94 # For the SN65DS94 LVDS serdes46- const: lvds-decoder # Generic LVDS decoders compatible fallback47- enum:48- thine,thc63lvdm83d # For the THC63LVDM83D LVDS serializer4950ports:51$ref: /schemas/graph.yaml#/properties/ports5253properties:54port@0:55$ref: /schemas/graph.yaml#/$defs/port-base56unevaluatedProperties: false57description: |58For LVDS encoders, port 0 is the parallel input59For LVDS decoders, port 0 is the LVDS input6061properties:62endpoint:63$ref: /schemas/media/video-interfaces.yaml#64unevaluatedProperties: false6566properties:67data-mapping:68enum:69- jeida-1870- jeida-2471- vesa-2472description: |73The color signals mapping order. See details in74Documentation/devicetree/bindings/display/lvds.yaml7576port@1:77$ref: /schemas/graph.yaml#/properties/port78description: |79For LVDS encoders, port 1 is the LVDS output80For LVDS decoders, port 1 is the parallel output8182required:83- port@084- port@18586pclk-sample:87description:88Data sampling on rising or falling edge.89enum:90- 0 # Falling edge91- 1 # Rising edge92default: 09394powerdown-gpios:95description:96The GPIO used to control the power down line of this device.97maxItems: 19899power-supply: true100101allOf:102- if:103not:104properties:105compatible:106contains:107const: lvds-decoder108then:109properties:110ports:111properties:112port@0:113properties:114endpoint:115properties:116data-mapping: false117118- if:119not:120properties:121compatible:122contains:123const: lvds-encoder124then:125properties:126pclk-sample: false127128required:129- compatible130- ports131132additionalProperties: false133134examples: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