Samsung Exynos SoC G-Scaler
Schema identifier ($id): "http://devicetree.org/schemas/media/samsung,exynos5250-gsc.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Inki Dae <inki.dae@samsung.com>", "Krzysztof Kozlowski <krzk@kernel.org>", "Seung-Woo Kim <sw0312.kim@samsung.com>"
G-Scaler is used for scaling and color space conversion on Samsung Exynos SoCs. Each G-Scaler node should have a numbered alias in the aliases node, in the form of gscN, N = 0...3.
Properties and child nodes (properties) #
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Array item rules (
items)Item 1
Allowed values (
enum):"samsung,exynos5250-gsc","samsung,exynos5420-gsc"Item 2
Exact value (
const):"samsung,exynos5-gsc"
Rule 2
Rule 3
Exact value (
const):"samsung,exynos5-gsc"Deprecated (
deprecated):true
clocks — required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 5
clock-names — required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 5
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
samsung,sysreg — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle
Syscon used to control the system registers to set writeback input and destination.
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 hereRule for matching array elements (
contains)Allowed values (
enum):"samsung,exynos5-gsc","samsung,exynos5250-gsc","samsung,exynos5420-gsc"When the condition matches (
then) #Properties and child nodes (
properties)
clocks— not listed as required hereMaximum number of items (
maxItems):1
clock-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"gscl"When the condition does not match (
else) #Properties and child nodes (
properties)
clocks— not listed as required hereMinimum number of items (
minItems):5
clock-names— not listed as required hereArray 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):"aclk_gsclbend"Item 5
Exact value (
const):"gsd"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/exynos5250.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
video-scaler@13e00000 {
compatible = "samsung,exynos5250-gsc", "samsung,exynos5-gsc";
reg = <0x13e00000 0x1000>;
interrupts = <GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>;
power-domains = <&pd_gsc>;
clocks = <&clock CLK_GSCL0>;
clock-names = "gscl";
iommus = <&sysmmu_gsc0>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause