From fe42897ed99c6550398c5ad2b6b3869f1f5a0753 Mon Sep 17 00:00:00 2001 From: Eunyoung Lee Date: Tue, 8 May 2018 18:53:48 +0900 Subject: [PATCH] [9610] fimc-is2: changed PAFSTAT DMA mux value for CSIS DMA out Change-Id: I80003392c36c3404473f8297711fa9d1a2c5c2a4 Signed-off-by: Eunyoung Lee --- .../fimc-is-v6_10_0/fimc-is-hw-chain.c | 21 ++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/drivers/media/platform/exynos/fimc-is2/ischain/fimc-is-v6_10_0/fimc-is-hw-chain.c b/drivers/media/platform/exynos/fimc-is2/ischain/fimc-is-v6_10_0/fimc-is-hw-chain.c index 61078a7c461b..3b0e36f09816 100644 --- a/drivers/media/platform/exynos/fimc-is2/ischain/fimc-is-v6_10_0/fimc-is-hw-chain.c +++ b/drivers/media/platform/exynos/fimc-is2/ischain/fimc-is-v6_10_0/fimc-is-hw-chain.c @@ -85,7 +85,26 @@ static struct fimc_is_field sysreg_cam_fields[SYSREG_CAM_REG_FIELD_CNT] = { {"PAFSTAT_CORE1_IN_CSIS0_EN", 0, 1, RW, 0x1}, }; -#define MUX_SET_VAL_DEFAULT (0x00172077) +/* + * [22:21] GLUEMUX_PAF_DMA3_OTF_SEL[1:0] : 0 = DMA0, 1 = DMA1, 2 = DMA2, 3 = DMA3 + * [20:19] GLUEMUX_PAF_DMA2_OTF_SEL[1:0] : 0 = DMA0, 1 = DMA1, 2 = DMA2, 3 = DMA3 + * [18:17] GLUEMUX_PAF_DMA1_OTF_SEL[1:0] : 0 = DMA0, 1 = DMA1, 2 = DMA2, 3 = DMA3 + * [16:15] GLUEMUX_PAF_DMA0_OTF_SEL[1:0] : 0 = DMA0, 1 = DMA1, 2 = DMA2, 3 = DMA3 + * [14:13] MUX_3AA1_VAL[1:0] : 0 = CSIS0, 1 = CSIS1, 2 = CSIS2, 3 = CSIS3 + * [12:11] MUX_3AA0_VAL[1:0] : 0 = CSIS0, 1 = CSIS1, 2 = CSIS2, 3 = CSIS3 + * [10] CSIS2_DPHY_S_MUXSEL : 0 : S4(2) of M4S4S4, 1: S4(2) of M2S4S4S2 + * [9] CSIS1_DPHY_S_MUXSEL : 0 : S4(2) of M4S4S4, 1: S4(2) of M2S4S4S2 + * [8] CSIS0_DPHY_S_MUXSEL : 0 : S4(2) of M4S4S4, 1: S4(2) of M2S4S4S2 + * [7] I_PAFSTAT_CORE1_IN_CSIS3_EN + * [6] I_PAFSTAT_CORE1_IN_CSIS2_EN + * [5] I_PAFSTAT_CORE1_IN_CSIS1_EN + * [4] I_PAFSTAT_CORE1_IN_CSIS0_EN + * [3] I_PAFSTAT_CORE0_IN_CSIS3_EN + * [2] I_PAFSTAT_CORE0_IN_CSIS2_EN + * [1] I_PAFSTAT_CORE0_IN_CSIS1_EN + * [0] I_PAFSTAT_CORE0_IN_CSIS0_EN + */ +#define MUX_SET_VAL_DEFAULT (0x00402077) #define MUX_CLR_VAL_DEFAULT (0x007FFFFF) /* Define default subdev ops if there are not used subdev IP */ -- 2.20.1