Path: blob/master/Documentation/devicetree/bindings/display/bridge/fsl,ldb.yaml
52651 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- ports61- reg6263allOf:64- if:65properties:66compatible:67contains:68enum:69- fsl,imx6sx-ldb70- fsl,imx93-ldb71then:72properties:73ports:74properties:75port@2: false76- if:77not:78properties:79compatible:80contains:81const: fsl,imx6sx-ldb82then:83required:84- reg-names8586additionalProperties: false8788examples:89- |90#include <dt-bindings/clock/imx8mp-clock.h>9192blk-ctrl {93#address-cells = <1>;94#size-cells = <1>;9596bridge@5c {97compatible = "fsl,imx8mp-ldb";98clocks = <&clk IMX8MP_CLK_MEDIA_LDB>;99clock-names = "ldb";100reg = <0x5c 0x4>, <0x128 0x4>;101reg-names = "ldb", "lvds";102103ports {104#address-cells = <1>;105#size-cells = <0>;106107port@0 {108reg = <0>;109110ldb_from_lcdif2: endpoint {111remote-endpoint = <&lcdif2_to_ldb>;112};113};114115port@1 {116reg = <1>;117118ldb_lvds_ch0: endpoint {119remote-endpoint = <&ldb_to_lvdsx4panel>;120};121};122123port@2 {124reg = <2>;125126ldb_lvds_ch1: endpoint {127};128};129};130};131};132133134