From patchwork Mon Jul 22 06:49:26 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chanho Park X-Patchwork-Id: 2831083 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 10CF4C0319 for ; Mon, 22 Jul 2013 06:51:48 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 2F89C2012C for ; Mon, 22 Jul 2013 06:51:47 +0000 (UTC) Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 3B3E52012B for ; Mon, 22 Jul 2013 06:51:45 +0000 (UTC) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1V19xD-000173-61; Mon, 22 Jul 2013 06:50:43 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1V19x0-0007Wn-T4; Mon, 22 Jul 2013 06:50:30 +0000 Received: from mailout4.samsung.com ([203.254.224.34]) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1V19wm-0007Td-7Z for linux-arm-kernel@lists.infradead.org; Mon, 22 Jul 2013 06:50:17 +0000 Received: from epcpsbgr5.samsung.com (u145.gpu120.samsung.co.kr [203.254.230.145]) by mailout4.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MQB00LNTSB2IA20@mailout4.samsung.com> for linux-arm-kernel@lists.infradead.org; Mon, 22 Jul 2013 15:49:50 +0900 (KST) Received: from epcpsbgm2.samsung.com ( [172.20.52.113]) by epcpsbgr5.samsung.com (EPCPMTA) with SMTP id 80.C5.11618.D06DCE15; Mon, 22 Jul 2013 15:49:50 +0900 (KST) X-AuditID: cbfee691-b7fef6d000002d62-12-51ecd60d5c74 Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id FB.A3.31505.D06DCE15; Mon, 22 Jul 2013 15:49:49 +0900 (KST) Received: from localhost.localdomain ([10.252.81.149]) by mmp1.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0MQB0097MSAVBW40@mmp1.samsung.com>; Mon, 22 Jul 2013 15:49:49 +0900 (KST) From: Chanho Park To: inki.dae@samsung.com, kgene.kim@samsung.com Subject: [PATCH 2/3] drm/exynos: add dt-binding documentation for rotator Date: Mon, 22 Jul 2013 15:49:26 +0900 Message-id: <1374475767-30085-3-git-send-email-chanho61.park@samsung.com> X-Mailer: git-send-email 1.7.9.5 In-reply-to: <1374475767-30085-1-git-send-email-chanho61.park@samsung.com> References: <1374475767-30085-1-git-send-email-chanho61.park@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFmphkeLIzCtJLcpLzFFi42JZI2JSqMt37U2gwdrPjBaX92tbHJj9kNXi ytf3bBaT7k9gsXhx7yKLRe+Cq2wWZ5vesFtsenyN1WLG+X1MFjMmv2Rz4PK4332cyWPzknqP 8zMWMnr0bVnF6PF5k1wAaxSXTUpqTmZZapG+XQJXxu/3p9gKVvJW3D68mqWB8TpXFyMnh4SA icTtfRfYIGwxiQv31gPZXBxCAksZJfbPms4EU/T+7TFWiMQiRok7d54wQjhtTBJN7zayg1Sx CehKbHn+ihHEFhHQl5i64w47SBGzQA+TxNFl61hAEsICnhLrt/5nBrFZBFQltv5pBGvmBYof mjMJqJkDaJ2CxJxJNiBhTgEviTXT/oCdJwRUcu3cFSaQmRICm9glzj4FOQlkjoDEt8mHWCB6 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TL/l9Q0t/4P085pun/o952rtnfvwymP t869bevm2p4vtfxknrhu4smyOw52NiwNy3tXvwiKlo8LeRo6b42/t1yTR5C35sygzWJcbM75 Wbq/W+Srqlsm5Er8ecS5uGmtrnXf8U2p8ZrZW1efjqt30npTc+Sz/coT9ipMmb5zujZdUGIp zkg01GIuKk4EAAdch3H0AgAA DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-CFilter-Loop: Reflected X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20130722_025016_516593_14FF7F97 X-CRM114-Status: UNSURE ( 9.49 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -8.4 (--------) Cc: linux-samsung-soc@vger.kernel.org, jy0922.shim@samsung.com, devicetree-discuss@lists.ozlabs.org, sw0312.kim@samsung.com, dri-devel@lists.freedesktop.org, kyungmin.park@samsung.com, Chanho Park , linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-5.6 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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 Signed-off-by: Kyungmin Park --- .../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@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>; + }; + };