From: Sunmi Lee Date: Fri, 6 Oct 2017 09:35:13 +0000 (+0900) Subject: [HACK] fimc-is2: Modified DPHY setting - according to hw guide X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=cab841a05add906047eedf0fc4b82a71ffee76a2;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git [HACK] fimc-is2: Modified DPHY setting - according to hw guide Change-Id: Ib65488db3a60d91a359a18eaf41719d4c4c8a390 Signed-off-by: Sunmi Lee --- diff --git a/drivers/media/platform/exynos/fimc-is2/sensor/csi2/fimc-is-hw-csi-v5_1.c b/drivers/media/platform/exynos/fimc-is2/sensor/csi2/fimc-is-hw-csi-v5_1.c index 3e1bb366c5cc..96a31182d8d2 100644 --- a/drivers/media/platform/exynos/fimc-is2/sensor/csi2/fimc-is-hw-csi-v5_1.c +++ b/drivers/media/platform/exynos/fimc-is2/sensor/csi2/fimc-is-hw-csi-v5_1.c @@ -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);