ARM: dts: exynos: Add mem-2-mem Scaler devices
authorAndrzej Pietrasiewicz <andrzej.p@samsung.com>
Wed, 9 May 2018 08:59:27 +0000 (10:59 +0200)
committerKrzysztof Kozlowski <krzk@kernel.org>
Sun, 13 May 2018 09:24:44 +0000 (11:24 +0200)
There are 3 scaler devices in Exynos5420 SoCs, all are a part of MSCL
power domain. MSCL power domain and SYSMMU controllers (two per each
scaler device) have been already added to exynos5420.dtsi earlier,
so bind them to newly added devices.

Signed-off-by: Andrzej Pietrasiewicz <andrzej.p@samsung.com>
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Reviewed-by: Inki Dae <inki.dae@samsung.com>
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
arch/arm/boot/dts/exynos5420.dtsi

index 717c0e6..f4e8c58 100644 (file)
                        iommus = <&sysmmu_gscl1>;
                };
 
+               scaler_0: scaler@12800000 {
+                       compatible = "samsung,exynos5420-scaler";
+                       reg = <0x12800000 0x1294>;
+                       interrupts = <0 220 IRQ_TYPE_LEVEL_HIGH>;
+                       clocks = <&clock CLK_MSCL0>;
+                       clock-names = "mscl";
+                       power-domains = <&msc_pd>;
+                       iommus = <&sysmmu_scaler0r>, <&sysmmu_scaler0w>;
+               };
+
+               scaler_1: scaler@12810000 {
+                       compatible = "samsung,exynos5420-scaler";
+                       reg = <0x12810000 0x1294>;
+                       interrupts = <0 221 IRQ_TYPE_LEVEL_HIGH>;
+                       clocks = <&clock CLK_MSCL1>;
+                       clock-names = "mscl";
+                       power-domains = <&msc_pd>;
+                       iommus = <&sysmmu_scaler1r>, <&sysmmu_scaler1w>;
+               };
+
+               scaler_2: scaler@12820000 {
+                       compatible = "samsung,exynos5420-scaler";
+                       reg = <0x12820000 0x1294>;
+                       interrupts = <0 222 IRQ_TYPE_LEVEL_HIGH>;
+                       clocks = <&clock CLK_MSCL2>;
+                       clock-names = "mscl";
+                       power-domains = <&msc_pd>;
+                       iommus = <&sysmmu_scaler2r>, <&sysmmu_scaler2w>;
+               };
+
                jpeg_0: jpeg@11f50000 {
                        compatible = "samsung,exynos5420-jpeg";
                        reg = <0x11F50000 0x1000>;
                        interrupts = <22 4>;
                        clock-names = "sysmmu", "master";
                        clocks = <&clock CLK_SMMU_MSCL0>, <&clock CLK_MSCL0>;
+                       power-domains = <&msc_pd>;
                        #iommu-cells = <0>;
                };
 
                        interrupts = <GIC_SPI 186 IRQ_TYPE_LEVEL_HIGH>;
                        clock-names = "sysmmu", "master";
                        clocks = <&clock CLK_SMMU_MSCL1>, <&clock CLK_MSCL1>;
+                       power-domains = <&msc_pd>;
                        #iommu-cells = <0>;
                };
 
                        interrupts = <GIC_SPI 188 IRQ_TYPE_LEVEL_HIGH>;
                        clock-names = "sysmmu", "master";
                        clocks = <&clock CLK_SMMU_MSCL2>, <&clock CLK_MSCL2>;
+                       power-domains = <&msc_pd>;
                        #iommu-cells = <0>;
                };
 
                        interrupts = <27 2>;
                        clock-names = "sysmmu", "master";
                        clocks = <&clock CLK_SMMU_MSCL0>, <&clock CLK_MSCL0>;
+                       power-domains = <&msc_pd>;
                        #iommu-cells = <0>;
                };
 
                        interrupts = <22 6>;
                        clock-names = "sysmmu", "master";
                        clocks = <&clock CLK_SMMU_MSCL1>, <&clock CLK_MSCL1>;
+                       power-domains = <&msc_pd>;
                        #iommu-cells = <0>;
                };
 
                        interrupts = <19 6>;
                        clock-names = "sysmmu", "master";
                        clocks = <&clock CLK_SMMU_MSCL2>, <&clock CLK_MSCL2>;
+                       power-domains = <&msc_pd>;
                        #iommu-cells = <0>;
                };