NXP i.MX8MP Media Block Control

Schema identifier ($id): "http://devicetree.org/schemas/soc/imx/fsl,imx8mp-media-blk-ctrl.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Paul Elder <paul.elder@ideasonboard.com>"

The i.MX8MP Media Block Control (MEDIA BLK_CTRL) is a top-level peripheral providing access to the NoC and ensuring proper power sequencing of the peripherals within the MEDIAMIX domain.

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Exact value (const): "fsl,imx8mp-media-blk-ctrl"

Item 2

Exact value (const): "syscon"

reg — required here #

Maximum number of items (maxItems): 1

#address-cells — required here #

Exact value (const): 1

#size-cells — required here #

Exact value (const): 1

#power-domain-cells — required here #

Exact value (const): 1

power-domains — required here #

Maximum number of items (maxItems): 10

power-domain-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "bus"

Item 2

Exact value (const): "mipi-dsi1"

Item 3

Exact value (const): "mipi-csi1"

Item 4

Exact value (const): "lcdif1"

Item 5

Exact value (const): "isi"

Item 6

Exact value (const): "mipi-csi2"

Item 7

Exact value (const): "lcdif2"

Item 8

Exact value (const): "isp"

Item 9

Exact value (const): "dwe"

Item 10

Exact value (const): "mipi-dsi2"

clocks — required here #

Array item rules (items) #

Item 1

The APB clock

Item 2

The AXI clock

Item 3

The pixel clock for the first CSI2 receiver (aclk)

Item 4

The pixel clock for the second CSI2 receiver (aclk)

Item 5

The pixel clock for the first LCDIF (pix_clk)

Item 6

The pixel clock for the second LCDIF (pix_clk)

Item 7

The core clock for the ISP (clk)

Item 8

The MIPI-PHY reference clock used by DSI

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "apb"

Item 2

Exact value (const): "axi"

Item 3

Exact value (const): "cam1"

Item 4

Exact value (const): "cam2"

Item 5

Exact value (const): "disp1"

Item 6

Exact value (const): "disp2"

Item 7

Exact value (const): "isp"

Item 8

Exact value (const): "phy"

interconnects — not listed as required here #

Maximum number of items (maxItems): 8

interconnect-names — not listed as required here #

Array item rules (items) #

Item 1

Exact value (const): "lcdif-rd"

Item 2

Exact value (const): "lcdif-wr"

Item 3

Exact value (const): "isi0"

Item 4

Exact value (const): "isi1"

Item 5

Exact value (const): "isi2"

Item 6

Exact value (const): "isp0"

Item 7

Exact value (const): "isp1"

Item 8

Exact value (const): "dwe"

bridge@5c — not listed as required here #

Value type (type): "object"

Shared schema rule ($ref): /schemas/display/bridge/fsl,ldb.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Required in this object (required): "compatible", "reg", "#address-cells", "#size-cells", "#power-domain-cells", "power-domains", "power-domain-names", "clocks", "clock-names"

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>
#include <dt-bindings/power/imx8mp-power.h>

blk-ctrl@32ec0000 {
    compatible = "fsl,imx8mp-media-blk-ctrl", "syscon";
    reg = <0x32ec0000 0x138>;
    power-domains = <&mediamix_pd>, <&mipi_phy1_pd>, <&mipi_phy1_pd>,
                    <&mediamix_pd>, <&mediamix_pd>, <&mipi_phy2_pd>,
                    <&mediamix_pd>, <&ispdwp_pd>, <&ispdwp_pd>,
                    <&mipi_phy2_pd>;
    power-domain-names = "bus", "mipi-dsi1", "mipi-csi1", "lcdif1", "isi",
                         "mipi-csi2", "lcdif2", "isp", "dwe", "mipi-dsi2";
    clocks = <&clk IMX8MP_CLK_MEDIA_APB_ROOT>,
             <&clk IMX8MP_CLK_MEDIA_AXI_ROOT>,
             <&clk IMX8MP_CLK_MEDIA_CAM1_PIX_ROOT>,
             <&clk IMX8MP_CLK_MEDIA_CAM2_PIX_ROOT>,
             <&clk IMX8MP_CLK_MEDIA_DISP1_PIX_ROOT>,
             <&clk IMX8MP_CLK_MEDIA_DISP2_PIX_ROOT>,
             <&clk IMX8MP_CLK_MEDIA_ISP_ROOT>,
             <&clk IMX8MP_CLK_MEDIA_MIPI_PHY1_REF_ROOT>;
    clock-names = "apb", "axi", "cam1", "cam2", "disp1", "disp2",
                  "isp", "phy";
    #power-domain-cells = <1>;
    #address-cells = <1>;
    #size-cells = <1>;

    bridge@5c {
        compatible = "fsl,imx8mp-ldb";
        reg = <0x5c 0x4>, <0x128 0x4>;
        reg-names = "ldb", "lvds";
        clocks = <&clk IMX8MP_CLK_MEDIA_LDB>;
        clock-names = "ldb";

        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)

Edit this page