From: Hoegeun Kwon Date: Fri, 7 Apr 2017 06:28:18 +0000 (+0900) Subject: ARM: dts: exynos: Add the hardware rotation limits for gsc X-Git-Tag: submit/tizen/20170710.070742~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=60c768f45a78df11deb0e5bb4a6411ea190de46e;p=platform%2Fkernel%2Flinux-exynos.git ARM: dts: exynos: Add the hardware rotation limits for gsc 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. Change-Id: Ia37f7c7334bad31ca8f96d0c57cab54dd2e1cbfd Signed-off-by: Hoegeun Kwon --- diff --git a/arch/arm/boot/dts/exynos5250.dtsi b/arch/arm/boot/dts/exynos5250.dtsi index 664c4f660aab..2702a14c7f80 100644 --- a/arch/arm/boot/dts/exynos5250.dtsi +++ b/arch/arm/boot/dts/exynos5250.dtsi @@ -745,6 +745,8 @@ power-domains = <&pd_gsc>; clocks = <&clock CLK_GSCL0>; clock-names = "gscl"; + rot-max-hsize = <2048>; + rot-max-vsize = <2048>; iommu = <&sysmmu_gsc1>; }; @@ -755,6 +757,8 @@ power-domains = <&pd_gsc>; clocks = <&clock CLK_GSCL1>; clock-names = "gscl"; + rot-max-hsize = <2048>; + rot-max-vsize = <2048>; iommu = <&sysmmu_gsc1>; }; @@ -765,6 +769,8 @@ power-domains = <&pd_gsc>; clocks = <&clock CLK_GSCL2>; clock-names = "gscl"; + rot-max-hsize = <2048>; + rot-max-vsize = <2048>; iommu = <&sysmmu_gsc2>; }; @@ -775,6 +781,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 abf009cbf97d..d9ae83547033 100644 --- a/arch/arm/boot/dts/exynos5420.dtsi +++ b/arch/arm/boot/dts/exynos5420.dtsi @@ -821,6 +821,8 @@ clocks = <&clock CLK_GSCL0>; clock-names = "gscl"; power-domains = <&gsc_pd>; + rot-max-hsize = <2016>; + rot-max-vsize = <2016>; iommus = <&sysmmu_gscl0>; }; @@ -831,6 +833,8 @@ clocks = <&clock CLK_GSCL1>; clock-names = "gscl"; power-domains = <&gsc_pd>; + rot-max-hsize = <2016>; + rot-max-vsize = <2016>; iommus = <&sysmmu_gscl1>; };