Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
torvalds
GitHub Repository: torvalds/linux
Path: blob/master/Documentation/devicetree/bindings/gpu/samsung-g2d.yaml
26307 views
1
# SPDX-License-Identifier: GPL-2.0
2
%YAML 1.2
3
---
4
$id: http://devicetree.org/schemas/gpu/samsung-g2d.yaml#
5
$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7
title: Samsung SoC 2D Graphics Accelerator
8
9
maintainers:
10
- Inki Dae <inki.dae@samsung.com>
11
12
properties:
13
compatible:
14
enum:
15
- samsung,s5pv210-g2d # in S5PV210 & Exynos4210 SoC
16
- samsung,exynos4212-g2d # in Exynos4x12 SoCs
17
- samsung,exynos5250-g2d
18
19
reg:
20
maxItems: 1
21
22
interrupts:
23
maxItems: 1
24
25
clocks:
26
minItems: 1
27
maxItems: 2
28
29
clock-names:
30
minItems: 1
31
maxItems: 2
32
33
iommus:
34
minItems: 1
35
maxItems: 2
36
37
power-domains:
38
maxItems: 1
39
40
required:
41
- compatible
42
- reg
43
- interrupts
44
- clocks
45
- clock-names
46
47
allOf:
48
- if:
49
properties:
50
compatible:
51
contains:
52
const: samsung,exynos5250-g2d
53
54
then:
55
properties:
56
clocks:
57
items:
58
- description: fimg2d clock
59
clock-names:
60
items:
61
- const: fimg2d
62
63
else:
64
properties:
65
clocks:
66
items:
67
- description: sclk_fimg2d clock
68
- description: fimg2d clock
69
clock-names:
70
items:
71
- const: sclk_fimg2d
72
- const: fimg2d
73
74
additionalProperties: false
75
76
examples:
77
- |
78
g2d@12800000 {
79
compatible = "samsung,s5pv210-g2d";
80
reg = <0x12800000 0x1000>;
81
interrupts = <0 89 0>;
82
clocks = <&clock 177>, <&clock 277>;
83
clock-names = "sclk_fimg2d", "fimg2d";
84
};
85
86
...
87
88