Samsung S3C/S5P/Exynos SoC Fully Interactive Mobile Display (FIMD)

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

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

Maintainers (maintainers): "Inki Dae <inki.dae@samsung.com>", "Seung-Woo Kim <sw0312.kim@samsung.com>", "Kyungmin Park <kyungmin.park@samsung.com>", "Krzysztof Kozlowski <krzk@kernel.org>"

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "samsung,s3c6400-fimd", "samsung,s5pv210-fimd", "samsung,exynos3250-fimd", "samsung,exynos4210-fimd", "samsung,exynos5250-fimd", "samsung,exynos5420-fimd"

#address-cells — not listed as required here #

Exact value (const): 1

clocks — required here #

Maximum number of items (maxItems): 2

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "sclk_fimd"

Item 2

Exact value (const): "fimd"

display-timings — not listed as required here #

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

i80-if-timings — not listed as required here #

Value type (type): "object"

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

false

Not allowed by this rule.

Timing configuration for lcd i80 interface support.
The parameters are defined as::
VCLK(internal)  __|??????|_____|??????|_____|??????|_____|??????|_____|??
                  :            :            :            :            :
Address Output  --:<XXXXXXXXXXX:XXXXXXXXXXXX:XXXXXXXXXXXX:XXXXXXXXXXXX:XX
                  | cs-setup+1 |            :            :            :
                  |<---------->|            :            :            :
Chip Select     ???????????????|____________:____________:____________|??
                               | wr-setup+1 |            | wr-hold+1  |
                               |<---------->|            |<---------->|
Write Enable    ????????????????????????????|____________|???????????????
                                            | wr-active+1|
                                            |<---------->|
Video Data      ----------------------------<XXXXXXXXXXXXXXXXXXXXXXXXX>--

Properties and child nodes (properties) #

cs-setup — not listed as required here

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

Clock cycles for the active period of address signal is enabled until chip select is enabled.

Default value (default): 0

wr-active — not listed as required here

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

Clock cycles for the active period of CS is enabled.

Default value (default): 1

wr-hold — not listed as required here

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

Clock cycles for the active period of CS is disabled until write signal is disabled.

Default value (default): 0

wr-setup — not listed as required here

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

Clock cycles for the active period of CS signal is enabled until write signal is enabled.

Default value (default): 0

iommus — not listed as required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 2

iommu-names — not listed as required here #

Array item rules (items) #

Item 1

Exact value (const): "m0"

Item 2

Exact value (const): "m1"

interrupts — required here #

Array item rules (items) #

Item 1

FIFO level

Item 2

VSYNC

Item 3

LCD system

interrupt-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "fifo"

Item 2

Exact value (const): "vsync"

Item 3

Exact value (const): "lcd_sys"

power-domains — not listed as required here #

Maximum number of items (maxItems): 1

reg — required here #

Maximum number of items (maxItems): 1

samsung,invert-vden — not listed as required here #

Value type (type): "boolean"

Video enable signal is inverted.

samsung,invert-vclk — not listed as required here #

Value type (type): "boolean"

Video clock signal is inverted.

samsung,sysreg — not listed as required here #

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

Phandle to System Register syscon.

#size-cells — not listed as required here #

Exact value (const): 0

Properties matching a name pattern (patternProperties) #

^port@[0-4]+$ — name matches this regular expression #

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

Contains ports with port with index:: 0 - for CAMIF0 input, 1 - for CAMIF1 input, 2 - for CAMIF2 input, 3 - for parallel output, 4 - for write-back interface

Required in this object (required): "compatible", "clocks", "clock-names", "interrupts", "interrupt-names", "reg"

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): "samsung,exynos5420-fimd"

When the condition matches (then) #

Properties and child nodes (properties)

iommus — not listed as required here

Minimum number of items (minItems): 2

Maximum number of items (maxItems): 2

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

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/exynos4.h>

fimd@11c00000 {
    compatible = "samsung,exynos4210-fimd";
    interrupt-parent = <&combiner>;
    reg = <0x11c00000 0x20000>;
    interrupt-names = "fifo", "vsync", "lcd_sys";
    interrupts = <11 0>, <11 1>, <11 2>;
    clocks = <&clock CLK_SCLK_FIMD0>, <&clock CLK_FIMD0>;
    clock-names = "sclk_fimd", "fimd";
    power-domains = <&pd_lcd0>;
    iommus = <&sysmmu_fimd0>;
    samsung,sysreg = <&sys_reg>;

    #address-cells = <1>;
    #size-cells = <0>;

    samsung,invert-vden;
    samsung,invert-vclk;

    pinctrl-0 = <&lcd_clk>, <&lcd_data24>;
    pinctrl-names = "default";

    port@3 {
        reg = <3>;

        fimd_dpi_ep: endpoint {
            remote-endpoint = <&lcd_ep>;
        };
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0-only

Edit this page