GNU Linux-libre 4.14.294-gnu1
[releases.git] / Documentation / devicetree / bindings / media / exynos5-gsc.txt
1 * Samsung Exynos5 G-Scaler device
2
3 G-Scaler is used for scaling and color space conversion on EXYNOS5 SoCs.
4
5 Required properties:
6 - compatible: should be "samsung,exynos5-gsc" (for Exynos 5250, 5420 and
7               5422 SoCs) or "samsung,exynos5433-gsc" (Exynos 5433)
8 - reg: should contain G-Scaler physical address location and length.
9 - interrupts: should contain G-Scaler interrupt number
10
11 Optional properties:
12 - samsung,sysreg: handle to syscon used to control the system registers to
13   set writeback input and destination
14
15 Example:
16
17 gsc_0:  gsc@0x13e00000 {
18         compatible = "samsung,exynos5-gsc";
19         reg = <0x13e00000 0x1000>;
20         interrupts = <0 85 0>;
21 };
22
23 Aliases:
24 Each G-Scaler node should have a numbered alias in the aliases node,
25 in the form of gscN, N = 0...3. G-Scaler driver uses these aliases
26 to retrieve the device IDs using "of_alias_get_id()" call.
27
28 Example:
29
30 aliases {
31         gsc0 =&gsc_0;
32         gsc1 =&gsc_1;
33         gsc2 =&gsc_2;
34         gsc3 =&gsc_3;
35 };