Freescale/NXP i.MX LCD Interface (LCDIF)

Schema identifier ($id): "http://devicetree.org/schemas/display/fsl,lcdif.yaml#"

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

Maintainers (maintainers): "Marek Vasut <marex@denx.de>", "Stefan Agner <stefan@agner.ch>"

(e)LCDIF display controller found in the Freescale/NXP i.MX SoCs.

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Allowed values (enum): "fsl,imx23-lcdif", "fsl,imx28-lcdif", "fsl,imx6sx-lcdif", "fsl,imx8mp-lcdif", "fsl,imx93-lcdif"

Rule 2

Array item rules (items)

Item 1

Allowed values (enum): "fsl,imx6sl-lcdif", "fsl,imx6sll-lcdif", "fsl,imx6ul-lcdif", "fsl,imx7d-lcdif", "fsl,imx8mm-lcdif", "fsl,imx8mn-lcdif", "fsl,imx8mq-lcdif"

Item 2

Exact value (const): "fsl,imx6sx-lcdif"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Array item rules (items) #

Item 1

Pixel clock

Item 2

Bus clock

Item 3

Display AXI clock

Minimum number of items (minItems): 1

clock-names — not listed as required here #

Array item rules (items) #

Item 1

Exact value (const): "pix"

Item 2

Exact value (const): "axi"

Item 3

Exact value (const): "disp_axi"

Minimum number of items (minItems): 1

dmas — not listed as required here #

Array item rules (items) #

Item 1

DMA specifier for the RX DMA channel.

dma-names — not listed as required here #

Array item rules (items) #

Item 1

Exact value (const): "rx"

interrupts — required here #

Array item rules (items) #

Item 1

LCDIF DMA interrupt

Item 2

LCDIF Error interrupt

Minimum number of items (minItems): 1

power-domains — not listed as required here #

Maximum number of items (maxItems): 1

port — not listed as required here #

Shared schema rule ($ref): /schemas/graph.yaml#/properties/port

The LCDIF output port

display — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle

phandle to display panel

Deprecated (deprecated): true

display0 — not listed as required here #

Shared schema rule ($ref): panel/panel-common.yaml#

Deprecated (deprecated): true

lcd-supply — not listed as required here #

Deprecated (deprecated): true

Required in this object (required): "compatible", "reg", "clocks", "interrupts"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

All of these rules must match (allOf) #

Rule 1 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "fsl,imx6sx-lcdif"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Minimum number of items (minItems): 2

Maximum number of items (maxItems): 3

clock-names — required here

Minimum number of items (minItems): 2

Maximum number of items (maxItems): 3

Required in this object (required): "clock-names"

Rule 2 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "fsl,imx8mp-lcdif", "fsl,imx93-lcdif"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Minimum number of items (minItems): 3

Maximum number of items (maxItems): 3

clock-names — required here

Minimum number of items (minItems): 3

Maximum number of items (maxItems): 3

Required in this object (required): "clock-names"

Rule 3 #

Condition (if) #

This rule must not match (not)

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "fsl,imx6sx-lcdif", "fsl,imx8mp-lcdif", "fsl,imx93-lcdif"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Maximum number of items (maxItems): 1

clock-names — not listed as required here

Maximum number of items (maxItems): 1

Rule 4 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Exact value (const): "fsl,imx6sx-lcdif"

When the condition matches (then) #

Required in this object (required): "power-domains"

Rule 5 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "fsl,imx6sl-lcdif", "fsl,imx8mm-lcdif", "fsl,imx8mn-lcdif", "fsl,imx8mp-lcdif", "fsl,imx93-lcdif"

When the condition matches (then) #

Required in this object (required): "power-domains"

Rule 6 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "fsl,imx23-lcdif"

When the condition matches (then) #

Properties and child nodes (properties)

interrupts — not listed as required here

Minimum number of items (minItems): 2

Maximum number of items (maxItems): 2

When the condition does not match (else) #

Properties and child nodes (properties)

interrupts — not listed as required here

Maximum number of items (maxItems): 1

Rule 7 #

Condition (if) #

This rule must not match (not)

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "fsl,imx28-lcdif"

When the condition matches (then) #

Properties and child nodes (properties)

dmas — not listed as required here

false — Not permitted by this property rule.

dma-names — not listed as required here

false — Not permitted by this property rule.

display — not listed as required here

false — Not permitted by this property rule.

display0 — not listed as required here

false — Not permitted by this property rule.

lcd-supply — not listed as required here

false — Not permitted by this property rule.

Required in this object (required): "port"

Examples (examples) #

#include <dt-bindings/clock/imx6sx-clock.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>

display-controller@2220000 {
    compatible = "fsl,imx6sx-lcdif";
    reg = <0x02220000 0x4000>;
    interrupts = <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>;
    clocks = <&clks IMX6SX_CLK_LCDIF1_PIX>,
             <&clks IMX6SX_CLK_LCDIF_APB>,
             <&clks IMX6SX_CLK_DISPLAY_AXI>;
    clock-names = "pix", "axi", "disp_axi";
    power-domains = <&pd_disp>;

    port {
        endpoint {
            remote-endpoint = <&panel_in>;
        };
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Edit this page