[HACK] fimc-is2: Modified DPHY setting - according to hw guide
authorSunmi Lee <carrotsm.lee@samsung.com>
Fri, 6 Oct 2017 09:35:13 +0000 (18:35 +0900)
committerEunyoung Lee <ey470.lee@samsung.com>
Tue, 19 Jun 2018 08:43:41 +0000 (17:43 +0900)
Change-Id: Ib65488db3a60d91a359a18eaf41719d4c4c8a390
Signed-off-by: Sunmi Lee <carrotsm.lee@samsung.com>
drivers/media/platform/exynos/fimc-is2/sensor/csi2/fimc-is-hw-csi-v5_1.c

index 3e1bb366c5cc2340709d1f95952dfcb0b71f3142..96a31182d8d2a5e6105e67e850248f6d7a00fa9d 100644 (file)
@@ -148,7 +148,7 @@ int csi_hw_s_phy_default_value(u32 __iomem *base_reg, u32 instance)
 
        csi_hw_s_phy_sctrl_n(base_reg, 0x9E003E00, 0);
        csi_hw_s_phy_sctrl_n(base_reg, 0x46, 1);
-       csi_hw_s_phy_sctrl_n(base_reg, 0xC000002C, 2);
+       csi_hw_s_phy_sctrl_n(base_reg, 0x0000002C, 2);
 
 #if defined(CONFIG_SOC_EXYNOS8895)
        if (instance == CSI_ID_A || instance == CSI_ID_C)
@@ -161,6 +161,7 @@ int csi_hw_s_phy_default_value(u32 __iomem *base_reg, u32 instance)
        if (config_dphy_s2) {
                csi_hw_s_phy_sctrl_n(base_reg, 0xC000, 3);
        } else {
+               csi_hw_s_phy_sctrl_n(base_reg, 0x200, 3);
                csi_hw_s_phy_sctrl_n(base_reg, 0x3FEA, 4);
                csi_hw_s_phy_sctrl_n(base_reg, 0xC0000, 5);
                csi_hw_s_phy_sctrl_n(base_reg, 0x140, 6);