Samsung S5P/Exynos SoC series MIPI CSI-2 receiver (MIPI CSIS)

Schema identifier ($id): "http://devicetree.org/schemas/media/samsung,exynos4210-csis.yaml#"

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

Maintainers (maintainers): "Krzysztof Kozlowski <krzk@kernel.org>", "Sylwester Nawrocki <s.nawrocki@samsung.com>"

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "samsung,s5pv210-csis", "samsung,exynos4210-csis", "samsung,exynos4212-csis", "samsung,exynos5250-csis"

reg — required here #

Maximum number of items (maxItems): 1

#address-cells — not listed as required here #

Exact value (const): 1

#size-cells — not listed as required here #

Exact value (const): 0

bus-width — required here #

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

Allowed values (enum): 2, 4

Number of data lines supported.

clocks — required here #

Maximum number of items (maxItems): 2

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "csis"

Item 2

Exact value (const): "sclk_csis"

clock-frequency — not listed as required here #

Default value (default): 166000000

The IP's main (system bus) clock frequency in Hz.

interrupts — required here #

Maximum number of items (maxItems): 1

phys — not listed as required here #

Maximum number of items (maxItems): 1

phy-names — not listed as required here #

Array item rules (items) #

Item 1

Exact value (const): "csis"

power-domains — not listed as required here #

Maximum number of items (maxItems): 1

vddio-supply — required here #

MIPI CSIS I/O and PLL voltage supply (e.g. 1.8V).

vddcore-supply — required here #

MIPI CSIS Core voltage supply (e.g. 1.1V).

Properties matching a name pattern (patternProperties) #

^port@[34]$ — name matches this regular expression #

Shared schema rule ($ref): /schemas/graph.yaml#/$defs/port-base

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

false

Not allowed by this rule.

Camera input port.

Properties and child nodes (properties) #

reg — required here

Allowed values (enum): 3, 4

endpoint — not listed as required here

Shared schema rule ($ref): video-interfaces.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties)

false

Not allowed by this rule.

Properties and child nodes (properties)

data-lanes — required here

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 4

samsung,csis-hs-settle — not listed as required here

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

Differential receiver (HS-RX) settle time.

samsung,csis-wclk — not listed as required here

Value type (type): "boolean"

CSI-2 wrapper clock selection. If this property is present external clock from CMU will be used, or the bus clock if it's not specified.

Required in this object (required): "data-lanes"

Required in this object (required): "reg"

Required in this object (required): "compatible", "reg", "bus-width", "clocks", "clock-names", "interrupts", "vddio-supply", "vddcore-supply"

At least one of these rules must match (anyOf) #

Rule 1 #

Required in this object (required): "port@3"

Rule 2 #

Required in this object (required): "port@4"

All of these rules must match (allOf) #

Rule 1 #

Condition (if) #

Required in this object (required): "samsung,isp-wb"

When the condition matches (then) #

Required in this object (required): "samsung,sysreg"

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>
#include <dt-bindings/interrupt-controller/arm-gic.h>

csis@11890000 {
    compatible = "samsung,exynos4210-csis";
    reg = <0x11890000 0x4000>;
    clocks = <&clock CLK_CSIS1>,
             <&clock CLK_SCLK_CSIS1>;
    clock-names = "csis", "sclk_csis";
    assigned-clocks = <&clock CLK_MOUT_CSIS1>,
                      <&clock CLK_SCLK_CSIS1>;
    assigned-clock-parents = <&clock CLK_MOUT_MPLL_USER_T>;
    assigned-clock-rates = <0>, <176000000>;

    interrupts = <GIC_SPI 80 IRQ_TYPE_LEVEL_HIGH>;

    bus-width = <2>;
    power-domains = <&pd_cam>;
    phys = <&mipi_phy 2>;
    phy-names = "csis";

    vddcore-supply = <&ldo8_reg>;
    vddio-supply = <&ldo10_reg>;

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

    /* Camera D (4) MIPI CSI-2 (CSIS1) */
    port@4 {
        reg = <4>;

        endpoint {
            remote-endpoint = <&is_s5k6a3_ep>;
            data-lanes = <1>;
            samsung,csis-hs-settle = <18>;
            samsung,csis-wclk;
        };
    };
};

Source notes #

Annotations retained from the schema source

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

Edit this page