Sunmi Lee [Thu, 28 Jun 2018 11:39:53 +0000 (20:39 +0900)]
[COMMON] fimc-is2: Changed name of global variables
To increase the readability, the name of global variables were changed.
- shared_output_slock -> mcsc_out_slock
- hw_mcsc_out_configured -> mcsc_out_st (st means the state)
- HW_MCSC_OUT_CLEARED_ALL -> MCSC_RST_CHK (RST means RESET, CHK means CHECK)
Change-Id: I1a8af2dd7f6a918892fea87781c6817a3dc7853e
Signed-off-by: Sunmi Lee <carrotsm.lee@samsung.com>
Sunmi Lee [Mon, 11 Jun 2018 07:51:35 +0000 (16:51 +0900)]
[COMMON] fimc-is2: Added new features to support updated setfile
From the version of TUNING_PARAM_VER is 0x14027432, scaler setfile structures is going to changed.
- New features were added - UVSP and CAC of mc-scaler
- Scaler coefficients and clamp for bchs can be adjusted by setfile
Change-Id: I4eeabe5ccedfeb66eb2b2148c240f4e18b0c0946
Signed-off-by: Sunmi Lee <carrotsm.lee@samsung.com>
Sunmi Lee [Fri, 29 Jun 2018 05:48:15 +0000 (14:48 +0900)]
[COMMON] fimc-is2: Removed unused variable in hw-mcscaler-v2
- djag_tunecfg in hw_mcsc structure was deleted
Change-Id: Iace87576034c72ea5f69b30a5e8bce64b58a54b4
Signed-off-by: Sunmi Lee <carrotsm.lee@samsung.com>
Sunmi Lee [Fri, 29 Jun 2018 05:44:48 +0000 (14:44 +0900)]
[COMMON] fimc-is2: Code cleanup - hw-mcscaler-v2 header file
- Indents and spacing were adjusted
- Position of variable was moved
Change-Id: I3a200098537f3da01dd7ae0c96defaa18a730b6f
Signed-off-by: Sunmi Lee <carrotsm.lee@samsung.com>
Sunmi Lee [Thu, 28 Jun 2018 09:18:39 +0000 (18:18 +0900)]
[COMMON] fimc-is2: Simplified the name of variables related to djag
- djag_input_source -> djag_in
- djag_contents -> djag
Change-Id: I561132a5dd65eb7bdf166b339a739bad2ed0d4e0
Signed-off-by: Sunmi Lee <carrotsm.lee@samsung.com>
SangHyun Sim [Thu, 28 Jun 2018 08:05:38 +0000 (17:05 +0900)]
[COMMON] fimc-is2: add to check PAFSTAT irq time for debugging
Change-Id: Ib6c371c552eceb73704d8916f192f58254b6e8c9
Signed-off-by: SangHyun Sim <sanghyun.sim@samsung.com>
SangHyun Sim [Thu, 28 Jun 2018 08:05:04 +0000 (17:05 +0900)]
[COMMON] fimc-is2: add to check CSI irq time for debugging
Change-Id: Ia60a0e9d24798fb50d75071053dee62528e1eecb
Signed-off-by: SangHyun Sim <sanghyun.sim@samsung.com>
Sanghoon Lee [Wed, 2 May 2018 05:33:26 +0000 (14:33 +0900)]
Revert "[HACK][COMMON] media: fimc-is2: set stream off call only vvalid region"
This reverts commit
2d06cbf9452772189daaacd0b91d8d25dee31569.
Change-Id: I41aa9e0ec8241c2eec7644636f4d5db7814a2b75
SangHyun Sim [Tue, 19 Jun 2018 08:57:21 +0000 (17:57 +0900)]
[COMMON] fimc-is2: add to check MCSC irq time for debugging
Change-Id: I1287b16e21ecb1ff22d1345beec77da7f2e7e0eb
Signed-off-by: SangHyun Sim <sanghyun.sim@samsung.com>
SangHyun Sim [Tue, 19 Jun 2018 08:57:04 +0000 (17:57 +0900)]
[COMMON] fimc-is2: add to check VRA irq time for debugging
Change-Id: Ia6f484eeaf2087d11ceeac4ba655f6525fb9eac5
Signed-off-by: SangHyun Sim <sanghyun.sim@samsung.com>
SangHyun Sim [Tue, 19 Jun 2018 08:56:28 +0000 (17:56 +0900)]
[COMMON] fimc-is2: add to check hw irq time for debugging
Change-Id: Ib4afb7aeac8d95cf9c74cf148657d723bba57a3d
Signed-off-by: SangHyun Sim <sanghyun.sim@samsung.com>
Jeongtae Park [Tue, 3 Jul 2018 09:34:49 +0000 (18:34 +0900)]
[COMMON] fimc-is2: remove 32bit operation for kernel virtual
Prevent Defect ID: CID 214855
PR JIRA ID: CPR-32
Change-Id: I32bb089994cb95cc001d6d76744979934b32a1d9
Signed-off-by: Jeongtae Park <jtp.park@samsung.com>
Jeongtae Park [Tue, 3 Jul 2018 09:15:33 +0000 (18:15 +0900)]
[COMMON] fimc-is2: remove dead-code at resource_put
Prevent Defect ID: CID 232651
PR JIRA ID: CPR-32
Change-Id: I09eb8450b415ab6e74a3c4c3195ad71cbc8ae56b
Signed-off-by: Jeongtae Park <jtp.park@samsung.com>
Jeongtae Park [Tue, 3 Jul 2018 08:57:48 +0000 (17:57 +0900)]
[COMMON] fimc-is2: use 32bit variables for pattern generator control
Prevent Defect ID: CID 233701
PR JIRA ID: CPR-32
Change-Id: I114817bbc96282fc4bd10993ca9b1f3982bdc215
Signed-off-by: Jeongtae Park <jtp.park@samsung.com>
Jeongtae Park [Tue, 3 Jul 2018 07:16:04 +0000 (16:16 +0900)]
[COMMON] fimc-is2: fix invalid assignment: max
PR JIRA ID: CPR-32
Change-Id: I7d49b7ea96ed386ae592d770035ec820e6e78ccd
Signed-off-by: Jeongtae Park <jtp.park@samsung.com>
Jeongtae Park [Tue, 3 Jul 2018 06:58:13 +0000 (15:58 +0900)]
[9610] fimc-is2: fix null pointer dereferences: tmp_format
Prevent Defect ID: CID 232755
PR JIRA ID: CPR-32
Change-Id: Iff8a0645595043cd9d62128caf66752d49c47782
Signed-off-by: Jeongtae Park <jtp.park@samsung.com>
Jeongtae Park [Tue, 3 Jul 2018 06:01:46 +0000 (15:01 +0900)]
[COMMON] fimc-is2: remove unnecessary null check: buf
Prevent Defect ID: CID 232737, 232738
PR JIRA ID: CPR-32
Change-Id: I013cc0c5dee26c958424f91ea14d71832123c637
Signed-off-by: Jeongtae Park <jtp.park@samsung.com>
Jeongtae Park [Tue, 3 Jul 2018 05:40:22 +0000 (14:40 +0900)]
[COMMON] fimc-is2: fix resource leak: fw_blob
Prevent Defect ID: CID 172170
PR JIRA ID: CPR-32
Change-Id: I03939f06f158c3fe972df7335daa9c74d416cce8
Signed-off-by: Jeongtae Park <jtp.park@samsung.com>
Sunmi Lee [Mon, 2 Jul 2018 05:41:42 +0000 (14:41 +0900)]
[COMMON] fimc-is2: Fix a bug from prevent in hw-control
The condition in FIMC_BUG macro function is always true.
This condition is already checked above conditional sentence.
Prevent ID: 232655
PR JIRA ID: CPR-24
Change-Id: I3058439864b49df4236dea6698689609f62fb9f8
Signed-off-by: Sunmi Lee <carrotsm.lee@samsung.com>
Sunmi Lee [Mon, 2 Jul 2018 05:37:28 +0000 (14:37 +0900)]
[COMMON] fimc-is2: Fix a bug from prevent - no_effect
The type of "mode" in sensor_2l3_cis_is_wdr_mode_on is unsigned int.
So it is no use to check the value of mode is less than zero.
Prevent ID: 233013
PR JIRA ID: CPR-24
Change-Id: I4e83edb0f69c14cc783372453b4ed7dda8e15b4f
Signed-off-by: Sunmi Lee <carrotsm.lee@samsung.com>
Sunmi Lee [Mon, 2 Jul 2018 05:30:21 +0000 (14:30 +0900)]
[COMMON] fimc-is2: Fix bugs from prevent - overrun
Prevent ID: 233146, 233147, 233162, 233167, 233207
PR JIRA ID: CPR-24
Change-Id: I167e84ba82a6195836ec0864074925be9246e0d5
Signed-off-by: Sunmi Lee <carrotsm.lee@samsung.com>
Eunyoung Lee [Thu, 5 Jul 2018 07:57:40 +0000 (16:57 +0900)]
[9610] fimc-is2: change power sequence for 2P6
PR JIRA ID : CPR-38
Change-Id: Iabae0349d1f52f2c88fee34baece0aa13b1aecc6
Signed-off-by: Eunyoung Lee <ey470.lee@samsung.com>
Eunyoung Lee [Fri, 6 Jul 2018 00:58:42 +0000 (09:58 +0900)]
[COMMON] fimc-is2: changed 2P6 sensor_cfg
PR JIRA ID : CPR-38
Change-Id: I41eff5d76aff13e94c745f9c8b7e81e1a74ebcad
Signed-off-by: Eunyoung Lee <ey470.lee@samsung.com>
Eunyoung Lee [Fri, 6 Jul 2018 00:37:01 +0000 (09:37 +0900)]
[COMMON] fimc-is2: code cleanup - cis-2p6 files
PR JIRA ID : CPR-38
Change-Id: I54fad60aa9ee3a641e3d255bfed01b8a123e9334
Signed-off-by: Eunyoung Lee <ey470.lee@samsung.com>
Eunyoung Lee [Fri, 6 Jul 2018 00:33:41 +0000 (09:33 +0900)]
[COMMON] fimc-is2: deleted unused code in 2P6 sensor files
- deleted S5K2P6_USE_COMPACK_PLL_INFO option
PR JIRA ID : CPR-38
Change-Id: I648d6ceaf2535b4a4c2f57cf93fef8e6b8e7f5ba
Signed-off-by: Eunyoung Lee <ey470.lee@samsung.com>
Eunyoung Lee [Thu, 5 Jul 2018 09:47:03 +0000 (18:47 +0900)]
[COMMON] fimc-is2: updated 2P6 sensor files (code sync)
PR JIRA ID : CPR-38
Change-Id: I5473c467a4c04d69e65ccc5d9f850185e1b901e9
Signed-off-by: Eunyoung Lee <ey470.lee@samsung.com>
dan huh [Mon, 19 Jun 2017 05:12:02 +0000 (14:12 +0900)]
[COMMON] media: fimc-is2: Setting a long values for 2P6(code sync)
PR JIRA ID : CPR-38
Change-Id: Ia6cca2b4f41f1009f8fdf6e159b90c80a0a50176
Signed-off-by: dan huh <dan.huh@samsung.com>
dan huh [Thu, 15 Jun 2017 05:32:37 +0000 (14:32 +0900)]
[COMMON] media: fimc-is2: Change size 2p6 sensor mode(code sync)
PR JIRA ID : CPR-38
Change-Id: Ia4ff4852da2cdcf1ac23514dc7ed9bdd8fd91234
Signed-off-by: dan huh <dan.huh@samsung.com>
Jeongtae Park [Sat, 3 Jun 2017 05:20:34 +0000 (14:20 +0900)]
[COMMON] media: fimc-is2: don't control a regulator for univ7885(code sync)
PR JIRA ID : CPR-38
Change-Id: I527c684b3532aa75a5fb102e25027339da7bdaa2
Signed-off-by: Jeongtae Park <jtp.park@samsung.com>
Jeongtae Park [Fri, 2 Jun 2017 02:07:19 +0000 (11:07 +0900)]
[COMMON] media: fimc-is2: update the configuration of VC1 for 2P6(code sync)
PR JIRA ID : CPR-38
Change-Id: I2eafbcb8217496807121b0fca3da95294616a1bf
Signed-off-by: Jeongtae Park <jtp.park@samsung.com>
Hyeonmyeong Choi [Thu, 1 Jun 2017 03:13:37 +0000 (12:13 +0900)]
[7885] media: fimc-is2: 2p6: Support vision(code sync)
PR JIRA ID : CPR-38
Change-Id: I209b9222779c9a2b5db9bafd41ba4b88eced7ce2
Signed-off-by: Hyeonmyeong Choi <hyeon.choi@samsung.com>
Hyeonmyeong Choi [Thu, 1 Jun 2017 02:10:38 +0000 (11:10 +0900)]
[7885] media: fimc-is2: Power sequence for 2P6(code sync)
PR JIRA ID : CPR-38
Change-Id: I987431621e8c13b85c755c8a054d663a567dca61
Signed-off-by: Hyeonmyeong Choi <hyeon.choi@samsung.com>
Hyeonmyeong Choi [Sat, 27 May 2017 07:34:31 +0000 (16:34 +0900)]
[COMMON] media: fimc-is2: sensor: Add 2P6 sensor driver(code sync)
PR JIRA ID : CPR-38
Change-Id: I3a997ba62116432181f24038ec9061b594965258
Signed-off-by: Hyeonmyeong Choi <hyeon.choi@samsung.com>
Hyeonmyeong Choi [Sat, 27 May 2017 05:11:52 +0000 (14:11 +0900)]
[7885] media: fimc-is2: sensor: Create base file for 2P6(code sync)
PR JIRA ID : CPR-38
Change-Id: I7cf45a21af97a6c91b974af422408eec9a4cbe89
Signed-off-by: Hyeonmyeong Choi <hyeon.choi@samsung.com>
Hyeonmyeong Choi [Sat, 27 May 2017 07:35:41 +0000 (16:35 +0900)]
[COMMON] media: fimc-is2: Add S5K2P6 module ID (code sync)
PR JIRA ID : CPR-38
Change-Id: I510bfae4ad5a10ea469a33db82f3eb5169993afb
Signed-off-by: Hyeonmyeong Choi <hyeon.choi@samsung.com>
Eunyoung Lee [Tue, 3 Jul 2018 07:11:28 +0000 (16:11 +0900)]
[9610] arm64: dtsi: add child node for ch. mode to sensor
Change-Id: Ic062c2fda007f7fe2671640a0ca9b6191b0b8859
Signed-off-by: Eunyoung Lee <ey470.lee@samsung.com>
Sanghoon Lee [Tue, 26 Jun 2018 07:40:36 +0000 (16:40 +0900)]
[COMMON] fimc-is2: DO NOT use 'FIMC_IS_STREAM_COUNT' mingled with 'FIMC_IS_SENSOR_COUNT'
To traverse the sensor device structure,
sensor count define should be used to check the array length or to declare the related array.
Change-Id: Iea9094ff143eedb7fff11b0c4e426d418240d0eb
Signed-off-by: Sanghoon Lee <shoon114.lee@samsung.com>
Sanghoon Lee [Tue, 26 Jun 2018 07:50:59 +0000 (16:50 +0900)]
[COMMON] fimc-is2: Skip the vertical down-scaling scenario for DJAG
DJAG should not be enabled for the purpose of down-scaling, even for vertical direction.
Change-Id: I6167aa6a5e976358d694810ea7f98369edc703e2
Signed-off-by: Sanghoon Lee <shoon114.lee@samsung.com>
Sanghoon Lee [Fri, 22 Jun 2018 02:05:45 +0000 (11:05 +0900)]
[COMMON] fimc-is2: Fix GCC build error
Change-Id: I450562d2062b120d43b9b88ea51915827a6da418
Signed-off-by: Sanghoon Lee <shoon114.lee@samsung.com>
Sunmi Lee [Wed, 20 Jun 2018 11:21:52 +0000 (20:21 +0900)]
[COMMON] fimc-is2: Fix a typo
Change-Id: Ibd1fb5b0613e7a488822ba631974fced7f6d9444
Signed-off-by: Sunmi Lee <carrotsm.lee@samsung.com>
Sanghoon Lee [Tue, 19 Jun 2018 07:45:44 +0000 (16:45 +0900)]
[HACK][COMMON] fimc-is2: Skip to select DVFS scenario for VRA in reprocessing instance
When user opens VRA within reprocessing stream,
it should not trigger the DVFS level change because DVFS level is decided by ischain scenario that is before VRA.
Change-Id: I5dd1484fe4e1f87ae2935dd9bfff703f1c02a3ba
Signed-off-by: Sanghoon Lee <shoon114.lee@samsung.com>
Sunmi Lee [Mon, 18 Jun 2018 10:04:38 +0000 (19:04 +0900)]
[COMMON] fimc-is2: Removed redundant local variables and log message in frame_done
Change-Id: Idc8744eed2e8e07317f2852ca47a13ac01de011a
Signed-off-by: Sunmi Lee <carrotsm.lee@samsung.com>
Sunmi Lee [Mon, 18 Jun 2018 11:37:06 +0000 (20:37 +0900)]
[COMMON] fimc-is2: Removed the redundant variable - hw_mcsc->blk_set_ctrl
Change-Id: I9e136fc9667bd31d21263e5d6485e0cd4acfa247
Signed-off-by: Sunmi Lee <carrotsm.lee@samsung.com>
Sunmi Lee [Sun, 17 Jun 2018 09:11:57 +0000 (18:11 +0900)]
[COMMON] fimc-is2: Code cleanup of ysum in mcsc
Change-Id: I491a3646f02e573f8b91ad30af09408540d12dfb
Signed-off-by: Sunmi Lee <carrotsm.lee@samsung.com>
Sunmi Lee [Sun, 17 Jun 2018 09:04:57 +0000 (18:04 +0900)]
[COMMON] fimc-is2: Code cleanup of tdnr in mcsc
Change-Id: I8cfd832f6e6007bfd33179f91deb35e61ebc6d8a
Signed-off-by: Sunmi Lee <carrotsm.lee@samsung.com>
Sunmi Lee [Sun, 17 Jun 2018 08:47:29 +0000 (17:47 +0900)]
[COMMON] fimc-is2: Code cleanup of ds for vra
Change-Id: I7c0e131676d5f5abdf849cec2ddc20253ee23045
Signed-off-by: Sunmi Lee <carrotsm.lee@samsung.com>
Sunmi Lee [Sun, 17 Jun 2018 08:18:54 +0000 (17:18 +0900)]
[COMMON] fimc-is2: Code cleanup of hw-djag
Change-Id: I302f923ef12888de48b37f66c662910c13fbe492
Signed-off-by: Sunmi Lee <carrotsm.lee@samsung.com>
Sunmi Lee [Sun, 17 Jun 2018 07:52:35 +0000 (16:52 +0900)]
[COMMON] fimc-is2: Code cleanup of indent in hw-mcscaler-v2.h
Change-Id: Ibe5b2cfcfefeca9e8a4e7fb56d686ad8defee8bf
Signed-off-by: Sunmi Lee <carrotsm.lee@samsung.com>
Sunmi Lee [Sun, 17 Jun 2018 07:43:55 +0000 (16:43 +0900)]
[COMMON] fimc-is2: Removed unused code - HACK from previous hardware
Change-Id: I514f36739fcc730d3c93108b726bc9724c62abb4
Signed-off-by: Sunmi Lee <carrotsm.lee@samsung.com>
Sunmi Lee [Sun, 17 Jun 2018 07:19:20 +0000 (16:19 +0900)]
[COMMON] fimc-is2: Separated the function of DJAG
Change-Id: Iecb71bdf4490bc2b13fcb46a8c40cd64cc1601c7
Signed-off-by: Sunmi Lee <carrotsm.lee@samsung.com>
Sunmi Lee [Sun, 17 Jun 2018 06:08:19 +0000 (15:08 +0900)]
[COMMON] fimc-is2: Unified the function that has same functionality - mcsc_wdma_cfg
Change-Id: I139f8bae730a55848a7a1a5789508b5e1a74673c
Signed-off-by: Sunmi Lee <carrotsm.lee@samsung.com>
Sunmi Lee [Sun, 17 Jun 2018 05:52:43 +0000 (14:52 +0900)]
[COMMON] fimc-is2: Code cleanup of mcsc_wdma_cfg_fro
Change-Id: I2621f247813f5a370eb49107923fd15bf6134ed9
Signed-off-by: Sunmi Lee <carrotsm.lee@samsung.com>
Sunmi Lee [Mon, 11 Jun 2018 11:36:06 +0000 (20:36 +0900)]
[COMMON] fimc-is2: Code cleanup of indent in interface-vra.h
Change-Id: I85269ee8b7093e1f188017ba5ae8fc99902f5931
Signed-off-by: Sunmi Lee <carrotsm.lee@samsung.com>
Sunmi Lee [Mon, 11 Jun 2018 11:27:46 +0000 (20:27 +0900)]
[COMMON] fimc-is2: Code cleanup related to ENABLE_HYBRID_FD
Change-Id: I76052de73f7f35083f5bcb9659c200c2b66b76ac
Signed-off-by: Sunmi Lee <carrotsm.lee@samsung.com>
Sunmi Lee [Mon, 11 Jun 2018 07:22:08 +0000 (16:22 +0900)]
[COMMON] fimc-is2: Separated djag header file from mcscaler
Change-Id: I37af85a1e0fd58c9c0d355d3bb9691f6946486bf
Signed-off-by: Sunmi Lee <carrotsm.lee@samsung.com>
Sunmi Lee [Mon, 11 Jun 2018 07:05:44 +0000 (16:05 +0900)]
[COMMON] fimc-is2: Separated tdnr header file from mcscaler
Change-Id: I8298cb597971702c6c9bd03944ead593e5826da6
Signed-off-by: Sunmi Lee <carrotsm.lee@samsung.com>
Sunmi Lee [Mon, 11 Jun 2018 07:01:09 +0000 (16:01 +0900)]
[COMMON] fimc-is2: Code cleanup before adding new feature - hw-mcsc
Change-Id: I46a857df3be5d9dc200b8797b6b140542b7e31f0
Signed-off-by: Sunmi Lee <carrotsm.lee@samsung.com>
Jeongtae Park [Sun, 17 Jun 2018 08:07:27 +0000 (17:07 +0900)]
[COMMON] fimc-is2: remove unused code for permanent mapping
Change-Id: Iabdfd8aa69def40dab7f55c4312bd3096fa04569
Signed-off-by: Jeongtae Park <jtp.park@samsung.com>
Jeongtae Park [Sun, 17 Jun 2018 08:05:03 +0000 (17:05 +0900)]
[COMMON] fimc-is2: remvoe 'vb2_plane_cookie' operation
Change-Id: Ie955cbaa9eb934db4545234192c4e55689ee6d44
Signed-off-by: Jeongtae Park <jtp.park@samsung.com>
Jeongtae Park [Sun, 17 Jun 2018 07:56:38 +0000 (16:56 +0900)]
[COMMON] fimc-is2: remove 'cookie_shot' from a frame
Change-Id: Iab17d88e997a335336c839fb8361bc044814f0d5
Signed-off-by: Jeongtae Park <jtp.park@samsung.com>
Jeongtae Park [Sun, 17 Jun 2018 07:50:50 +0000 (16:50 +0900)]
[COMMON] fimc-is2: remove explicit cache maintanence for meta
Change-Id: Ic7fa6246721583a6af71c27f9d3daff35403eb2d
Signed-off-by: Jeongtae Park <jtp.park@samsung.com>
Jeongtae Park [Sun, 17 Jun 2018 07:46:19 +0000 (16:46 +0900)]
[COMMON] fimc-is2: remove 'buf_box' in our quque
Change-Id: I0182be2713807ecfa7b786bc3e92b74a35321484
Signed-off-by: Jeongtae Park <jtp.park@samsung.com>
Jeongtae Park [Tue, 12 Jun 2018 12:36:15 +0000 (21:36 +0900)]
[COMMON] fimc-is2: use valid frame pointer for internal subdevs
Change-Id: If3e2ef8ef676d6b7baa0dac2f36e3dc50a29f8a1
Signed-off-by: Jeongtae Park <jtp.park@samsung.com>
Jeongtae Park [Tue, 8 May 2018 06:49:46 +0000 (15:49 +0900)]
[COMMON] fimc-is2: clean-up csi_stream_on/off()
Change-Id: I325f4cd804c1aaa134bfccff0587e91c6f61dc4d
Signed-off-by: Jeongtae Park <jtp.park@samsung.com>
Jeongtae Park [Mon, 7 May 2018 02:58:21 +0000 (11:58 +0900)]
[COMMON] fimc-is2: clean-up csi_dma_probe()
Change-Id: I4b758d3a8954d4cfe48745230b7776de2d2b129b
Signed-off-by: Jeongtae Park <jtp.park@samsung.com>
Jeongtae Park [Mon, 7 May 2018 02:54:52 +0000 (11:54 +0900)]
[COMMON] fimc-is2: clean-up csi_probe() and support sub-device ch. mode
Change-Id: I92223707a2efc4cde4f3c76bfbc4ad91b2da6489
Signed-off-by: Jeongtae Park <jtp.park@samsung.com>
Jeongtae Park [Mon, 7 May 2018 02:11:46 +0000 (11:11 +0900)]
[COMMON] fimc-is2: move 'the number of sub-device channel mode' to sensor
Change-Id: I96738e3b1876642d0a12519de912e7b1bac17dcc
Signed-off-by: Jeongtae Park <jtp.park@samsung.com>
Jeongtae Park [Mon, 30 Apr 2018 01:20:30 +0000 (10:20 +0900)]
[COMMON] fimc-is2: change sub-device ch. assignment for each VC
Change-Id: I48874561b1eff7c44d791ba0bd244142941be2ad
Signed-off-by: Jeongtae Park <jtp.park@samsung.com>
Jeongtae Park [Mon, 30 Apr 2018 01:16:34 +0000 (10:16 +0900)]
[COMMON] fimc-is2: add sanity checking for selected sub-device ch. mode
Change-Id: I521143efe488005578e93e3b7f2b625ce3d79c43
Signed-off-by: Jeongtae Park <jtp.park@samsung.com>
Jeongtae Park [Mon, 30 Apr 2018 01:08:56 +0000 (10:08 +0900)]
[COMMON] fimc-is2: add the maximum of sub-device ch. mode to CSI
Change-Id: If453aff6b5adf672191e8d3118c28928772f83d6
Signed-off-by: Jeongtae Park <jtp.park@samsung.com>
Jeongtae Park [Mon, 30 Apr 2018 00:28:02 +0000 (09:28 +0900)]
[COMMON] fimc-is2: read channel mode properties as a bunch (Max VC Ch.)
Change-Id: I1b5fb8880d52616bf43d19e1a471a4a810ed2c62
Signed-off-by: Jeongtae Park <jtp.park@samsung.com>
Jeongtae Park [Mon, 30 Apr 2018 00:25:11 +0000 (09:25 +0900)]
[COMMON] fimc-is2: use sub-device ch. mode to access each HW resources
Change-Id: I5e1b2a9a477a3987ec6bdf8d2641527c85b15b02
Signed-off-by: Jeongtae Park <jtp.park@samsung.com>
Jeongtae Park [Fri, 27 Apr 2018 07:32:03 +0000 (16:32 +0900)]
[COMMON] fimc-is2: add sub-device channel mode to represent logical VC
Change-Id: I3baae756c4495e281664ae51920b9d87d7d23f4d
Signed-off-by: Jeongtae Park <jtp.park@samsung.com>
Jeongtae Park [Thu, 26 Apr 2018 02:57:54 +0000 (11:57 +0900)]
phy: apply 2+2 lane mode, CLK2 selection for 0502/0001
Change-Id: I7f831bd58e369288a24716efb5f4351d7b286698
Signed-off-by: Jeongtae Park <jtp.park@samsung.com>
Jeongtae Park [Thu, 26 Apr 2018 02:55:59 +0000 (11:55 +0900)]
phy: some SFRs exist in the COMBO lane only
Change-Id: Ide7b7dab6dcf34cdb3328558e21f05d7dcf08bed
Signed-off-by: Jeongtae Park <jtp.park@samsung.com>
Jeongtae Park [Thu, 26 Apr 2018 02:54:43 +0000 (11:54 +0900)]
phy: add operation 'mode' to PHY type
Change-Id: I66d1a2157c1b337d8eec934906a2625edf7c3781
Signed-off-by: Jeongtae Park <jtp.park@samsung.com>
Jeongtae Park [Thu, 26 Apr 2018 02:53:27 +0000 (11:53 +0900)]
[COMMON] fimc-is2: add operation 'mode' to PHY type
Change-Id: I31f33fa35263fff94b68b466f032c77b475057bc
Signed-off-by: Jeongtae Park <jtp.park@samsung.com>
Jeongtae Park [Thu, 26 Apr 2018 02:50:37 +0000 (11:50 +0900)]
[COMMON] fimc-is2: simplify getting .drvdata
We should get drvdata from struct device directly.
Going via platform_device is an unneeded step back and forth.
Change-Id: I76cd504d46b1f19a71d14b7a729652166f7f5c6d
Signed-off-by: Jeongtae Park <jtp.park@samsung.com>
Sunmi Lee [Fri, 15 Jun 2018 01:58:24 +0000 (10:58 +0900)]
[COMMON] fimc-is2: Fix a bug of calling get_meta function in case of NDONE frame
Change-Id: I69b67190199790cf38ce825773926c2a9482fb6b
Signed-off-by: Sunmi Lee <carrotsm.lee@samsung.com>
Sunmi Lee [Mon, 11 Jun 2018 10:03:40 +0000 (19:03 +0900)]
[COMMON] fimc-is2: Fix a bug of getting the 3AAG (MRG_OUT) subdev
Change-Id: Icd9a4e67e40359675ebbc4b806b6f980bbb3e8a9
Signed-off-by: Sunmi Lee <carrotsm.lee@samsung.com>
Sunmi Lee [Fri, 8 Jun 2018 04:52:45 +0000 (13:52 +0900)]
[COMMON] fimc-is2: Code cleanup related to ENABLE_REPROCESSING_FD
Change-Id: I7b06ef08fd4e14ee85330185295b565b9280aa55
Signed-off-by: Sunmi Lee <carrotsm.lee@samsung.com>
Sunmi Lee [Fri, 8 Jun 2018 04:51:46 +0000 (13:51 +0900)]
[COMMON] fimc-is2: Increased STREAM_COUNT 4 -> 8 to support eFD function
Change-Id: Idcb4b6c6764ef7c1aff35dac066414b95a350555
Signed-off-by: Sunmi Lee <carrotsm.lee@samsung.com>
Sunmi Lee [Fri, 8 Jun 2018 03:43:15 +0000 (12:43 +0900)]
[COMMON] fimc-is2: Added to check 3AF, 3AG output in 3aa_shot
Change-Id: Icb407866819d3928d514cf127a9ff56e8da9a7f5
Signed-off-by: Sunmi Lee <carrotsm.lee@samsung.com>
Sunmi Lee [Fri, 8 Jun 2018 02:26:40 +0000 (11:26 +0900)]
[COMMON] fimc-is2: Fix a bug of finding setfile offset
Change-Id: Ief04f265044641854b7a46c0aad6d07978854c4a
Signed-off-by: Sunmi Lee <carrotsm.lee@samsung.com>
Sunmi Lee [Thu, 7 Jun 2018 06:58:54 +0000 (15:58 +0900)]
[COMMON] fimc-is2: Fix a bugs of setting efd address for DDK
Change-Id: I5b11a36d6ca6d3a2e998b0fd5830145a1b44aa80
Signed-off-by: Sunmi Lee <carrotsm.lee@samsung.com>
Youngwan Kim [Wed, 18 Jul 2018 04:24:55 +0000 (13:24 +0900)]
[COMMON] lib: libdss: add aarch64 headers for libdss
Change-Id: Ic62e240ff26f2fbea7f8ba062165f84998bd00cc
Signed-off-by: Youngwan Kim <y103.kim@samsung.com>
yi jaeuk [Wed, 4 Jul 2018 06:49:34 +0000 (15:49 +0900)]
[9610] soc: samsung: cal-if: Updated PMUCAL data. (0713)
Change-Id: Ibb5f0afa5c336882efae150c6da5be3d66e80480
Signed-off-by: yi jaeuk <ju.yi@samsung.com>
Jang JeongHoon [Fri, 13 Jul 2018 01:59:58 +0000 (10:59 +0900)]
soc: samsung: cal-if: Introduced new access_type: PMUCAL_RAW_WAIT.
Change-Id: Id95be1b44b03e59b945430de8603fff36633ea21
Signed-off-by: Jang JeongHoon <jnghn.jang@samsung.com>
yi jaeuk [Thu, 5 Jul 2018 02:22:30 +0000 (11:22 +0900)]
[9610] arm64: erd9610_defconfig: enable CONFIG_EXYNOS_RGT
Change-Id: Ie557c4d0ecda7729095445e745af2dd4fa8cf01e
Signed-off-by: yi jaeuk <ju.yi@samsung.com>
Youngwan Kim [Tue, 17 Jul 2018 05:23:20 +0000 (14:23 +0900)]
[COMMON] lib: libdss: move time check if to the front of iteration
Change-Id: Icc1d83dc6f1296dfcefada67633a3310b721cfde
Signed-off-by: Youngwan Kim <y103.kim@samsung.com>
Youngwan Kim [Thu, 12 Jul 2018 02:12:31 +0000 (11:12 +0900)]
[COMMON] lib: libdss: Convert trash value to 0
Change-Id: I754532fc2f404dca8504fa7c81ad22692e704ae6
Signed-off-by: Youngwan Kim <y103.kim@samsung.com>
Youngwan Kim [Wed, 11 Jul 2018 12:11:47 +0000 (21:11 +0900)]
[COMMON] lib: dss: fix bug setting 0 at wrong position in acpm log
Change-Id: I1c7adcca4a35f28083f8897cc67149b397ee63a9
Signed-off-by: Youngwan Kim <y103.kim@samsung.com>
Youngwan Kim [Wed, 11 Jul 2018 12:11:04 +0000 (21:11 +0900)]
[COMMON] lib: libdss: convert printf format for Tracegen
Change-Id: I50106c3183358e538555db6a1a37c60eb3ed2840
Signed-off-by: Youngwan Kim <y103.kim@samsung.com>
Youngwan Kim [Wed, 11 Jul 2018 02:14:56 +0000 (11:14 +0900)]
[COMMON] lib: libdss: change dss-reader to libdss
It's to fix build error in environment not installed qemu-aarch64.
Change-Id: I6156bb191bfbfd80f29b46c713b13379a9e9b050
Signed-off-by: Youngwan Kim <y103.kim@samsung.com>
Youngwan Kim [Wed, 11 Jul 2018 02:43:27 +0000 (11:43 +0900)]
[COMMON] lib: libdss: Add ifdef for FREQ
Change-Id: I0b81dc0a9ecd58a9848360e1a0f8bae44f5f1dc8
Signed-off-by: Youngwan Kim <y103.kim@samsung.com>
Youngwan Kim [Mon, 25 Jun 2018 02:04:17 +0000 (11:04 +0900)]
[COMMON] lib: dss-reader: Add ACPM log in dss-reader
Change-Id: I5a7a08403de0d7684246dfc4482c0073dd2f27fb
Signed-off-by: Youngwan Kim <y103.kim@samsung.com>
Youngwan Kim [Thu, 21 Jun 2018 09:43:55 +0000 (18:43 +0900)]
[COMMON] lib: dss-reader: add cpu field in freq
Change-Id: I0f53346a4c306e7a31ea4badd1fa13fa2563cee9
Signed-off-by: Youngwan Kim <y103.kim@samsung.com>
Yunji Kim [Tue, 5 Jun 2018 07:26:17 +0000 (16:26 +0900)]
[COMMON] lib: dss-reader: Modify dss-reader to trace binder transactions
Change-Id: Iae83e6822054eb192cfa7e441b1b8dd2257fdb1e
Signed-off-by: Yunji Kim <yunji.kim@samsung.com>
Yunji Kim [Mon, 28 May 2018 12:24:19 +0000 (21:24 +0900)]
[COMMON] dss: add binder log to trace binder transactions
Change-Id: I5f0aa96a07dd4c9f73cc5b0f6dd8238efa9931d5
Signed-off-by: Yunji Kim <yunji.kim@samsung.com>
Signed-off-by: Youngwan Kim <y103.kim@samsung.com>
Yunji Kim [Thu, 7 Jun 2018 07:40:14 +0000 (16:40 +0900)]
[COMMON] lib: dss-reader: fix qemu error.
This patch fixes below error.
$ qemu-aarch64 dss-reader snapshot.dat
/lib/ld-linux-aarch64.so.1: No such file or directory
Change-Id: I9ffa1448b9eee9bb1673c87f6b281cb44596f466
Signed-off-by: Yunji Kim <yunji.kim@samsung.com>