Samsung S5PV210 and Exynos SoC JPEG codec

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

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

Maintainers (maintainers): "Jacek Anaszewski <jacek.anaszewski@gmail.com>", "Krzysztof Kozlowski <krzk@kernel.org>", "Sylwester Nawrocki <s.nawrocki@samsung.com>", "Andrzej Pietrasiewicz <andrzejtp2010@gmail.com>"

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "samsung,s5pv210-jpeg", "samsung,exynos3250-jpeg", "samsung,exynos4210-jpeg", "samsung,exynos4212-jpeg", "samsung,exynos5420-jpeg", "samsung,exynos5433-jpeg"

clocks — required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 4

clock-names — required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 4

interrupts — required here #

Maximum number of items (maxItems): 1

iommus — not listed as required here #

Maximum number of items (maxItems): 1

power-domains — not listed as required here #

Maximum number of items (maxItems): 1

reg — required here #

Maximum number of items (maxItems): 1

Required in this object (required): "compatible", "clocks", "clock-names", "interrupts", "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)

Allowed values (enum): "samsung,s5pv210-jpeg", "samsung,exynos4210-jpeg", "samsung,exynos4212-jpeg", "samsung,exynos5420-jpeg"

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

Array item rules (items)

Item 1

Exact value (const): "jpeg"

Rule 2 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "samsung,exynos3250-jpeg"

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): 2

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "jpeg"

Item 2

Exact value (const): "sclk"

Rule 3 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "samsung,exynos5433-jpeg"

When the condition matches (then) #

Properties and child nodes (properties)

clocks — not listed as required here

Minimum number of items (minItems): 4

Maximum number of items (maxItems): 4

clock-names — not listed as required here

Array item rules (items)

Item 1

Exact value (const): "pclk"

Item 2

Exact value (const): "aclk"

Item 3

Exact value (const): "aclk_xiu"

Item 4

Exact value (const): "sclk"

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

false

Not allowed by this rule.

Examples (examples) #

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

codec@15020000 {
    compatible = "samsung,exynos5433-jpeg";
    reg = <0x15020000 0x10000>;
    interrupts = <GIC_SPI 411 IRQ_TYPE_LEVEL_HIGH>;
    clock-names = "pclk", "aclk", "aclk_xiu", "sclk";
    clocks = <&cmu_mscl CLK_PCLK_JPEG>,
             <&cmu_mscl CLK_ACLK_JPEG>,
             <&cmu_mscl CLK_ACLK_XIU_MSCLX>,
             <&cmu_mscl CLK_SCLK_JPEG>;
    iommus = <&sysmmu_jpeg>;
    power-domains = <&pd_mscl>;
};

Source notes #

Annotations retained from the schema source

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

Edit this page