WIP FPC-III support
[linux/fpc-iii.git] / Documentation / devicetree / bindings / gpu / samsung-scaler.yaml
blob5317ac64426af7b976e4db4cd7a2c0771980fd7a
1 # SPDX-License-Identifier: GPL-2.0
2 %YAML 1.2
3 ---
4 $id: http://devicetree.org/schemas/gpu/samsung-scaler.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Samsung Exynos SoC Image Scaler
9 maintainers:
10   - Inki Dae <inki.dae@samsung.com>
12 properties:
13   compatible:
14     enum:
15       - samsung,exynos5420-scaler
16       - samsung,exynos5433-scaler
18   reg:
19     maxItems: 1
21   interrupts:
22     maxItems: 1
24   clocks: {}
25   clock-names: {}
26   iommus: {}
27   power-domains: {}
29 if:
30   properties:
31     compatible:
32       contains:
33         const: samsung,exynos5420-scaler
35 then:
36   properties:
37     clocks:
38       items:
39         - description: mscl clock
41     clock-names:
42       items:
43         - const: mscl
45 else:
46   properties:
47     clocks:
48       items:
49         - description: pclk clock
50         - description: aclk clock
51         - description: aclk_xiu clock
53     clock-names:
54       items:
55         - const: pclk
56         - const: aclk
57         - const: aclk_xiu
59 required:
60   - compatible
61   - reg
62   - interrupts
63   - clocks
64   - clock-names
66 additionalProperties: false
68 examples:
69   - |
70     #include <dt-bindings/clock/exynos5420.h>
71     #include <dt-bindings/interrupt-controller/arm-gic.h>
73     scaler@12800000 {
74         compatible = "samsung,exynos5420-scaler";
75         reg = <0x12800000 0x1294>;
76         interrupts = <GIC_SPI 220 IRQ_TYPE_LEVEL_HIGH>;
77         clocks = <&clock CLK_MSCL0>;
78         clock-names = "mscl";
79     };
81 ...