ARM: dts: add a rotator node for exynos4
authorChanho Park <chanho61.park@samsung.com>
Fri, 31 May 2013 09:56:21 +0000 (18:56 +0900)
committerChanho Park <chanho61.park@samsung.com>
Tue, 18 Nov 2014 02:43:07 +0000 (11:43 +0900)
This patch adds a device node of rotator for exynos4 platform. It has proper
register and clock information. It also has limit table to get restrictions of
the image size.

Signed-off-by: Chanho Park <chanho61.park@samsung.com>
arch/arm/boot/dts/exynos4.dtsi

index b3dee47..a18cba6 100644 (file)
                status = "disabled";
        };
 
+       rotator: rotator@12810000 {
+               compatible = "samsung,exynos4210-rotator";
+               reg = <0x12810000 0x1000>;
+               interrupts = <0 83 0>;
+               clocks = <&clock 278>;
+               clock-names = "rotator";
+               status = "disabled";
+               ycbcr420_2p {
+                       min_w = <32>;
+                       min_h = <32>;
+                       max_w = <32768>;
+                       max_h = <32768>;
+                       align = <3>;
+               };
+               rgb888 {
+                       min_w = <8>;
+                       min_h = <8>;
+                       max_w = <8192>;
+                       max_h = <8192>;
+                       align = <2>;
+               };
+       };
+
        camera {
                compatible = "samsung,fimc", "simple-bus";
                status = "disabled";