Samsung Exynos4212/4412 SoC Imaging Subsystem (FIMC-IS)

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

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

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

The FIMC-IS is a subsystem for processing image signal from an image sensor. The Exynos4x12 SoC series FIMC-IS V1.5 comprises of a dedicated ARM Cortex-A5 processor, ISP, DRC and FD IP blocks and peripheral devices such as UART, I2C and SPI bus controllers, PWM and ADC.

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "samsung,exynos4212-fimc-is"

reg — required here #

Maximum number of items (maxItems): 1

ranges — required here #

true — No constraints added by this property rule.

#address-cells — required here #

Exact value (const): 1

#size-cells — required here #

Exact value (const): 1

clocks — required here #

Maximum number of items (maxItems): 21

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "lite0"

Item 2

Exact value (const): "lite1"

Item 3

Exact value (const): "ppmuispx"

Item 4

Exact value (const): "ppmuispmx"

Item 5

Exact value (const): "isp"

Item 6

Exact value (const): "drc"

Item 7

Exact value (const): "fd"

Item 8

Exact value (const): "mcuisp"

Item 9

Exact value (const): "gicisp"

Item 10

Exact value (const): "mcuctl_isp"

Item 11

Exact value (const): "pwm_isp"

Item 12

Exact value (const): "ispdiv0"

Item 13

Exact value (const): "ispdiv1"

Item 14

Exact value (const): "mcuispdiv0"

Item 15

Exact value (const): "mcuispdiv1"

Item 16

Exact value (const): "mpll"

Item 17

Exact value (const): "aclk200"

Item 18

Exact value (const): "aclk400mcuisp"

Item 19

Exact value (const): "div_aclk200"

Item 20

Exact value (const): "div_aclk400mcuisp"

Item 21

Exact value (const): "uart"

interrupts — required here #

Maximum number of items (maxItems): 2

iommus — not listed as required here #

Maximum number of items (maxItems): 4

iommu-names — not listed as required here #

Array item rules (items) #

Item 1

Exact value (const): "isp"

Item 2

Exact value (const): "drc"

Item 3

Exact value (const): "fd"

Item 4

Exact value (const): "mcuctl"

power-domains — not listed as required here #

Maximum number of items (maxItems): 1

samsung,pmu-syscon — required here #

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

Power Management Unit (PMU) system controller interface, used to power/start the ISP.

Properties matching a name pattern (patternProperties) #

^pmu@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

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

false

Not allowed by this rule.

Deprecated (deprecated): true

Node representing the SoC's Power Management Unit (duplicated with the correct PMU node in the SoC). Deprecated, use samsung,pmu-syscon.

Properties and child nodes (properties) #

reg — required here

Maximum number of items (maxItems): 1

Required in this object (required): "reg"

^i2c-isp@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

Shared schema rule ($ref): /schemas/i2c/i2c-controller.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

ISP I2C bus controller

Properties and child nodes (properties) #

compatible — required here

Exact value (const): "samsung,exynos4212-i2c-isp"

reg — required here

Maximum number of items (maxItems): 1

clocks — required here

Maximum number of items (maxItems): 1

clock-names — required here

Array item rules (items)

Item 1

Exact value (const): "i2c_isp"

pinctrl-0 — not listed as required here

true — No constraints added by this property rule.

pinctrl-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "default"

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

Required in this object (required): "compatible", "reg", "#address-cells", "clocks", "clock-names", "interrupts", "ranges", "samsung,pmu-syscon", "#size-cells"

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

fimc-is@12000000 {
    compatible = "samsung,exynos4212-fimc-is";
    reg = <0x12000000 0x260000>;
    interrupts = <GIC_SPI 90 IRQ_TYPE_LEVEL_HIGH>,
                 <GIC_SPI 95 IRQ_TYPE_LEVEL_HIGH>;
    clocks = <&isp_clock CLK_ISP_FIMC_LITE0>,
             <&isp_clock CLK_ISP_FIMC_LITE1>,
             <&isp_clock CLK_ISP_PPMUISPX>,
             <&isp_clock CLK_ISP_PPMUISPMX>,
             <&isp_clock CLK_ISP_FIMC_ISP>,
             <&isp_clock CLK_ISP_FIMC_DRC>,
             <&isp_clock CLK_ISP_FIMC_FD>,
             <&isp_clock CLK_ISP_MCUISP>,
             <&isp_clock CLK_ISP_GICISP>,
             <&isp_clock CLK_ISP_MCUCTL_ISP>,
             <&isp_clock CLK_ISP_PWM_ISP>,
             <&isp_clock CLK_ISP_DIV_ISP0>,
             <&isp_clock CLK_ISP_DIV_ISP1>,
             <&isp_clock CLK_ISP_DIV_MCUISP0>,
             <&isp_clock CLK_ISP_DIV_MCUISP1>,
             <&clock CLK_MOUT_MPLL_USER_T>,
             <&clock CLK_ACLK200>,
             <&clock CLK_ACLK400_MCUISP>,
             <&clock CLK_DIV_ACLK200>,
             <&clock CLK_DIV_ACLK400_MCUISP>,
             <&clock CLK_UART_ISP_SCLK>;
    clock-names = "lite0", "lite1", "ppmuispx",
                  "ppmuispmx", "isp",
                  "drc", "fd", "mcuisp",
                  "gicisp", "mcuctl_isp", "pwm_isp",
                  "ispdiv0", "ispdiv1", "mcuispdiv0",
                  "mcuispdiv1", "mpll", "aclk200",
                  "aclk400mcuisp", "div_aclk200",
                  "div_aclk400mcuisp", "uart";
    iommus = <&sysmmu_fimc_isp>, <&sysmmu_fimc_drc>,
             <&sysmmu_fimc_fd>, <&sysmmu_fimc_mcuctl>;
    iommu-names = "isp", "drc", "fd", "mcuctl";
    power-domains = <&pd_isp>;
    samsung,pmu-syscon = <&pmu_system_controller>;

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

    i2c-isp@12140000 {
        compatible = "samsung,exynos4212-i2c-isp";
        reg = <0x12140000 0x100>;
        clocks = <&isp_clock CLK_ISP_I2C1_ISP>;
        clock-names = "i2c_isp";
        pinctrl-0 = <&fimc_is_i2c1>;
        pinctrl-names = "default";
        #address-cells = <1>;
        #size-cells = <0>;

        image-sensor@10 {
            compatible = "samsung,s5k6a3";
            reg = <0x10>;
            svdda-supply = <&cam_io_reg>;
            svddio-supply = <&ldo19_reg>;
            afvdd-supply = <&ldo19_reg>;
            clocks = <&camera 1>;
            clock-names = "extclk";
            assigned-clocks = <&camera 1>;
            assigned-clock-rates = <24000000>;
            gpios = <&gpm1 6 GPIO_ACTIVE_LOW>;

            port {
                endpoint {
                    remote-endpoint = <&csis1_ep>;
                    data-lanes = <1>;
                };
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

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

Edit this page