ARM: dts: exynos: Use specific compatibles for proper Gscaler limits on Exynos5250...
authorHoegeun Kwon <hoegeun.kwon@samsung.com>
Wed, 13 Sep 2017 11:41:53 +0000 (20:41 +0900)
committerJunghoon Kim <jhoon20.kim@samsung.com>
Thu, 14 Feb 2019 05:55:40 +0000 (14:55 +0900)
Exynos 5250 and 5420 have different hardware rotation limits. However,
currently it uses only one compatible - "exynos5-gsc". Since we have
to distinguish between these two, we add different compatible.

Signed-off-by: Hoegeun Kwon <hoegeun.kwon@samsung.com>
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
arch/arm/boot/dts/exynos5250.dtsi
arch/arm/boot/dts/exynos5420.dtsi

index 9f73a8b..ca0587e 100644 (file)
                };
 
                gsc_0:  gsc@13e00000 {
-                       compatible = "samsung,exynos5-gsc";
+                       compatible = "samsung,exynos5250-gsc", "samsung,exynos5-gsc";
                        reg = <0x13e00000 0x1000>;
                        interrupts = <GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>;
                        power-domains = <&pd_gsc>;
                };
 
                gsc_1:  gsc@13e10000 {
-                       compatible = "samsung,exynos5-gsc";
+                       compatible = "samsung,exynos5250-gsc", "samsung,exynos5-gsc";
                        reg = <0x13e10000 0x1000>;
                        interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>;
                        power-domains = <&pd_gsc>;
                };
 
                gsc_2:  gsc@13e20000 {
-                       compatible = "samsung,exynos5-gsc";
+                       compatible = "samsung,exynos5250-gsc", "samsung,exynos5-gsc";
                        reg = <0x13e20000 0x1000>;
                        interrupts = <GIC_SPI 87 IRQ_TYPE_LEVEL_HIGH>;
                        power-domains = <&pd_gsc>;
                };
 
                gsc_3:  gsc@13e30000 {
-                       compatible = "samsung,exynos5-gsc";
+                       compatible = "samsung,exynos5250-gsc", "samsung,exynos5-gsc";
                        reg = <0x13e30000 0x1000>;
                        interrupts = <GIC_SPI 88 IRQ_TYPE_LEVEL_HIGH>;
                        power-domains = <&pd_gsc>;
index 02d2f89..6166730 100644 (file)
                };
 
                gsc_0: video-scaler@13e00000 {
-                       compatible = "samsung,exynos5-gsc";
+                       compatible = "samsung,exynos5420-gsc", "samsung,exynos5-gsc";
                        reg = <0x13e00000 0x1000>;
                        interrupts = <GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>;
                        clocks = <&clock CLK_GSCL0>;
                };
 
                gsc_1: video-scaler@13e10000 {
-                       compatible = "samsung,exynos5-gsc";
+                       compatible = "samsung,exynos5420-gsc", "samsung,exynos5-gsc";
                        reg = <0x13e10000 0x1000>;
                        interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>;
                        clocks = <&clock CLK_GSCL1>;