ARM: EXYNOS: Add gscaler device from DT
Hi Sylwester,
Quoted 18 lines · Sylwester Nawrocki
Hi Shaik,
Review line 6
Quoted 9 lines · Shaik Ameer Basha
+++
b/Documentation/devicetree/bindings/media/exynos5-gsc.txt(quoted diff) +6
-0@@ -0,0 +1,16 @@ +* Samsung Exynos5 Gscaler device + +Gscaler is used for scaling and color space conversion on EXYNOS5 SoCs. + +Required properties: +- compatible: should be "samsung,exynos-gsc"Shouldn't there rather be a specific "compatible" property for each SoC, e.g.
- compatible: should be one of:
Quoted 4 lines
"samsung5250,exynos-gsc", "samsung5450,exynos-gsc",etc. ?
OK. I will change the compatible property to "samsung,exynos5250-gsc".
Quoted 6 lines
Review line 7
Quoted 2 lines
(quoted diff) +1
-0+- reg: should contian Gsaler physical address location and length.contian -> contain, Gsaler -> Gscaler
OK. I will correct that...
Quoted 11 lines
Review line 13
Quoted 7 lines
(quoted diff) +6
-0+- interrupts: should contain Gscaler interrupt number + +Example: + +gsc_0: gsc@0x13e00000 { + compatible = "samsung,exynos-gsc";compatible = "samsung5250,exynos-gsc";
Ok. I will change that to,
compatible = "samsung,exynos5250-gsc";
Quoted 6 lines
Review line 16
Quoted 4 lines
(quoted diff) +3
-0+ reg =<0x13e00000 0x1000>; + interrupts =<0 85 0>; +};
Quoted 6 lines
The aliases are still undocumented. How about adding something along the lines of:
"Each Gscaler node should have a numbered alias in the aliases node, in the form of gscN, N = 0...3."
Thanks for that...
I resent the same patch to devicetree mailinglist... that's why aliases documentation was not present.... I will add the aliases documentation in the v3 release.
Quoted 26 lines
?
Quoted 9 lines
arch/arm/boot/dts/exynos5250.dtsi +0
-0@@ -23,6 +23,13 @@ compatible = "samsung,exynos5250"; interrupt-parent =<&gic>;arch/arm/boot/dts/exynos5250.dtsi line 35
Quoted 10 lines
arch/arm/boot/dts/exynos5250.dtsi +7
-0+ aliases { + gsc0 =&gsc_0; + gsc1 =&gsc_1; + gsc2 =&gsc_2; + gsc3 =&gsc_3; + }; + gic:interrupt-controller@10481000 { compatible = "arm,cortex-a9-gic"; #interrupt-cells =<3>;--
Quoted 2 lines
Regards,
Sylwester
Regards,
Shaik Ameer Basha