From cab841a05add906047eedf0fc4b82a71ffee76a2 Mon Sep 17 00:00:00 2001 From: Sunmi Lee Date: Fri, 6 Oct 2017 18:35:13 +0900 Subject: [PATCH] [HACK] fimc-is2: Modified DPHY setting - according to hw guide Change-Id: Ib65488db3a60d91a359a18eaf41719d4c4c8a390 Signed-off-by: Sunmi Lee --- .../platform/exynos/fimc-is2/sensor/csi2/fimc-is-hw-csi-v5_1.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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); -- 2.20.1