summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorChanho Park <chanho61.park@samsung.com>2013-05-31 19:47:57 +0900
committerChanho Park <chanho61.park@samsung.com>2014-11-18 11:43:08 +0900
commit1d152c955e0d1c650b888f3f241175b4c76fe4fc (patch)
tree5c56d99b026cb4ee3055b344d7bebdce1ac68d13 /Documentation
parent942e9e094f0fc62ca1b5477c1ad1fa9d9b14f008 (diff)
downloadlinux-3.10-1d152c955e0d1c650b888f3f241175b4c76fe4fc.tar.gz
linux-3.10-1d152c955e0d1c650b888f3f241175b4c76fe4fc.tar.bz2
linux-3.10-1d152c955e0d1c650b888f3f241175b4c76fe4fc.zip
drm/exynos: add dt-binding documentation for rotator
Signed-off-by: Chanho Park <chanho61.park@samsung.com>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/devicetree/bindings/drm/exynos/samsung-rotator.txt35
1 files changed, 35 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/drm/exynos/samsung-rotator.txt b/Documentation/devicetree/bindings/drm/exynos/samsung-rotator.txt
new file mode 100644
index 00000000000..6b1d704155e
--- /dev/null
+++ b/Documentation/devicetree/bindings/drm/exynos/samsung-rotator.txt
@@ -0,0 +1,35 @@
+* Samsung Image Rotator
+
+Required properties:
+ - compatible : value should be the "samsung,exynos4210".
+ - reg : Physical base address of the IP registers and length of memory
+ mapped region.
+ - interrupts : interrupt number to the CPU.
+ - clocks : clock number of exynos4 rotator clock.
+ - clocks : clock name of rotator
+ - status : "okay" or "disabled"
+ - limit table for image formats : min_w/min_h/max_w/max_h for min/max of image
+
+Example:
+ 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>;
+ };
+ };