[COMMON] fimc-is2: Added new function to keep compatibility
authorSunmi Lee <carrotsm.lee@samsung.com>
Tue, 3 Jul 2018 10:42:46 +0000 (19:42 +0900)
committerSunyoung Kang <sy0816.kang@samsung.com>
Mon, 23 Jul 2018 08:06:09 +0000 (17:06 +0900)
Added cac related function for mcsc v4.0 and v4.10.

PR JIRA ID: CPR-25

Change-Id: If9d79014635214a5f185bbd822b42453bee532f1
Signed-off-by: Sunmi Lee <carrotsm.lee@samsung.com>
drivers/media/platform/exynos/fimc-is2/hardware/api/fimc-is-hw-api-mcscaler-v410.c
drivers/media/platform/exynos/fimc-is2/hardware/api/fimc-is-hw-api-mcscaler-v4_0.c

index 77c3038bf4a7b3d9839858e629e1265d30b6797d..573e047ceea4a36386d27d3879a8f4e2fc576e54 100644 (file)
@@ -3794,6 +3794,22 @@ void fimc_is_scaler_set_djag_tunning_param(void __iomem *base_addr, const struct
        /* not support */
 }
 
+/* for CAC */
+void fimc_is_scaler_set_cac_enable(void __iomem *base_addr, u32 en)
+{
+       /* not supported */
+}
+
+void fimc_is_scaler_set_cac_input_source(void __iomem *base_addr, u32 in)
+{
+       /* not supported */
+}
+
+void fimc_is_scaler_set_cac_map_crt_thr(void __iomem *base_addr, struct cac_cfg_by_ni *cfg)
+{
+       /* not supported */
+}
+
 /* DS */
 void fimc_is_scaler_set_ds_enable(void __iomem *base_addr, u32 ds_enable)
 {
index d77bb16d9c45162fb20369f26f6f73a4a8c2bcbe..af6a4bba84d662353eacbc5f3d8d3ebdc6e7eb50 100644 (file)
@@ -3845,6 +3845,22 @@ void fimc_is_scaler_set_djag_tunning_param(void __iomem *base_addr, const struct
        fimc_is_hw_set_reg(base_addr, &mcsc_regs[MCSC_R_DJAG_CP_ARBI], reg_value);
 }
 
+/* for CAC */
+void fimc_is_scaler_set_cac_enable(void __iomem *base_addr, u32 en)
+{
+       /* not supported */
+}
+
+void fimc_is_scaler_set_cac_input_source(void __iomem *base_addr, u32 in)
+{
+       /* not supported */
+}
+
+void fimc_is_scaler_set_cac_map_crt_thr(void __iomem *base_addr, struct cac_cfg_by_ni *cfg)
+{
+       /* not supported */
+}
+
 /* DS */
 void fimc_is_scaler_set_ds_enable(void __iomem *base_addr, u32 ds_enable)
 {