From patchwork Fri Sep 1 01:47:54 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hoegeun Kwon X-Patchwork-Id: 9933263 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 6290F60365 for ; Fri, 1 Sep 2017 01:48:08 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5519227CEA for ; Fri, 1 Sep 2017 01:48:08 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4A91F27F81; Fri, 1 Sep 2017 01:48:08 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id DBC1F27CEA for ; Fri, 1 Sep 2017 01:48:07 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751395AbdIABsF (ORCPT ); Thu, 31 Aug 2017 21:48:05 -0400 Received: from mailout3.samsung.com ([203.254.224.33]:61735 "EHLO mailout3.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751241AbdIABsA (ORCPT ); Thu, 31 Aug 2017 21:48:00 -0400 Received: from epcas1p3.samsung.com (unknown [182.195.41.47]) by mailout3.samsung.com (KnoxPortal) with ESMTP id 20170901014758epoutp03c8139cd3d0942ce3ae62d5db4e29df76~gGaaESJFu2574925749epoutp03P; Fri, 1 Sep 2017 01:47:58 +0000 (GMT) Received: from epsmges2p4.samsung.com (unknown [182.195.40.68]) by epcas1p3.samsung.com (KnoxPortal) with ESMTP id 20170901014758epcas1p31d3580a828e81b794a22a4052d3c3e7c~gGaZus6hI0848608486epcas1p3P; Fri, 1 Sep 2017 01:47:58 +0000 (GMT) Received: from epcas2p1.samsung.com ( [182.195.41.53]) by epsmges2p4.samsung.com (Symantec Messaging Gateway) with SMTP id B7.32.13866.E4CB8A95; Fri, 1 Sep 2017 10:47:58 +0900 (KST) Received: from epsmgms2p2new.samsung.com (unknown [182.195.42.143]) by epcas2p2.samsung.com (KnoxPortal) with ESMTP id 20170901014757epcas2p2093964b6b7e5dff4c197bf7ec2c306a8~gGaZcDVEB1740017400epcas2p2T; Fri, 1 Sep 2017 01:47:57 +0000 (GMT) X-AuditID: b6c32a48-f79a16d00000362a-01-59a8bc4eba48 Received: from epmmp1.local.host ( [203.254.227.16]) by epsmgms2p2new.samsung.com (Symantec Messaging Gateway) with SMTP id A3.76.10338.D4CB8A95; Fri, 1 Sep 2017 10:47:57 +0900 (KST) Received: from localhost.localdomain ([10.113.63.38]) by mmp1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0OVK008NSVNVSY10@mmp1.samsung.com>; Fri, 01 Sep 2017 10:47:57 +0900 (KST) From: Hoegeun Kwon To: inki.dae@samsung.com, jy0922.shim@samsung.com, sw0312.kim@samsung.com, airlied@linux.ie, kgene@kernel.org, krzk@kernel.org, robh+dt@kernel.org, mark.rutland@arm.com, catalin.marinas@arm.com, will.deacon@arm.com Cc: dri-devel@lists.freedesktop.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Hoegeun Kwon Subject: [PATCH 1/3] ARM: dts: exynos: Add the hardware rotation limits for gsc Date: Fri, 01 Sep 2017 10:47:54 +0900 Message-id: <1504230476-1878-2-git-send-email-hoegeun.kwon@samsung.com> X-Mailer: git-send-email 1.9.1 In-reply-to: <1504230476-1878-1-git-send-email-hoegeun.kwon@samsung.com> X-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nbTYRq3FcVW3 d7jSIj6RVfniBp79BxKeMFSBAwAA X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrMLMWRmVeSWpSXmKPExsVy+t9jAV3fPSsiDb51GFr0njvJZPF+WQ+j xfwj51gtrnx9z2bxfnkXm8Wk+xNYLF7cu8hi0f/4NbPF+fMb2C02Pb7GanF51xw2ixnn9zFZ LL1+kcmide8RdosZk1+yWbz8eILFQcBjzbw1jB6bVnWyeWz/9oDV4373cSaPzUvqPfq2rGL0 +LxJLoA9issmJTUnsyy1SN8ugSvjyJkPzAXv+CuuPFnN1MC4nKeLkZNDQsBEYk7nNlYQW0hg J6NE/02jLkYuIPs7o8SMbzvZQBJsAroSX3uuM4EkRARuMUqcmX6GDcRhFrjMKLGq5wcjSJWw gL9E66zVYDaLgKrExPOXwMbyCrhL9Cz9zwaxTk7i5LHJYHFOAQ+JfV0/2CBWu0sc2PCKaQIj zwJGhlWMkqkFxbnpucVGBUZ5qeV6xYm5xaV56XrJ+bmbGIFBu+2wVv8OxsdL4g8xCnAwKvHw ruBaESnEmlhWXJl7iFGCg1lJhNdzBVCINyWxsiq1KD++qDQntfgQozQHi5I4b2bfjEghgfTE ktTs1NSC1CKYLBMHp1QDY4bu5v/b91zb8EDy2ZVZpvn1q/XkrHcLrIi1ldi1XqLbX4w16Ndc hTsfOf/4dHdlFC/ed52pQb7+4OsiB88irVvP+Y0vrVqirMLO8DXgxrX/B1OszeacC/26sCjv msTFqMQ/9f5b984yuveOZ7q5xzetpvNPp5uobWH89NurLm7dmylHFD/dfaDEUpyRaKjFXFSc CADakkPkVgIAAA== X-CMS-MailID: 20170901014757epcas2p2093964b6b7e5dff4c197bf7ec2c306a8 X-Msg-Generator: CA X-Sender-IP: 182.195.42.143 X-Local-Sender: =?UTF-8?B?6raM7ZqM6re8G1RpemVuIFBsYXRmb3JtIExhYihTL1fshLw=?= =?UTF-8?B?7YSwKRvsgrzshLHsoITsnpAbRW5naW5lZXI=?= X-Global-Sender: =?UTF-8?B?SG9lZ2V1biBLd29uG1RpemVuIFBsYXRmb3JtIExhYi4bU2Ft?= =?UTF-8?B?c3VuZyBFbGVjdHJvbmljcxtFbmdpbmVlcg==?= X-Sender-Code: =?UTF-8?B?QzEwG1RFTEUbQzEwVjgxMTE=?= CMS-TYPE: 102P DLP-Filter: Pass X-CFilter-Loop: Reflected X-CMS-RootMailID: 20170901014757epcas2p2093964b6b7e5dff4c197bf7ec2c306a8 X-RootMTR: 20170901014757epcas2p2093964b6b7e5dff4c197bf7ec2c306a8 References: <1504230476-1878-1-git-send-email-hoegeun.kwon@samsung.com> Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The gscaler has maximum size of input or output rotation. Add the hardware limits property for the gscaler rotation in the exynos5250 and exynos5420 dts. Signed-off-by: Hoegeun Kwon --- arch/arm/boot/dts/exynos5250.dtsi | 8 ++++++++ arch/arm/boot/dts/exynos5420.dtsi | 4 ++++ 2 files changed, 12 insertions(+) diff --git a/arch/arm/boot/dts/exynos5250.dtsi b/arch/arm/boot/dts/exynos5250.dtsi index 8dbeb87..d9434e0 100644 --- a/arch/arm/boot/dts/exynos5250.dtsi +++ b/arch/arm/boot/dts/exynos5250.dtsi @@ -643,6 +643,8 @@ power-domains = <&pd_gsc>; clocks = <&clock CLK_GSCL0>; clock-names = "gscl"; + rot-max-hsize = <2048>; + rot-max-vsize = <2048>; iommu = <&sysmmu_gsc0>; }; @@ -653,6 +655,8 @@ power-domains = <&pd_gsc>; clocks = <&clock CLK_GSCL1>; clock-names = "gscl"; + rot-max-hsize = <2048>; + rot-max-vsize = <2048>; iommu = <&sysmmu_gsc1>; }; @@ -663,6 +667,8 @@ power-domains = <&pd_gsc>; clocks = <&clock CLK_GSCL2>; clock-names = "gscl"; + rot-max-hsize = <2048>; + rot-max-vsize = <2048>; iommu = <&sysmmu_gsc2>; }; @@ -673,6 +679,8 @@ power-domains = <&pd_gsc>; clocks = <&clock CLK_GSCL3>; clock-names = "gscl"; + rot-max-hsize = <2048>; + rot-max-vsize = <2048>; iommu = <&sysmmu_gsc3>; }; diff --git a/arch/arm/boot/dts/exynos5420.dtsi b/arch/arm/boot/dts/exynos5420.dtsi index 02d2f89..0fd6be9 100644 --- a/arch/arm/boot/dts/exynos5420.dtsi +++ b/arch/arm/boot/dts/exynos5420.dtsi @@ -664,6 +664,8 @@ clocks = <&clock CLK_GSCL0>; clock-names = "gscl"; power-domains = <&gsc_pd>; + rot-max-hsize = <2016>; + rot-max-vsize = <2016>; iommus = <&sysmmu_gscl0>; }; @@ -674,6 +676,8 @@ clocks = <&clock CLK_GSCL1>; clock-names = "gscl"; power-domains = <&gsc_pd>; + rot-max-hsize = <2016>; + rot-max-vsize = <2016>; iommus = <&sysmmu_gscl1>; };