Path: blob/main/sys/contrib/device-tree/Bindings/display/bridge/lvds-codec.yaml
48406 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,sn65lvds94 # For the SN65DS94 LVDS serdes44- const: lvds-decoder # Generic LVDS decoders compatible fallback45- enum:46- thine,thc63lvdm83d # For the THC63LVDM83D LVDS serializer4748ports:49$ref: /schemas/graph.yaml#/properties/ports5051properties:52port@0:53$ref: /schemas/graph.yaml#/$defs/port-base54unevaluatedProperties: false55description: |56For LVDS encoders, port 0 is the parallel input57For LVDS decoders, port 0 is the LVDS input5859properties:60endpoint:61$ref: /schemas/media/video-interfaces.yaml#62unevaluatedProperties: false6364properties:65data-mapping:66enum:67- jeida-1868- jeida-2469- vesa-2470description: |71The color signals mapping order. See details in72Documentation/devicetree/bindings/display/lvds.yaml7374port@1:75$ref: /schemas/graph.yaml#/properties/port76description: |77For LVDS encoders, port 1 is the LVDS output78For LVDS decoders, port 1 is the parallel output7980required:81- port@082- port@18384pclk-sample:85description:86Data sampling on rising or falling edge.87enum:88- 0 # Falling edge89- 1 # Rising edge90default: 09192powerdown-gpios:93description:94The GPIO used to control the power down line of this device.95maxItems: 19697power-supply: true9899allOf:100- if:101not:102properties:103compatible:104contains:105const: lvds-decoder106then:107properties:108ports:109properties:110port@0:111properties:112endpoint:113properties:114data-mapping: false115116- if:117not:118properties:119compatible:120contains:121const: lvds-encoder122then:123properties:124pclk-sample: false125126required:127- compatible128- ports129130additionalProperties: false131132133examples:134- |135lvds-encoder {136compatible = "ti,ds90c185", "lvds-encoder";137138ports {139#address-cells = <1>;140#size-cells = <0>;141142port@0 {143reg = <0>;144145lvds_enc_in: endpoint {146remote-endpoint = <&display_out_rgb>;147};148};149150port@1 {151reg = <1>;152153lvds_enc_out: endpoint {154remote-endpoint = <&lvds_panel_in>;155};156};157};158};159160- |161lvds-decoder {162compatible = "ti,ds90cf384a", "lvds-decoder";163164ports {165#address-cells = <1>;166#size-cells = <0>;167168port@0 {169reg = <0>;170171lvds_dec_in: endpoint {172remote-endpoint = <&display_out_lvds>;173};174};175176port@1 {177reg = <1>;178179lvds_dec_out: endpoint {180remote-endpoint = <&rgb_panel_in>;181};182};183};184};185186...187188189