summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/media/exynos5-gsc.txt
blob: 0d4fdaedc6f1e82aec78f8080b6c312104b3cb0e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
* Samsung Exynos5 G-Scaler device

G-Scaler is used for scaling and color space conversion on EXYNOS5 SoCs.

Required properties:
- compatible: should be one of
	      "samsung,exynos5250-gsc"
	      "samsung,exynos5420-gsc"
	      "samsung,exynos5433-gsc"
	      "samsung,exynos5-gsc" (deprecated)
- reg: should contain G-Scaler physical address location and length.
- interrupts: should contain G-Scaler interrupt number

Optional properties:
- samsung,sysreg: handle to syscon used to control the system registers to
  set writeback input and destination

Example:

gsc_0:  gsc@0x13e00000 {
	compatible = "samsung,exynos5250-gsc";
	reg = <0x13e00000 0x1000>;
	interrupts = <0 85 0>;
};

Aliases:
Each G-Scaler node should have a numbered alias in the aliases node,
in the form of gscN, N = 0...3. G-Scaler driver uses these aliases
to retrieve the device IDs using "of_alias_get_id()" call.

Example:

aliases {
	gsc0 =&gsc_0;
	gsc1 =&gsc_1;
	gsc2 =&gsc_2;
	gsc3 =&gsc_3;
};