[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-id: <1504230476-1878-2-git-send-email-hoegeun.kwon@samsung.com>
Date: Fri, 01 Sep 2017 10:47:54 +0900
From: Hoegeun Kwon <hoegeun.kwon@...sung.com>
To: inki.dae@...sung.com, jy0922.shim@...sung.com,
sw0312.kim@...sung.com, airlied@...ux.ie, kgene@...nel.org,
krzk@...nel.org, robh+dt@...nel.org, mark.rutland@....com,
catalin.marinas@....com, will.deacon@....com
Cc: dri-devel@...ts.freedesktop.org,
linux-arm-kernel@...ts.infradead.org,
linux-samsung-soc@...r.kernel.org, linux-kernel@...r.kernel.org,
devicetree@...r.kernel.org, Hoegeun Kwon <hoegeun.kwon@...sung.com>
Subject: [PATCH 1/3] 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.
Signed-off-by: Hoegeun Kwon <hoegeun.kwon@...sung.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
Powered by blists - more mailing lists