Samsung SoC 2D Graphics Accelerator
Schema identifier ($id): "http://devicetree.org/schemas/gpu/samsung-g2d.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Inki Dae <inki.dae@samsung.com>"
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "samsung,s5pv210-g2d", "samsung,exynos4212-g2d", "samsung,exynos5250-g2d"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 2
clock-names — required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 2
iommus — not listed as required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 2
power-domains — not listed as required here #
Maximum number of items (maxItems): 1
Required in this object (required): "compatible", "reg", "interrupts", "clocks", "clock-names"
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)Exact value (
const):"samsung,exynos5250-g2d"When the condition matches (
then) #Properties and child nodes (
properties)
clocks— not listed as required hereArray item rules (
items)Item 1
fimg2d clock
clock-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"fimg2d"When the condition does not match (
else) #Properties and child nodes (
properties)
clocks— not listed as required hereArray item rules (
items)Item 1
sclk_fimg2d clock
Item 2
fimg2d clock
clock-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"sclk_fimg2d"Item 2
Exact value (
const):"fimg2d"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
g2d@12800000 {
compatible = "samsung,s5pv210-g2d";
reg = <0x12800000 0x1000>;
interrupts = <0 89 0>;
clocks = <&clock 177>, <&clock 277>;
clock-names = "sclk_fimg2d", "fimg2d";
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0
Line 15: in S5PV210 & Exynos4210 SoC
Line 16: in Exynos4x12 SoCs