From patchwork Mon Jul 22 06:49:27 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chanho Park X-Patchwork-Id: 2832656 Return-Path: X-Original-To: patchwork-dri-devel@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 21749C0319 for ; Wed, 24 Jul 2013 11:38:19 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 0CE482018C for ; Wed, 24 Jul 2013 11:38:18 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.kernel.org (Postfix) with ESMTP id D23CA2018A for ; Wed, 24 Jul 2013 11:38:16 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id C0A79E6962 for ; Wed, 24 Jul 2013 04:38:16 -0700 (PDT) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mailout4.samsung.com (mailout4.samsung.com [203.254.224.34]) by gabe.freedesktop.org (Postfix) with ESMTP id E760CE5EA0 for ; Sun, 21 Jul 2013 23:49:52 -0700 (PDT) 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 <0MQB00LNRSB2IA20@mailout4.samsung.com> for dri-devel@lists.freedesktop.org; Mon, 22 Jul 2013 15:49:50 +0900 (KST) Received: from epcpsbgm2.samsung.com ( [172.20.52.112]) by epcpsbgr5.samsung.com (EPCPMTA) with SMTP id A0.C5.11618.D06DCE15; Mon, 22 Jul 2013 15:49:50 +0900 (KST) X-AuditID: cbfee691-b7fef6d000002d62-13-51ecd60d156c Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id 0C.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 3/3] dts: ARM: add a rotator node for exynos4 Date: Mon, 22 Jul 2013 15:49:27 +0900 Message-id: <1374475767-30085-4-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+NgFmpmkeLIzCtJLcpLzFFi42JZI2JSoMt37U2gwbW1rBaX92tbHJj9kNXi ytf3bBaT7k9gsXhx7yKLRe+Cq2wWZ5vesFtsenyN1WLG+X1MFjMmv2Rz4PK4332cyWPzknqP 8zMWMnr0bVnF6PF5k1wAaxSXTUpqTmZZapG+XQJXxt+X85kLujgr9t7/xtTAOIG9i5GTQ0LA ROL1qymsELaYxIV769m6GLk4hASWMkq0fXvCCFO0v/sOWIOQwCJGiek36yGK2pgkmt5tBEuw CehKbHn+CqxBREBfYuoOkAYuDmaBHiaJo8vWsYAkhAVsJeb/3swGYrMIqEpsfPoLrIFXwFOi reMH0BkcQNsUJOZMsgEJcwp4SayZ9ocNYrGnxLVzV5hAZkoIrGOX+P/qITvEHAGJb5MPsUD0 ykpsOsAMcbSkxMEVN1gmMAovYGRYxSiaWpBcUJyUXmSqV5yYW1yal66XnJ+7iREYAaf/PZu4 g/H+AetDjMlA4yYyS4km5wMjKK8k3tDYzMjC1MTU2Mjc0ow0YSVxXvUW60AhgfTEktTs1N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y0gpxynsTr1xmWiNWETd/9Zv9+erlqspL5//WdEpiFNzyQ4mlOCPR UIu5qDgRAN5tRvTzAgAA DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-CFilter-Loop: Reflected X-Mailman-Approved-At: Wed, 24 Jul 2013 04:34:08 -0700 Cc: linux-samsung-soc@vger.kernel.org, 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: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: dri-devel-bounces+patchwork-dri-devel=patchwork.kernel.org@lists.freedesktop.org Errors-To: dri-devel-bounces+patchwork-dri-devel=patchwork.kernel.org@lists.freedesktop.org X-Spam-Status: No, score=-4.2 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 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 Signed-off-by: Kyungmin Park --- arch/arm/boot/dts/exynos4.dtsi | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/arch/arm/boot/dts/exynos4.dtsi b/arch/arm/boot/dts/exynos4.dtsi index 3f94fe8..7d7dcef 100644 --- a/arch/arm/boot/dts/exynos4.dtsi +++ b/arch/arm/boot/dts/exynos4.dtsi @@ -398,4 +398,27 @@ samsung,power-domain = <&pd_lcd0>; 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>; + }; + }; };