Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751728AbdIABsH (ORCPT ); Thu, 31 Aug 2017 21:48:07 -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 X-AuditID: b6c32a48-f79a16d00000362a-01-59a8bc4eba48 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-Brightmail-Tracker: H4sIAAAAAAAAAz2SfyyUcRzH+z7P3XOPW6fHpXxHSU9rlea6O4evFqulPMqa5p/Ump7xDOPu 7J5T8YdopVyKS2tapdYIl0kYlljJOPIz0rKhEuv6QU2kptVz7vTf5/P+vN77/NiHxOXTYk8y SWfkDDo2hSakovrn2wL8Dj0pj1H2ZEvQ5d5ODM3czwPoTluvGA3NzRBopsxEoKvjBSL0cWxA hPInPuOor69agmomhsVo8PEtAhX1tWCo9PUAhs43t0lQUaGNQLbvVtFuiqksrgRMjSWXYBrm 34qZ8UsdGFNbcoa5UmcBzGyNd5TkKLcrkWPjOYMPp4vTxyfpEkLog9Gxe2MDApUqP1UwCqJ9 dKyWC6HDIqP89ielCMPTPifZlDRBimJ5nt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KLGq5wcjSJWw 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-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1954 Lines: 74 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>; }; -- 1.9.1