[PATCH 2/3] drm/exynos: add dt-binding documentation for rotator
Chanho Park
chanho61.park at samsung.com
Sun Jul 21 23:49:26 PDT 2013
This patch adds a dt-binding document for exynos rotator. It describes which
nodes should be defined to use the rotator.
Signed-off-by: Chanho Park <chanho61.park at samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park at samsung.com>
---
.../bindings/drm/exynos/samsung-rotator.txt | 35 ++++++++++++++++++++
1 file changed, 35 insertions(+)
create mode 100644 Documentation/devicetree/bindings/drm/exynos/samsung-rotator.txt
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 0000000..6b1d704
--- /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 at 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>;
+ };
+ };
--
1.7.9.5
More information about the dri-devel
mailing list