Freescale i.MX8MP DPI to LVDS bridge chip
Schema identifier ($id): "http://devicetree.org/schemas/display/bridge/fsl,ldb.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Marek Vasut <marex@denx.de>"
The i.MX8MP mediamix contains two registers which are responsible for configuring the on-SoC DPI-to-LVDS serializer. This describes those registers as bridge within the DT.
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "fsl,imx6sx-ldb", "fsl,imx8mp-ldb", "fsl,imx93-ldb"
clocks — required here #
Maximum number of items (maxItems): 1
clock-names — not listed as required here #
Exact value (const): "ldb"
reg — required here #
Maximum number of items (maxItems): 2
reg-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"ldb"
Item 2
Exact value (
const):"lvds"
ports — required here #
Shared schema rule ($ref): /schemas/graph.yaml#/properties/ports
Properties and child nodes (properties) #
port@0 — required here
Shared schema rule ($ref): /schemas/graph.yaml#/properties/port
Video port for DPI input.
port@1 — required here
Shared schema rule ($ref): /schemas/graph.yaml#/properties/port
Video port for LVDS Channel-A output (panel or bridge).
port@2 — not listed as required here
Shared schema rule ($ref): /schemas/graph.yaml#/properties/port
Video port for LVDS Channel-B output (panel or bridge).
Required in this object (required): "port@0", "port@1"
Required in this object (required): "compatible", "clocks", "ports", "reg"
All of these rules must match (allOf) #
Rule 1 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)When the condition matches (
then) #Properties and child nodes (
properties)
ports— not listed as required hereProperties and child nodes (
properties)
port@2— not listed as required here
false— Not permitted by this property rule.
Rule 2 #
Condition (
if) #This rule must not match (
not)Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Exact value (
const):"fsl,imx6sx-ldb"When the condition matches (
then) #
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/imx8mp-clock.h>
blk-ctrl {
#address-cells = <1>;
#size-cells = <1>;
bridge@5c {
compatible = "fsl,imx8mp-ldb";
clocks = <&clk IMX8MP_CLK_MEDIA_LDB>;
clock-names = "ldb";
reg = <0x5c 0x4>, <0x128 0x4>;
reg-names = "ldb", "lvds";
ports {
#address-cells = <1>;
#size-cells = <0>;
port@0 {
reg = <0>;
ldb_from_lcdif2: endpoint {
remote-endpoint = <&lcdif2_to_ldb>;
};
};
port@1 {
reg = <1>;
ldb_lvds_ch0: endpoint {
remote-endpoint = <&ldb_to_lvdsx4panel>;
};
};
port@2 {
reg = <2>;
ldb_lvds_ch1: endpoint {
};
};
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)