xref: /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/media/exynos5-gsc.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun* Samsung Exynos5 G-Scaler device
2*4882a593Smuzhiyun
3*4882a593SmuzhiyunG-Scaler is used for scaling and color space conversion on Exynos5 SoCs.
4*4882a593Smuzhiyun
5*4882a593SmuzhiyunRequired properties:
6*4882a593Smuzhiyun- compatible: should be one of
7*4882a593Smuzhiyun	      "samsung,exynos5250-gsc"
8*4882a593Smuzhiyun	      "samsung,exynos5420-gsc"
9*4882a593Smuzhiyun	      "samsung,exynos5433-gsc"
10*4882a593Smuzhiyun	      "samsung,exynos5-gsc" (deprecated)
11*4882a593Smuzhiyun- reg: should contain G-Scaler physical address location and length.
12*4882a593Smuzhiyun- interrupts: should contain G-Scaler interrupt number
13*4882a593Smuzhiyun
14*4882a593SmuzhiyunOptional properties:
15*4882a593Smuzhiyun- samsung,sysreg: handle to syscon used to control the system registers to
16*4882a593Smuzhiyun  set writeback input and destination
17*4882a593Smuzhiyun
18*4882a593SmuzhiyunExample:
19*4882a593Smuzhiyun
20*4882a593Smuzhiyungsc_0:  gsc@13e00000 {
21*4882a593Smuzhiyun	compatible = "samsung,exynos5250-gsc";
22*4882a593Smuzhiyun	reg = <0x13e00000 0x1000>;
23*4882a593Smuzhiyun	interrupts = <0 85 0>;
24*4882a593Smuzhiyun};
25*4882a593Smuzhiyun
26*4882a593SmuzhiyunAliases:
27*4882a593SmuzhiyunEach G-Scaler node should have a numbered alias in the aliases node,
28*4882a593Smuzhiyunin the form of gscN, N = 0...3. G-Scaler driver uses these aliases
29*4882a593Smuzhiyunto retrieve the device IDs using "of_alias_get_id()" call.
30*4882a593Smuzhiyun
31*4882a593SmuzhiyunExample:
32*4882a593Smuzhiyun
33*4882a593Smuzhiyunaliases {
34*4882a593Smuzhiyun	gsc0 =&gsc_0;
35*4882a593Smuzhiyun	gsc1 =&gsc_1;
36*4882a593Smuzhiyun	gsc2 =&gsc_2;
37*4882a593Smuzhiyun	gsc3 =&gsc_3;
38*4882a593Smuzhiyun};
39