lkml.org 
[lkml]   [2017]   [Aug]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH 1/3] ARM: dts: exynos: Add the hardware rotation limits for gsc
Date
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 <hoegeun.kwon@samsung.com>
---
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
\
 
 \ /
  Last update: 2017-09-01 03:49    [W:0.086 / U:0.312 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site