Add the Scaler Devicetree for the Scaler present on the
ExynosAutoV920 SoC. The scaler provides hardware acceleration
for 2D scaling up/down and color space conversion processing.

Signed-off-by: Kisung Lee <kiisung....@samsung.com>
---
 .../arm64/boot/dts/exynos/exynosautov920.dtsi | 22 +++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/arch/arm64/boot/dts/exynos/exynosautov920.dtsi 
b/arch/arm64/boot/dts/exynos/exynosautov920.dtsi
index 0fdf2062930a..e3dad683fa36 100644
--- a/arch/arm64/boot/dts/exynos/exynosautov920.dtsi
+++ b/arch/arm64/boot/dts/exynos/exynosautov920.dtsi
@@ -26,6 +26,7 @@ aliases {
                pinctrl5 = &pinctrl_hsi2ufs;
                pinctrl6 = &pinctrl_peric0;
                pinctrl7 = &pinctrl_peric1;
+               scaler0 = &scaler_0;
        };
 
        arm-pmu {
@@ -1504,6 +1505,27 @@ timer {
                             <GIC_PPI 10 IRQ_TYPE_LEVEL_LOW>,
                             <GIC_PPI 12 IRQ_TYPE_LEVEL_LOW>;
        };
+
+       scaler_0: scaler@1A830000 {
+               compatible = "samsung,exynos5-scaler";
+               reg = <0x0 0x1A830000 0x0 0x3000>;
+               interrupts = <GIC_SPI 639 IRQ_TYPE_LEVEL_HIGH>;
+
+               mscl_qos_table = < 0 800000 800000
+                                  0 663000 663000
+                                  0 533000 553000
+                                  0 400000 400000
+                                  0 350000 350000
+                                  0 200000 200000
+                                  0 160000 160000 >;
+
+               mscl_ppc_table = <  12  496 470
+                                   16  374 342
+                                   24  303 288
+                                   32  189 188
+                                  100  479 436 >;
+               status = "disabled";
+       };
 };
 
 #include "exynosautov920-pinctrl.dtsi"
-- 
2.25.1

Reply via email to