Path: blob/master/Documentation/devicetree/bindings/display/bridge/fsl,ldb.yaml
26309 views
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)1%YAML 1.22---3$id: http://devicetree.org/schemas/display/bridge/fsl,ldb.yaml#4$schema: http://devicetree.org/meta-schemas/core.yaml#56title: Freescale i.MX8MP DPI to LVDS bridge chip78maintainers:9- Marek Vasut <marex@denx.de>1011description: |12The i.MX8MP mediamix contains two registers which are responsible13for configuring the on-SoC DPI-to-LVDS serializer. This describes14those registers as bridge within the DT.1516properties:17compatible:18enum:19- fsl,imx6sx-ldb20- fsl,imx8mp-ldb21- fsl,imx93-ldb2223clocks:24maxItems: 12526clock-names:27const: ldb2829reg:30maxItems: 23132reg-names:33items:34- const: ldb35- const: lvds3637ports:38$ref: /schemas/graph.yaml#/properties/ports3940properties:41port@0:42$ref: /schemas/graph.yaml#/properties/port43description: Video port for DPI input.4445port@1:46$ref: /schemas/graph.yaml#/properties/port47description: Video port for LVDS Channel-A output (panel or bridge).4849port@2:50$ref: /schemas/graph.yaml#/properties/port51description: Video port for LVDS Channel-B output (panel or bridge).5253required:54- port@055- port@15657required:58- compatible59- clocks60- ports6162allOf:63- if:64properties:65compatible:66contains:67enum:68- fsl,imx6sx-ldb69- fsl,imx93-ldb70then:71properties:72ports:73properties:74port@2: false7576additionalProperties: false7778examples:79- |80#include <dt-bindings/clock/imx8mp-clock.h>8182blk-ctrl {83#address-cells = <1>;84#size-cells = <1>;8586bridge@5c {87compatible = "fsl,imx8mp-ldb";88clocks = <&clk IMX8MP_CLK_MEDIA_LDB>;89clock-names = "ldb";90reg = <0x5c 0x4>, <0x128 0x4>;91reg-names = "ldb", "lvds";9293ports {94#address-cells = <1>;95#size-cells = <0>;9697port@0 {98reg = <0>;99100ldb_from_lcdif2: endpoint {101remote-endpoint = <&lcdif2_to_ldb>;102};103};104105port@1 {106reg = <1>;107108ldb_lvds_ch0: endpoint {109remote-endpoint = <&ldb_to_lvdsx4panel>;110};111};112113port@2 {114reg = <2>;115116ldb_lvds_ch1: endpoint {117};118};119};120};121};122123124