1*c66ec88fSEmmanuel Vadot* Samsung Exynos5 G-Scaler device 2*c66ec88fSEmmanuel Vadot 3*c66ec88fSEmmanuel VadotG-Scaler is used for scaling and color space conversion on Exynos5 SoCs. 4*c66ec88fSEmmanuel Vadot 5*c66ec88fSEmmanuel VadotRequired properties: 6*c66ec88fSEmmanuel Vadot- compatible: should be one of 7*c66ec88fSEmmanuel Vadot "samsung,exynos5250-gsc" 8*c66ec88fSEmmanuel Vadot "samsung,exynos5420-gsc" 9*c66ec88fSEmmanuel Vadot "samsung,exynos5433-gsc" 10*c66ec88fSEmmanuel Vadot "samsung,exynos5-gsc" (deprecated) 11*c66ec88fSEmmanuel Vadot- reg: should contain G-Scaler physical address location and length. 12*c66ec88fSEmmanuel Vadot- interrupts: should contain G-Scaler interrupt number 13*c66ec88fSEmmanuel Vadot 14*c66ec88fSEmmanuel VadotOptional properties: 15*c66ec88fSEmmanuel Vadot- samsung,sysreg: handle to syscon used to control the system registers to 16*c66ec88fSEmmanuel Vadot set writeback input and destination 17*c66ec88fSEmmanuel Vadot 18*c66ec88fSEmmanuel VadotExample: 19*c66ec88fSEmmanuel Vadot 20*c66ec88fSEmmanuel Vadotgsc_0: gsc@13e00000 { 21*c66ec88fSEmmanuel Vadot compatible = "samsung,exynos5250-gsc"; 22*c66ec88fSEmmanuel Vadot reg = <0x13e00000 0x1000>; 23*c66ec88fSEmmanuel Vadot interrupts = <0 85 0>; 24*c66ec88fSEmmanuel Vadot}; 25*c66ec88fSEmmanuel Vadot 26*c66ec88fSEmmanuel VadotAliases: 27*c66ec88fSEmmanuel VadotEach G-Scaler node should have a numbered alias in the aliases node, 28*c66ec88fSEmmanuel Vadotin the form of gscN, N = 0...3. G-Scaler driver uses these aliases 29*c66ec88fSEmmanuel Vadotto retrieve the device IDs using "of_alias_get_id()" call. 30*c66ec88fSEmmanuel Vadot 31*c66ec88fSEmmanuel VadotExample: 32*c66ec88fSEmmanuel Vadot 33*c66ec88fSEmmanuel Vadotaliases { 34*c66ec88fSEmmanuel Vadot gsc0 =&gsc_0; 35*c66ec88fSEmmanuel Vadot gsc1 =&gsc_1; 36*c66ec88fSEmmanuel Vadot gsc2 =&gsc_2; 37*c66ec88fSEmmanuel Vadot gsc3 =&gsc_3; 38*c66ec88fSEmmanuel Vadot}; 39