1# SPDX-License-Identifier: GPL-2.0
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/gpu/samsung-rotator.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Samsung SoC Image Rotator
8
9maintainers:
10  - Inki Dae <inki.dae@samsung.com>
11
12properties:
13  compatible:
14    enum:
15      - "samsung,s5pv210-rotator"
16      - "samsung,exynos4210-rotator"
17      - "samsung,exynos4212-rotator"
18      - "samsung,exynos5250-rotator"
19  reg:
20    maxItems: 1
21
22  interrupts:
23    maxItems: 1
24
25  clocks:
26    maxItems: 1
27
28  clock-names:
29    items:
30      - const: rotator
31
32required:
33  - compatible
34  - reg
35  - interrupts
36  - clocks
37  - clock-names
38
39additionalProperties: false
40
41examples:
42  - |
43    rotator@12810000 {
44        compatible = "samsung,exynos4210-rotator";
45        reg = <0x12810000 0x1000>;
46        interrupts = <0 83 0>;
47        clocks = <&clock 278>;
48        clock-names = "rotator";
49    };
50
51