GitHub/MotorolaMobilityLLC/kernel-slsi.git
5 years ago[COMMON] fimc-is2: set VC Buf to NDONE when s_buffer is failed
Wooyeon Kim [Mon, 25 Mar 2019 05:28:14 +0000 (14:28 +0900)]
[COMMON] fimc-is2: set VC Buf to NDONE when s_buffer is failed

 PR JIRA ID: CPR-866

CRs-fixed: (CR)

Change-Id: I81226123bf00b608fd3eaf8d0652ef37b16e6c6c
Signed-off-by: Wooyeon Kim <wooy88.kim@samsung.com>
Reviewed-on: https://gerrit.mot.com/1329486
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Dawei Wang <wangdw10@motorola.com>
Reviewed-by: Zhichao Chen <chenzc2@motorola.com>
Submit-Approved: Jira Key

5 years ago[COMMON] fimc-is2: change normal spin_lock to spin_lock_irqsave
Dohyun Kim [Sun, 24 Mar 2019 10:51:18 +0000 (19:51 +0900)]
[COMMON] fimc-is2: change normal spin_lock to spin_lock_irqsave

 PR JIRA ID: CPR-863

CRs-fixed: (CR)

Change-Id: I36667a8cd4c1765745f4e75c221f29397b9127ef
Signed-off-by: Dohyun Kim <dh5.kim@samsung.com>
Reviewed-on: https://gerrit.mot.com/1329485
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Dawei Wang <wangdw10@motorola.com>
Reviewed-by: Zhichao Chen <chenzc2@motorola.com>
Submit-Approved: Jira Key

5 years ago[COMMON] fimc-is2: change VC0 framemgr state in ISR
Wooyeon Kim [Sat, 23 Mar 2019 06:05:23 +0000 (15:05 +0900)]
[COMMON] fimc-is2: change VC0 framemgr state in ISR

CRs-fixed: (CR)

Change-Id: Ice0c9f2ecaf948538fd20ee2105163d9dcfab0b9
Signed-off-by: Wooyeon Kim <wooy88.kim@samsung.com>
Reviewed-on: https://gerrit.mot.com/1329484
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Dawei Wang <wangdw10@motorola.com>
Reviewed-by: Zhichao Chen <chenzc2@motorola.com>
Submit-Approved: Jira Key

5 years ago[COMMON] fimc-is2: Remove ring-buffer concept for sensor tag data
Sanghoon Lee [Sat, 26 Jan 2019 05:39:06 +0000 (14:39 +0900)]
[COMMON] fimc-is2: Remove ring-buffer concept for sensor tag data

Ring buffer concept for sensor tagGing data was applied to avoid the
data overwriting issue.
That issue was removed now and ring buffer is not necessary anymore.

PR JIRA ID: CPR-625

CRs-fixed: (CR)

Change-Id: Ia85a84261b63e97e223585ebebbd84396fcb8579
Signed-off-by: Sanghoon Lee <shoon114.lee@samsung.com>
Reviewed-on: https://gerrit.mot.com/1329483
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Dawei Wang <wangdw10@motorola.com>
Reviewed-by: Zhichao Chen <chenzc2@motorola.com>
Submit-Approved: Jira Key

5 years ago[COMMON] fimc-is2: Update tag_data only for sensor group
Sanghoon Lee [Fri, 25 Jan 2019 09:37:27 +0000 (18:37 +0900)]
[COMMON] fimc-is2: Update tag_data only for sensor group

To update sensor tagGing data through device manager's shot callback,
current group must be connected to sensor group with OTF path.
Because sensor tagGing data is being stored in global variable,
which is Defenderined in devicemgr structure,
the others should not update it to prevent the data overwriting.

PR JIRA ID: CPR-625

CRs-fixed: (CR)

Change-Id: Ib6f67e23216a62fbf33f402fd6d082d9427713ac
Signed-off-by: Sanghoon Lee <shoon114.lee@samsung.com>
Reviewed-on: https://gerrit.mot.com/1329482
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Dawei Wang <wangdw10@motorola.com>
Reviewed-by: Zhichao Chen <chenzc2@motorola.com>
Submit-Approved: Jira

5 years ago[9610] fimc-is2: turn off VC tasklet
dan huh [Wed, 11 Jul 2018 01:53:48 +0000 (10:53 +0900)]
[9610] fimc-is2: turn off VC tasklet

PR JIRA ID: CPR-584

CRs-fixed: (CR)

Change-Id: I3aeccdfb826441e3afd80cf74b2864399a27f12e
Signed-off-by: Jeongtae Park <jtp.park@samsung.com>
Reviewed-on: https://gerrit.mot.com/1329481
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Dawei Wang <wangdw10@motorola.com>
Reviewed-by: Zhichao Chen <chenzc2@motorola.com>
Submit-Approved: Jira Key

5 years ago[COMMON] fimc-is2: change 'ENABLE_SENSOR_VC_FUNCTION' to 'CHAIN_ENABLE_VC_TASKLET'
Jeongtae Park [Tue, 15 Jan 2019 05:15:01 +0000 (14:15 +0900)]
[COMMON] fimc-is2: change 'ENABLE_SENSOR_VC_FUNCTION' to 'CHAIN_ENABLE_VC_TASKLET'

PR JIRA ID: CPR-584

CRs-fixed: (CR)

Change-Id: I749b371a3fefe175002c3bb418710Montanaae7c8ce4
Signed-off-by: Jeongtae Park <jtp.park@samsung.com>
Reviewed-on: https://gerrit.mot.com/1329480
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Dawei Wang <wangdw10@motorola.com>
Reviewed-by: Zhichao Chen <chenzc2@motorola.com>
Submit-Approved: Jira Key

5 years agokernel:fs:update inode size when do lseek
wangwang [Thu, 28 Mar 2019 03:27:36 +0000 (11:27 +0800)]
kernel:fs:update inode size when do lseek

sdcardfs file node info was not updated when lowlevel file was updated
force to update the inode size when do lseek systemcall

Change-Id: I34802cc33f5cddd9dd8d304c5803cd0886805faf
Signed-off-by: wangwang <wangwang1@mt.com>
Reviewed-on: https://gerrit.mot.com/1328861
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key

5 years ago[COMMON] fimc-is2: divide mcsc cur_setfile by instance
Wooyeon Kim [Wed, 27 Mar 2019 09:16:22 +0000 (18:16 +0900)]
[COMMON] fimc-is2: divide mcsc cur_setfile by instance

 PR JIRA ID: CPR-880

CRs-fixed: (CR)

Change-Id: Id5119ff5bee7716de1cc38b4efabc262d6fc461b
Signed-off-by: Wooyeon Kim <wooy88.kim@samsung.com>
Reviewed-on: https://gerrit.mot.com/1328889
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Dawei Wang <wangdw10@motorola.com>
Reviewed-by: Zhichao Chen <chenzc2@motorola.com>
Submit-Approved: Jira Key

5 years agoDefenderconfig:Troika : add config for Set BUCK8 voltage to1.35V
Wen Xie [Wed, 27 Mar 2019 07:52:43 +0000 (15:52 +0800)]
Defenderconfig:Troika : add config for Set BUCK8 voltage to1.35V

Merge samsung patch:
[MODAP-23773][Troika ][regulator] Set BUCK8 output voltage to 1.35V.
Signed-off-by: yujing <jing12.yu@samsung.com>
Change-Id: If688ef59d1501635b12e584f1cac6fd3dac37bc7
Signed-off-by: Wen Xie <xiewen3@motorola.com>
Reviewed-on: https://gerrit.mot.com/1327859
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Zhengming Yao <yaozm1@mt.com>
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Lu Lu <lulu2@mt.com>

5 years agoregulator: Troika :Set BUCK8 output voltage to 1.35V
Wen Xie [Wed, 27 Mar 2019 07:47:09 +0000 (15:47 +0800)]
regulator: Troika :Set BUCK8 output voltage to 1.35V

Merge samsung patch:
[MODAP-23773][Troika ][regulator] Set BUCK8 output voltage to 1.35V.
Signed-off-by: yujing <jing12.yu@samsung.com>
Change-Id: Ic609cdf471fd23ad199eabdaec364826fbea30cd
Signed-off-by: Wen Xie <xiewen3@motorola.com>
Reviewed-on: https://gerrit.mot.com/1327857
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Zhengming Yao <yaozm1@mt.com>
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Lu Lu <lulu2@mt.com>

5 years agoAudio:Re-apply Cirrus' patch for hp detect
yaozm1 [Sat, 23 Mar 2019 06:56:17 +0000 (14:56 +0800)]
Audio:Re-apply Cirrus' patch for hp detect

Force EP demux over to headphones to run HPDET
Add invert logic clamp.
Set clamp Defenderault value to true.

Change-Id: Ib4202e2d226e5585506acdf114c3056b60ab8d2b
Signed-off-by: yaozm1 <yaozm1@mt.com>
Reviewed-on: https://gerrit.mot.com/1326172
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key

5 years ago[COMMON] fimc-is2: update eeprom as KP request
wangdw10 [Mon, 25 Mar 2019 03:16:53 +0000 (11:16 +0800)]
[COMMON] fimc-is2: update eeprom as KP request

support CRC check for DVT and PVT module

CRs-fixed: (CR)

Change-Id: Iaf1dbc640ba3ba8de992091756fd07a32663ea3e
Signed-off-by: wangdw10 <wangdw10@mt.com>
Reviewed-on: https://gerrit.mot.com/1326411
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Dawei Wang <wangdw10@motorola.com>
Reviewed-by: Zhichao Chen <chenzc2@motorola.com>
Submit-Approved: Jira Key

5 years ago[COMMON] fimc-is2: support digital gain setting for OV12A10/0V12A10FF/OV16885C
xff [Thu, 21 Mar 2019 09:21:41 +0000 (17:21 +0800)]
[COMMON] fimc-is2: support digital gain setting for OV12A10/0V12A10FF/OV16885C

Change-Id: I1cc0a583e85c452d5bd7ae2502102ec4c9ed9540
Signed-off-by: xff <fangfang.xu@samsung.com>
5 years ago[COMMON] fimc-is2: add cancel logic if h/w ip shot failed
Wooyeon Kim [Fri, 22 Mar 2019 03:58:46 +0000 (12:58 +0900)]
[COMMON] fimc-is2: add cancel logic if h/w ip shot failed

 - when each h/w ip shot failed,
   set hw_frame state & operate recover function for already shot ip

 PR JIRA ID: CPR-856

CRs-fixed: (CR)

Change-Id: I656297461555e7c6aa63b4e1cec72fbe7d905ce5
Signed-off-by: Wooyeon Kim <wooy88.kim@samsung.com>
Reviewed-on: https://gerrit.mot.com/1326261
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Dawei Wang <wangdw10@motorola.com>
Reviewed-by: Zhichao Chen <chenzc2@motorola.com>
Submit-Approved: Jira Key

5 years ago[COMMON] fimc-is2: modify fimc_is_lib_isp_shot return type
Wooyeon Kim [Fri, 22 Mar 2019 07:22:25 +0000 (16:22 +0900)]
[COMMON] fimc-is2: modify fimc_is_lib_isp_shot return type

 - for result from DDK, modified type void -> int

 PR JIRA ID: CPR-856

CRs-fixed: (CR)

Change-Id: I4a8a759738ff3e1687f39da9ca48385888f563c1
Signed-off-by: Wooyeon Kim <wooy88.kim@samsung.com>
Reviewed-on: https://gerrit.mot.com/1326262
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Dawei Wang <wangdw10@motorola.com>
Reviewed-by: Zhichao Chen <chenzc2@motorola.com>
Submit-Approved: Jira Key

5 years ago[COMMON] fimc-is2: trigger smp_multi_input when group canceled
Wooyeon Kim [Fri, 22 Mar 2019 03:54:59 +0000 (12:54 +0900)]
[COMMON] fimc-is2: trigger smp_multi_input when group canceled

 - when group shot cancelled which uses a smp_multi_input (EX>MCSC)
   not triggered smp causes a ISP shot thread stuck

 PR JIRA ID: CPR-856

CRs-fixed: (CR)

Change-Id: I078444ef532d5fb419e6edc87429a7489779d86b
Signed-off-by: Wooyeon Kim <wooy88.kim@samsung.com>
Reviewed-on: https://gerrit.mot.com/1326260
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Dawei Wang <wangdw10@motorola.com>
Reviewed-by: Zhichao Chen <chenzc2@motorola.com>
Submit-Approved: Jira Key

5 years agoAudio:Remove cirrus patch
yaozm1 [Fri, 22 Mar 2019 03:23:07 +0000 (11:23 +0800)]
Audio:Remove cirrus patch

Revert "(CR):Asoc:Apply cirrus' patch to fix hp detect issue"

This reverts commit 2ffd055d897360e03c7446ad5b33ab747b6bdba0.

Change-Id: Iff805d831d969ad408d597ad36a2672dd57c91b4
Reviewed-on: https://gerrit.mot.com/1325465
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key

5 years agoAsoc:Apply cirrus' patch to fix hp detect issue
yaozm1 [Thu, 21 Mar 2019 05:55:59 +0000 (13:55 +0800)]
Asoc:Apply cirrus' patch to fix hp detect issue

From: Charles Keepax <ckeepax@opensource.cirrus.com>
Date: Tue, 19 Mar 2019 17:29:02 +0000
Subject: [PATCH] ASoC: madera: Force EP demux over to headphones to run HPDET

The EP demux needs to be set to the headphones for the HPDET to run the
correct value.

Change-Id: I7bcc0cdca28b2a1b3144ee03f3af84056ddcaba4
Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Signed-off-by: yaozm1 <yaozm1@mt.com>
Change-Id: I24c057510dfff3b531cd75e3c8aafa255727e87e
Reviewed-on: https://gerrit.mot.com/1324759
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key

5 years ago[COMMON] fimc-is2: update 2x5sp setting (v1.4a)
Wooyeon Kim [Mon, 18 Mar 2019 07:45:38 +0000 (16:45 +0900)]
[COMMON] fimc-is2: update 2x5sp setting (v1.4a)

 - applied 3DHDR tune setting

 PR JIRA ID: CPR-838

CRs-fixed: (CR)

Change-Id: I3f8f132de39ff994424f332775560a4303495873
Signed-off-by: Wooyeon Kim <wooy88.kim@samsung.com>
Reviewed-on: https://gerrit.mot.com/1324234
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Dawei Wang <wangdw10@motorola.com>
Reviewed-by: Zhichao Chen <chenzc2@motorola.com>
Submit-Approved: Jira Key

5 years ago[COMMON] fimc-is2: change vendor_luxStandard to float
Sangwoo Park [Fri, 15 Mar 2019 03:01:21 +0000 (12:01 +0900)]
[COMMON] fimc-is2: change vendor_luxStandard to float

CRs-fixed: (CR)

Change-Id: Ibf1d24630df7bcca821cb00b317c7e1db1a683b4
Signed-off-by: Sangwoo Park <sw5771.park@samsung.com>
Reviewed-on: https://gerrit.mot.com/1324233
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Dawei Wang <wangdw10@motorola.com>
Reviewed-by: Zhichao Chen <chenzc2@motorola.com>
Submit-Approved: Jira Key

5 years ago[COMMON] fimc-is2: Fix ois bu24218gwl not work
libm1 [Tue, 19 Mar 2019 13:10:15 +0000 (21:10 +0800)]
[COMMON] fimc-is2: Fix ois bu24218gwl not work

Update the boot sequence

CRs-fixed: (CR)

Change-Id: I2035a0257440a90ef02cafec6ab391ef536361a2
Signed-off-by: libm1 <libm1@mt.com>
Reviewed-on: https://gerrit.mot.com/1323731
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Biming Li <libm1@motorola.com>
Reviewed-by: Zhichao Chen <chenzc2@motorola.com>
Submit-Approved: Jira Key

5 years agolcd: modify lcd init code for lcd internal power jump
xingbin [Tue, 19 Mar 2019 08:17:21 +0000 (16:17 +0800)]
lcd: modify lcd init code for lcd internal power jump

Change-Id: If3bb2f7873762bb2d51b9cef8cca5057611dd94b
Signed-off-by: xingbin <xingbin@huaqin.com>
Signed-off-by: tanhua1 <tanhua1@mt.com>
Reviewed-on: https://gerrit.mot.com/1323561
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key

5 years agolcd: modify lcd init code for lcd internal power jump
xingbin [Wed, 13 Mar 2019 07:49:21 +0000 (15:49 +0800)]
lcd: modify lcd init code for lcd internal power jump

modify himax lcd init code for lcd internal power jump
Note:current stage solution, maybe update the final solution later

Change-Id: I22e036b0145aefb7057a7e44dac7292037fa19d8
Signed-off-by: xingbin <xingbin@huaqin.com>
Signed-off-by: tanhua1 <tanhua1@mt.com>
Reviewed-on: https://gerrit.mot.com/1323560
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key

5 years ago[COMMON] fimc-is2: add & fixed a 2x5 3dhdr stat
Wooyeon Kim [Thu, 14 Mar 2019 08:59:17 +0000 (17:59 +0900)]
[COMMON] fimc-is2: add & fixed a 2x5 3dhdr stat

 - motion stat update interface added
 - fix wrong register update method for some stats

 PR JIRA ID: CPR-828

CRs-fixed: (CR)

Change-Id: Idab1c8dceb671cd8a1f22fa2785455d3d4ea7ba8
Signed-off-by: Wooyeon Kim <wooy88.kim@samsung.com>
Reviewed-on: https://gerrit.mot.com/1323546
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Zhichao Chen <chenzc2@motorola.com>
Submit-Approved: Jira Key

5 years ago[COMMON] fimc-is2: update 2x5sp setting (v1.4)
Wooyeon Kim [Thu, 7 Mar 2019 06:51:54 +0000 (15:51 +0900)]
[COMMON] fimc-is2: update 2x5sp setting (v1.4)

 PR JIRA ID: CPR-828

CRs-fixed: (CR)

Change-Id: I65f1cf389ae7e85bca25a2f54e3b1ae0a8cfdfcf
Signed-off-by: Wooyeon Kim <wooy88.kim@samsung.com>
Reviewed-on: https://gerrit.mot.com/1323545
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Zhichao Chen <chenzc2@motorola.com>
Submit-Approved: Jira Key

5 years agosensor: adjust the log
Wen Xie [Tue, 19 Mar 2019 09:52:53 +0000 (17:52 +0800)]
sensor: adjust the log

Adjust the log reg:
X933X_REG_PROX_ADC_MIN->X933X_REG_PROX_ADC_MAX.

Change-Id: I794b57a066ab481d18952d4eb27c08d7067dae17
Signed-off-by: Wen Xie <xiewen3@motorola.com>
Reviewed-on: https://gerrit.mot.com/1322655
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key

5 years agoarm64/dts: Update Capsensor parameters
Wen Xie [Tue, 19 Mar 2019 07:58:03 +0000 (15:58 +0800)]
arm64/dts: Update Capsensor parameters

form vendor:
Add Troika  Capsensor parameters.

Change-Id: Ia361da98298bfc78b61adf10c4498fa7afc08528
Signed-off-by: Wen Xie <xiewen3@motorola.com>
Reviewed-on: https://gerrit.mot.com/1322653
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key

5 years agolowmemorykiller:Account for extra_free_kbytes in calcuations
Jeff Vanhoof [Thu, 19 Oct 2017 10:39:30 +0000 (05:39 -0500)]
lowmemorykiller:Account for extra_free_kbytes in calcuations

Account for extra_free_kbytes in calcuations

CRs-fixed: (CR)
Signed-off-by: Jeff Vanhoof <qjv001@motorola.com>
Change-Id: I2c44a1775d43fad40cf49d6303b7552c2c089b6e
Reviewed-on: https://gerrit.mot.com/1076213
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Coverity Analysis <coverity@motorola.com>
Reviewed-by: Igor Kovalenko <igork@motorola.com>
Submit-Approved: Jira Key
Reviewed-on: https://gerrit.mot.com/1318719
Reviewed-by: Dawei Wang <wangdw10@motorola.com>
Reviewed-by: Zhichao Chen <chenzc2@motorola.com>
5 years ago[COMMON] fimc-s2: modify hw sync registers of OV12A10
xff [Mon, 18 Mar 2019 00:59:28 +0000 (08:59 +0800)]
[COMMON] fimc-s2: modify hw sync registers of OV12A10

CRs-fixed: (CR)

Change-Id: I1168adc20f4aecb37ba1b278be8cb8a085b4461c
Signed-off-by: xff <fangfang.xu@samsung.com>
Reviewed-on: https://gerrit.mot.com/1321973
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Dawei Wang <wangdw10@motorola.com>
Reviewed-by: Zhichao Chen <chenzc2@motorola.com>
Submit-Approved: Jira Key

5 years agoarm64/dts: camera: Troika : add i2c mode for front camera
xff [Fri, 15 Mar 2019 07:46:09 +0000 (15:46 +0800)]
arm64/dts: camera: Troika : add i2c mode for front camera

CRs-fixed: (CR)

Change-Id: I9811e8526daf06f609166c04f68b29889247df80
Signed-off-by: xff <fangfang.xu@samsung.com>
Reviewed-on: https://gerrit.mot.com/1321972
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Dawei Wang <wangdw10@motorola.com>
Reviewed-by: Zhichao Chen <chenzc2@motorola.com>
Submit-Approved: Jira Key

5 years ago[COMMON] fimc-is2: update eeprom map of OV12A10
xff [Thu, 14 Mar 2019 08:50:44 +0000 (16:50 +0800)]
[COMMON] fimc-is2: update eeprom map of OV12A10

1. Robusat2Play_Calibration_map_20190226.xls
2. only dump 2k size for dual camera cal data

CRs-fixed: (CR)

Change-Id: I6a65502edb388333e490f880be1ae6eb86309cc8
Signed-off-by: xff <fangfang.xu@samsung.com>
Reviewed-on: https://gerrit.mot.com/1321460
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Dawei Wang <wangdw10@motorola.com>
Reviewed-by: Zhichao Chen <chenzc2@motorola.com>
Submit-Approved: Jira Key

5 years agokernel: charger thermal level log
xuwei9 [Mon, 18 Mar 2019 06:16:02 +0000 (14:16 +0800)]
kernel: charger thermal level log

charger thermal current
level log

Change-Id: If932cb55f304a5903121ed283503ec10d3c16fc7
Signed-off-by: xuwei9 <xuwei9@mt.com>
Reviewed-on: https://gerrit.mot.com/1322036
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key

5 years ago[COMMON] fimc-is2: update meta for flicker_detect
Sangwoo Park [Thu, 7 Mar 2019 06:39:00 +0000 (15:39 +0900)]
[COMMON] fimc-is2: update meta for flicker_detect

- JIRA : CPR-791

CRs-fixed: (CR)

Change-Id: Ib39bfa07f0916586f03dfeb76a2396f016f28922
Signed-off-by: Sangwoo Park <sw5771.park@samsung.com>
Reviewed-on: https://gerrit.mot.com/1321461
Tested-by: Jira Key
Reviewed-by: Dawei Wang <wangdw10@motorola.com>
Reviewed-by: Zhichao Chen <chenzc2@motorola.com>
SLTApproved: Zhichao Chen <chenzc2@motorola.com>
Tested-by: Zhichao Chen <chenzc2@motorola.com>
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Submit-Approved: Jira Key

5 years agowlbt: Disable SMAPPER in SISO phone
Albert Cano [Fri, 1 Mar 2019 08:45:54 +0000 (08:45 +0000)]
wlbt: Disable SMAPPER in SISO phone

Disable SMAPPEr in SISO phones as it is not required and it
could cause ITMON issues.

Moto-CRs-Fixed: (CR)
SCSC-Bug-Id: SMAPPER_DISABLED

Change-Id: If4da74599bf0235185c62ade6e074e23de46f662
Signed-off-by: Albert Cano <a.canocamps@samsung.com>
Signed-off-by: sunyue5 <sunyue5@motorola.com>
Reviewed-on: https://gerrit.mot.com/1321241
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Jun Zhang <zhangj10@motorola.com>
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key

5 years agosensor: adjust the log
Wen Xie [Thu, 14 Mar 2019 03:09:01 +0000 (11:09 +0800)]
sensor: adjust the log

1. adjust the log format
2. add log to dump adc, raw data and use filter

Change-Id: I518a116e834a82fb721746ce546fe60b438bfb4f
Signed-off-by: Wen Xie <xiewen3@motorola.com>
Reviewed-on: https://gerrit.mot.com/1320612
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key

5 years agokernel:turbo charger event of type-c
xuwei9 [Wed, 13 Mar 2019 10:14:06 +0000 (18:14 +0800)]
kernel:turbo charger event of type-c

turbo charger type-c
event

Change-Id: I302816f48b55abe87a7fb69a1dfb9041ea9957c9
Signed-off-by: xuwei9 <xuwei9@mt.com>
Reviewed-on: https://gerrit.mot.com/1320067
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key

5 years agodriver:Add C type Rp current setting
xuwei9 [Thu, 7 Mar 2019 13:08:54 +0000 (22:08 +0900)]
driver:Add C type Rp current setting

Add c type Rp current
setting

Signed-off-by: xuwei9 <xuwei9@mt.com>
Change-Id: I222c07f0fdd29f65c6a5311Defenderc33e3c5c30c4cf
Reviewed-on: https://gerrit.mot.com/1320518
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Wei Xu <xuwei9@mt.com>
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key

5 years agokernel:battery full to 99 fast
xuwei9 [Wed, 13 Mar 2019 08:10:03 +0000 (16:10 +0800)]
kernel:battery full to 99 fast

battery full to 99
fast

Change-Id: I048846a2769b0af49067a599f556b1b8bcea2a6f
Signed-off-by: xuwei9 <xuwei9@mt.com>
Reviewed-on: https://gerrit.mot.com/1320018
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key

5 years ago[LV][RAMEN9610-12699][Robusta2] arm64: dts: Set pull up/down disable at SD_SIM_DET...
JaeHun Jung [Thu, 28 Feb 2019 01:49:03 +0000 (10:49 +0900)]
[LV][RAMEN9610-12699][Robusta2] arm64: dts: Set pull up/down disable at  SD_SIM_DET pin.

When use active high detect case that sometimes have problem SIM detect floating issue.
So, Change pull up/down state from down to disable.

Moto-CRs-Fixed: (CR)
Change-Id: I3161fdfc5ccec17e9f20991c9c5fa9724fcf2593
Signed-off-by: JaeHun Jung <jh0801.jung@samsung.com>
Reviewed-on: https://gerrit.mot.com/1320002
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Junfang Zhang <zhang10@motorola.com>
Tested-by: Junfang Zhang <zhang10@motorola.com>
Submit-Approved: Jira Key

5 years agoarm64/dts: Update Capsensor parameters
Wen Xie [Tue, 12 Mar 2019 10:28:15 +0000 (18:28 +0800)]
arm64/dts: Update Capsensor parameters

8024--RegAfeParamsPh0--FREQ_PH0=b11011: b10001: FOsc/88 (~45.45 kHz)
802C--RegAfeParamsPh1--FREQ_PH1=b11011: b10001: FOsc/88 (~45.45 kHz)

Change-Id: I24ca9b0627166d4e68e851c808c4d4e4d9a956a2
Signed-off-by: Wen Xie <xiewen3@motorola.com>
Reviewed-on: https://gerrit.mot.com/1319622
Tested-by: Jira Key
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key

5 years ago[COMMON] fimc-is2: fix register setting error when dual_sync is disable
xff [Tue, 12 Mar 2019 08:33:43 +0000 (16:33 +0800)]
[COMMON] fimc-is2: fix register setting error when dual_sync is disable

CRs-fixed: (CR)

Change-Id: I804ae664a2c578e24b0c52960d43c78424e978c8
Signed-off-by: xff <fangfang.xu@samsung.com>
Reviewed-on: https://gerrit.mot.com/1319592
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Dawei Wang <wangdw10@motorola.com>
Reviewed-by: Zhichao Chen <chenzc2@motorola.com>
Submit-Approved: Jira Key

5 years ago[COMMON] fimc-is2: Troika : remove no use settings
wangdw10 [Thu, 28 Feb 2019 08:51:11 +0000 (16:51 +0800)]
[COMMON] fimc-is2: Troika : remove no use settings

Change-Id: I2b37dd12ac39a7e6b3a26f7e8011302541b48179
Signed-off-by: wangdw10 <wangdw10@mt.com>
5 years agoconfig:disable s2mu106 haptic driver
xuwei9 [Mon, 11 Mar 2019 08:29:44 +0000 (16:29 +0800)]
config:disable s2mu106 haptic driver

disable s2mu106 haptic
driver

Change-Id: Id65aee48a679198e0b9da837b8f57bbf68d6bb96
Signed-off-by: xuwei9 <xuwei9@mt.com>
Reviewed-on: https://gerrit.mot.com/1319055
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key

5 years agoDefenderconfig: disable crash key
zhaoxp3 [Mon, 11 Mar 2019 08:20:22 +0000 (16:20 +0800)]
Defenderconfig: disable crash key

disable crash key for userdebug build
Change-Id: I9ec7a69e51ce9c4e673a77a48b3cf86daf4218ee
Signed-off-by: zhaoxp3 <zhaoxp3@motorola.com>
Reviewed-on: https://gerrit.mot.com/1319052
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Submit-Approved: Jira Key

5 years agoarm64/dts: Update Capsensor parameters
Wen Xie [Mon, 11 Mar 2019 02:19:23 +0000 (10:19 +0800)]
arm64/dts: Update Capsensor parameters

8024--RegAfeParamsPh0--FREQ_PH0=b11011: FOsc/352 (~11.36 kHz)
802C--RegAfeParamsPh1--FREQ_PH1=b11011: FOsc/352 (~11.36 kHz)
8034--RegAfeParamsPh2--FREQ_PH2=b11011: b10001: FOsc/88 (~45.45 kHz)
803C--RegAfeParamsPh3--FREQ_PH3=b11011: b10001: FOsc/88 (~45.45 kHz)
8044--RegAfeParamsPh4--FREQ_PH4=b11011: b10001: FOsc/88 (~45.45 kHz)

Change-Id: I6b4130bb05809b265cf6e36c15eeb225d6719696
Signed-off-by: Wen Xie <xiewen3@motorola.com>
Reviewed-on: https://gerrit.mot.com/1318914
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key

5 years ago[COMMON] fimc-is2: fix wrong refer TDNR parameters
Wooyeon Kim [Wed, 6 Mar 2019 04:58:16 +0000 (13:58 +0900)]
[COMMON] fimc-is2: fix wrong refer TDNR parameters

 - each scenario setfile parameter saved to cur_setfile
   so, fix code in tdnr parameters

 PR JIRA ID: CPR-784

CRs-fixed: (CR)

Change-Id: I6fa10699c6ed7069c5b9cec99e2201bf16ad49d8
Signed-off-by: Wooyeon Kim <wooy88.kim@samsung.com>
Reviewed-on: https://gerrit.mot.com/1318419
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Dawei Wang <wangdw10@motorola.com>
Reviewed-by: Zhichao Chen <chenzc2@motorola.com>
Submit-Approved: Jira Key

5 years ago[COMMON]fimc-is2: fix rear3 camera level selection error
xff [Thu, 7 Mar 2019 12:43:02 +0000 (20:43 +0800)]
[COMMON]fimc-is2: fix rear3 camera level selection error

CRs-fixed: (CR)

Change-Id: I53014a93279fDefender118a99db5b3a192f4228a9889
Signed-off-by: xff <fangfang.xu@samsung.com>
Reviewed-on: https://gerrit.mot.com/1318418
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Dawei Wang <wangdw10@motorola.com>
Reviewed-by: Zhichao Chen <chenzc2@motorola.com>
Submit-Approved: Jira Key

5 years agoarm64/dts: camera: Troika : add rear3 dvfs scenario
xff [Thu, 7 Mar 2019 12:36:35 +0000 (20:36 +0800)]
arm64/dts: camera: Troika : add rear3 dvfs scenario

CRs-fixed: (CR)

Change-Id: Icce70591d8c57f53eec692fac39832141159d5b1
Signed-off-by: xff <fangfang.xu@samsung.com>
Reviewed-on: https://gerrit.mot.com/1318417
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Dawei Wang <wangdw10@motorola.com>
Reviewed-by: Zhichao Chen <chenzc2@motorola.com>
Submit-Approved: Jira Key

5 years agoarch/arm: sync with samsung to remove erase on sdcard
dengwei1 [Fri, 8 Mar 2019 03:15:07 +0000 (11:15 +0800)]
arch/arm: sync with samsung to remove erase on sdcard

sync with samsung platfor code
to remove the erase on sdcard

Change-Id: I466c9ec33f72af5cdf88e525727ad1f00123a12d
Signed-off-by: dengwei1 <dengwei1@motorola.com>
Reviewed-on: https://gerrit.mot.com/1318413
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key

5 years agoarm/dts: update carrier id map
zhaoxp3 [Tue, 5 Mar 2019 09:24:30 +0000 (17:24 +0800)]
arm/dts: update carrier id map

otherwise channel-id-map will be lost after merged in lk
Change-Id: I9c985fae8f69319b1a9892d53b94757a9c4bb490
Signed-off-by: zhaoxp3 <zhaoxp3@motorola.com>
Reviewed-on: https://gerrit.mot.com/1317168
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Hua Tan <tanhua1@motorola.com>
Submit-Approved: Jira Key

5 years ago[COMMON] fimc-is2: fix ois bu24218 read ois cal data permission issue
libm1 [Fri, 1 Mar 2019 08:51:53 +0000 (16:51 +0800)]
[COMMON] fimc-is2: fix ois bu24218 read ois cal data permission issue

Since SELinux enable, kernel OIS driver can`t read eeprom bin file
in userspace filesystem, which lead to OIS always load Defenderault cal data.
The solution is to pass the eeprom device node to OIS driver, then
OIS cal data in eeprom data can be parse directly.

CRs-fixed: (CR)

Change-Id: Ic61ae2c4abc0c88342383f49df35a1bc48719f7e
Signed-off-by: libm1 <libm1@mt.com>
Reviewed-on: https://gerrit.mot.com/1316094
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Biming Li <libm1@motorola.com>
Reviewed-by: Dawei Wang <wangdw10@motorola.com>
Reviewed-by: Zhichao Chen <chenzc2@motorola.com>
Submit-Approved: Jira Key

5 years ago[COMMON] fimc-is2: change 2X5SP setting (shading power disable)
Wooyeon Kim [Mon, 4 Mar 2019 07:12:35 +0000 (16:12 +0900)]
[COMMON] fimc-is2: change 2X5SP setting (shading power disable)

 PR JIRA ID: CPR-780

CRs-fixed: (CR)

Change-Id: I50a419a1308dd6dDefender39c79e5788c135e0a9b719
Signed-off-by: Wooyeon Kim <wooy88.kim@samsung.com>
Reviewed-on: https://gerrit.mot.com/1317181
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Dawei Wang <wangdw10@motorola.com>
Reviewed-by: Zhichao Chen <chenzc2@motorola.com>
Submit-Approved: Jira Key

5 years ago[COMMON] fimc-is2: fix GM1SP wrong settings
Wooyeon Kim [Mon, 4 Mar 2019 10:45:47 +0000 (19:45 +0900)]
[COMMON] fimc-is2: fix GM1SP wrong settings

 - wrong setting for 4000x3000 fixed.
   wrong setting caused a mismatch of Dual H/W sync

 PR JIRA ID: CPR-777

CRs-fixed: (CR)

Change-Id: If73d3010d090b6c1940177d1af0f6b14b53c306e
Signed-off-by: Wooyeon Kim <wooy88.kim@samsung.com>
Reviewed-on: https://gerrit.mot.com/1317180
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Dawei Wang <wangdw10@motorola.com>
Reviewed-by: Zhichao Chen <chenzc2@motorola.com>
Submit-Approved: Jira Key

5 years agoDefenderconfig: Troika : add eeprom support
wangdw10 [Tue, 5 Mar 2019 09:17:25 +0000 (17:17 +0800)]
Defenderconfig: Troika : add eeprom support

enable eeprom feature for Troika  project

Change-Id: I84c77c98cadcd548e81e50996d637f6ce9cc87d8
Signed-off-by: wangdw10 <wangdw10@mt.com>
Reviewed-on: https://gerrit.mot.com/1317165
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Dawei Wang <wangdw10@motorola.com>
Reviewed-by: Zhichao Chen <chenzc2@motorola.com>
Submit-Approved: Jira Key

5 years agoDefenderconfig: Troika : Add eeprom support
xff [Tue, 26 Feb 2019 07:44:26 +0000 (15:44 +0800)]
Defenderconfig: Troika : Add eeprom support

Change-Id: If332bd5a68ac64b9c3501e82881122fe0a719701
Signed-off-by: xff <fangfang.xu@samsung.com>
5 years ago[COMMON] fimc-is2: Add dual sync settings for 5E9 & OV12A10
xff [Mon, 4 Mar 2019 08:17:04 +0000 (16:17 +0800)]
[COMMON] fimc-is2: Add dual sync settings for 5E9 & OV12A10

Change-Id: I409119c66fb104caaa71eb256e6262ea72cbf0c1
Signed-off-by: xff <fangfang.xu@samsung.com>
5 years agoarm/dts: camera: Troika : add dual sync mode for 5E9 & OV12A10
xff [Mon, 4 Mar 2019 08:11:29 +0000 (16:11 +0800)]
arm/dts: camera: Troika : add dual sync mode for 5E9 & OV12A10

Change-Id: If62bbff48f372f51464c1ec741940ccf08fa6613
Signed-off-by: xff <fangfang.xu@samsung.com>
5 years ago[9610][Troika ] dtsi: camera: add OTP use option for 5E9
Wooyeon Kim [Tue, 26 Feb 2019 10:21:12 +0000 (19:21 +0900)]
[9610][Troika ] dtsi: camera: add OTP use option for 5E9

 PR JIRA ID: CPR-773

Change-Id: Ia06dc35d9cd273052d88b2a78c366999ca2ddb0a
Signed-off-by: Wooyeon Kim <wooy88.kim@samsung.com>
5 years ago[COMMON] fimc-is2: add OTP cal read for 5E9
Wooyeon Kim [Tue, 26 Feb 2019 10:19:39 +0000 (19:19 +0900)]
[COMMON] fimc-is2: add OTP cal read for 5E9

 - cal read and check in 5E9

 PR JIRA ID: CPR-773

Change-Id: I68a23e5b44c9c2ad2e8ede02d643013dfb860b4e
Signed-off-by: Wooyeon Kim <wooy88.kim@samsung.com>
5 years ago[COMMON] fimc-is2: code clean about CIS OTP
Wooyeon Kim [Wed, 27 Feb 2019 11:08:49 +0000 (20:08 +0900)]
[COMMON] fimc-is2: code clean about CIS OTP

 - crc16, binary read/write function moved to common
 - applied to 2x5sp OTP

 PR JIRA ID: CPR-773

Change-Id: Iad38e42de691bca4df8ee9a98deeb1f1544bc005
Signed-off-by: Wooyeon Kim <wooy88.kim@samsung.com>
5 years ago[COMMON] fimc-is2: support get actual af position of lc898217
xff [Mon, 4 Mar 2019 02:18:43 +0000 (10:18 +0800)]
[COMMON] fimc-is2: support get actual af position of lc898217

Change-Id: I1b1b2a856f0e5fdd9525a275aa5c998d17e97746
Signed-off-by: xff <fangfang.xu@samsung.com>
5 years ago[COMMON]fimc-is2: fix mode change error
xff [Sat, 2 Mar 2019 03:27:13 +0000 (11:27 +0800)]
[COMMON]fimc-is2: fix mode change error

Change-Id: I280272e925ca22ef5854ddab279a7494ce029665
Signed-off-by: xff <fangfang.xu@samsung.com>
5 years ago[COMMON]fimc-is2: add OV12A10/OV12A10FF/OV16885C eeprom c/head file for bring up
xff [Tue, 26 Feb 2019 07:50:46 +0000 (15:50 +0800)]
[COMMON]fimc-is2: add OV12A10/OV12A10FF/OV16885C eeprom c/head file for bring up

Change-Id: If5fd7e187c37646a9e1631afcf00d313ee9c0f38
Signed-off-by: xff <fangfang.xu@samsung.com>
5 years agoarm64: dts: Troika : add eeprom support
xff [Mon, 25 Feb 2019 12:21:44 +0000 (20:21 +0800)]
arm64: dts: Troika : add eeprom support

Change-Id: Ib0d081095f7d45d72ddb3085a48815d0e5491c63
Signed-off-by: xff <fangfang.xu@samsung.com>
5 years agousbpd:Pickup the missing USBPD change
a17671 [Mon, 4 Mar 2019 06:05:33 +0000 (14:05 +0800)]
usbpd:Pickup the missing USBPD change

Samsung switched the irq trigger from LOW
to FALLING and FALLING TO LOW back again
Moto line failed to pickup this change for
Unknown reason

Change-Id: I1910a7dbe528514a3b189e50200e6f00e2dc58ae
Signed-off-by: a17671 <a17671@motorola.com>
Reviewed-on: https://gerrit.mot.com/1316604
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key

5 years agopower: Add CHARGE_NOW function
Wen Xie [Sat, 2 Mar 2019 07:18:10 +0000 (15:18 +0800)]
power: Add CHARGE_NOW function

Samsung patch:
fix CHARGE_NOW property function.

From d0b0e57dda8ba436a86a61d95a9d356c4b9b34c2 Mon Sep 17 00:00:00 2001
From: Keunho Hwang <keunho.hwang@samsung.com>
Date: Sat, 2 Mar 2019 12:49:38 +0900
Subject: [PATCH] [Only-For-Test] driver: power: fix CHARGE_NOW property

Signed-off-by: Keunho Hwang <keunho.hwang@samsung.com>
Change-Id: I0d18ca993e3ec4e10dc5135457a1d362eb6dbd99
Signed-off-by: Wen Xie <xiewen3@motorola.com>
Reviewed-on: https://gerrit.mot.com/1316488
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Wei Xu <xuwei9@mt.com>
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key

5 years agopower: Add CHARGE_FULL function
Wen Xie [Fri, 1 Mar 2019 14:35:56 +0000 (22:35 +0800)]
power: Add CHARGE_FULL function

Samsung patch:
Add CHARGE_FULL function.

From 6273ea9a561ac14306d2cd7c90d2dda6494f75dd Mon Sep 17 00:00:00 2001
From: Keunho Hwang <keunho.hwang@samsung.com>
Date: Fri, 1 Mar 2019 15:47:10 +0900
Subject: [PATCH] [Only-For-Test] driver: power: fix
 POWER_SUPPLY_PROP_CHARGE_FULL property

Signed-off-by: Keunho Hwang <keunho.hwang@samsung.com>
Change-Id: I8fa3c449faf95d2cd0560732f49190e215f216cb
Signed-off-by: Wen Xie <xiewen3@motorola.com>
Reviewed-on: https://gerrit.mot.com/1316280
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Wei Xu <xuwei9@mt.com>
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key

5 years agodebug-snapshot:Increase the pstore mem size
a17671 [Fri, 1 Mar 2019 10:11:15 +0000 (18:11 +0800)]
debug-snapshot:Increase the pstore mem size

Increase the pstore mem size to 1M
To allow annotation

Change-Id: Ied8ffee16b940bfbbc4143bf915ef97243617eda
Signed-off-by: a17671 <a17671@motorola.com>
Reviewed-on: https://gerrit.mot.com/1316159
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key

5 years agousbpd:Add the missing changes back
a17671 [Fri, 1 Mar 2019 04:47:11 +0000 (12:47 +0800)]
usbpd:Add the missing changes back

There are some lines missing
After the merge conflict of
Moto changes and usbpd compliance patch
Add them back

Change-Id: Ib962f1b6d732bced3ee8ac85c119803f197dd84a
Signed-off-by: a17671 <a17671@motorola.com>
Reviewed-on: https://gerrit.mot.com/1315964
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key

5 years ago[COMMON] fimc-is2: fix wrong addr setting for Rear2 cal
Wooyeon Kim [Thu, 28 Feb 2019 04:35:27 +0000 (13:35 +0900)]
[COMMON] fimc-is2: fix wrong addr setting for Rear2 cal

 - CAL parsing address & loading is different.

CRs-fixed: (CR)

Change-Id: I8c4ce618be0c0d4bed13e80227a5a2e36c293adc
Signed-off-by: Wooyeon Kim <wooy88.kim@samsung.com>
Reviewed-on: https://gerrit.mot.com/1315837
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Dawei Wang <wangdw10@motorola.com>
Reviewed-by: Zhichao Chen <chenzc2@motorola.com>
Submit-Approved: Jira Key

5 years ago[9610] fimc-is2: enable option for TDNR YIC always mode
Wooyeon Kim [Wed, 27 Feb 2019 04:13:54 +0000 (13:13 +0900)]
[9610] fimc-is2: enable option for TDNR YIC always mode

 TDNR memory need to optimize, so adjusted based on compressor on

 - PR JIRA ID: CPR-744

CRs-fixed: (CR)

Change-Id: I1472be872843ab8389d72110d58bfdf05d923a4f
Signed-off-by: Wooyeon Kim <wooy88.kim@samsung.com>
Reviewed-on: https://gerrit.mot.com/1315836
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Dawei Wang <wangdw10@motorola.com>
Reviewed-by: Zhichao Chen <chenzc2@motorola.com>
Submit-Approved: Jira Key

5 years ago[COMMON] fimc-is2: add option for always use TDNR YIC mode
Wooyeon Kim [Wed, 27 Feb 2019 04:13:20 +0000 (13:13 +0900)]
[COMMON] fimc-is2: add option for always use TDNR YIC mode

 TDNR memory need to optimize, so adjusted based on compressor on

 - PR JIRA ID: CPR-744

CRs-fixed: (CR)
Change-Id: Idbf3341af9664b7d19a3b5214e3cb34d9e8dd5f6
Signed-off-by: Wooyeon Kim <wooy88.kim@samsung.com>
Reviewed-on: https://gerrit.mot.com/1315835
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Dawei Wang <wangdw10@motorola.com>
Reviewed-by: Zhichao Chen <chenzc2@motorola.com>
Submit-Approved: Jira Key

5 years ago[COMMON] fimc-is2: move flash control timing with stream on/off ctl
Wooyeon Kim [Wed, 27 Feb 2019 02:00:20 +0000 (11:00 +0900)]
[COMMON] fimc-is2: move flash control timing with stream on/off ctl

 PR JIRA ID: CPR-743

CRs-fixed: (CR)

Change-Id: Ifa112d918dMontanac4cada7b61ad4c9b66f87287ad1
Signed-off-by: Wooyeon Kim <wooy88.kim@samsung.com>
Reviewed-on: https://gerrit.mot.com/1315834
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Dawei Wang <wangdw10@motorola.com>
Reviewed-by: Zhichao Chen <chenzc2@motorola.com>
Submit-Approved: Jira Key

5 years ago[COMMON] fimc-is2: set init low state for mclk of 5e9 at power_seqeunce_1
Dohyun Kim [Wed, 20 Feb 2019 03:50:01 +0000 (12:50 +0900)]
[COMMON] fimc-is2: set init low state for mclk of 5e9 at power_seqeunce_1

 PR JIRA ID: CPR-742

CRs-fixed: (CR)

Change-Id: Iabbab58a3b31f71f73e1dd6b8b0fb51bf433e4ec
Signed-off-by: Dohyun Kim <dh5.kim@samsung.com>
Reviewed-on: https://gerrit.mot.com/1315833
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Dawei Wang <wangdw10@motorola.com>
Reviewed-by: Zhichao Chen <chenzc2@motorola.com>
Submit-Approved: Jira Key

5 years agoarm64: dts: Troika : update camera dtsi to use 900KHz I2C clock for 12A10/12A10FF
xff [Thu, 28 Feb 2019 01:53:07 +0000 (09:53 +0800)]
arm64: dts: Troika : update camera dtsi to use 900KHz I2C clock for 12A10/12A10FF

CRs-fixed: (CR)

Change-Id: I3770b0a215de78b09330bb437a5716a9b0e1f2ce
Signed-off-by: xff <fangfang.xu@samsung.com>
Reviewed-on: https://gerrit.mot.com/1315236
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Dawei Wang <wangdw10@motorola.com>
Reviewed-by: Zhichao Chen <chenzc2@motorola.com>
Submit-Approved: Jira Key

5 years agodtsi: PD charger current support
xuwei9 [Wed, 27 Feb 2019 10:05:34 +0000 (18:05 +0800)]
dtsi: PD charger current support

Pd charger current
support

Change-Id: I54852a46b2fba43b75a6bf1d2adc931e9ba657c8
Signed-off-by: xuwei9 <xuwei9@mt.com>
Reviewed-on: https://gerrit.mot.com/1314873
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key

5 years agokernel: PD charger support
xuwei9 [Wed, 27 Feb 2019 09:59:45 +0000 (17:59 +0800)]
kernel: PD charger support

PD charger need display
turbo charger

Change-Id: I09b90c6614e3fc1f7634a2edbb18b4e77961111b
Signed-off-by: xuwei9 <xuwei9@mt.com>
Reviewed-on: https://gerrit.mot.com/1314869
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key

5 years ago[Kane]:[user]: modify frame rate to 55fps for hix83112a and nov36672a
xingbin [Tue, 19 Feb 2019 07:53:33 +0000 (15:53 +0800)]
[Kane]:[user]: modify  frame rate  to 55fps for hix83112a and nov36672a

Change-Id: Ide2c3b2c12a1d7caf55f1003b6f807249023446b
Signed-off-by: xingbin <xingbin@huaqin.com>
Signed-off-by: tanhua1 <tanhua1@mt.com>
Reviewed-on: https://gerrit.mot.com/1314613
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key

5 years ago[Kane][9610] arm64: dts: disable bcm ip for G2D
Taekki Kim [Tue, 19 Feb 2019 02:27:44 +0000 (11:27 +0900)]
[Kane][9610] arm64: dts: disable bcm ip for G2D

Change-Id: I79b9852510bb96f8b563ecd78eef5e83d5bf1a06
Signed-off-by: Taekki Kim <taekki.kim@samsung.com>
Signed-off-by: tanhua1 <tanhua1@mt.com>
Reviewed-on: https://gerrit.mot.com/1314614
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key

5 years agoDefenderconfig: disable CONFIG_DEBUG_SNAPSHOT_CRASH_KEY
zhaoxp3 [Wed, 27 Feb 2019 02:38:52 +0000 (10:38 +0800)]
Defenderconfig: disable CONFIG_DEBUG_SNAPSHOT_CRASH_KEY

disable CONFIG_DEBUG_SNAPSHOT_CRASH_KEY for user build
Change-Id: Ibb6615716d2919211e6501b698f427a41c14eb2c
Signed-off-by: zhaoxp3 <zhaoxp3@motorola.com>
Reviewed-on: https://gerrit.mot.com/1314667
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Submit-Approved: Jira Key

5 years ago[Kane]:[user]modify backligt chipset(lm36923) config to reslove brightness flicker
xingbin [Mon, 25 Feb 2019 12:19:44 +0000 (20:19 +0800)]
[Kane]:[user]modify backligt chipset(lm36923) config to reslove brightness flicker

Change-Id: I593d3e5d7db4ed4704fbc148312949c89617b566
Signed-off-by: xingbin <xingbin@huaqin.com>
Signed-off-by: tanhua1 <tanhua1@mt.com>
Reviewed-on: https://gerrit.mot.com/1314179
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key

5 years agodtsi:oppo ta support config
xuwei9 [Tue, 26 Feb 2019 05:50:32 +0000 (13:50 +0800)]
dtsi:oppo ta support config

oppo ta support
config

Change-Id: I7129a182d6b2f07e9e9fac9b7365f47148f074e0
Signed-off-by: xuwei9 <xuwei9@mt.com>
Reviewed-on: https://gerrit.mot.com/1314110
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key

5 years agochub: fix sendCmd error
guoyc1 [Fri, 22 Feb 2019 13:59:55 +0000 (22:59 +0900)]
chub: fix sendCmd error

This patch fix sendCmd error by wakelock timeout
This is picked from huaqin branch, the oriGinal ID is
RAMEN9610-12469.

Change-Id: I32679e13dbee9446cb4b5d124ca2713f28a1f008
Signed-off-by: Boojin Kim <boojin.kim@samsung.com>
Reviewed-on: https://gerrit.mot.com/1313792
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Yuchang Guo <guoyc1@mt.com>
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key

5 years ago[9610] fimc-is2: unDefender CSIS OVERFLOW panic option
Wooyeon Kim [Mon, 25 Feb 2019 02:33:11 +0000 (11:33 +0900)]
[9610] fimc-is2: unDefender CSIS OVERFLOW panic option

 PR JIRA ID: CPR-734

CRs-fixed: (CR)

Change-Id: Icc8f29228f0f2bbc2fc757c534d809452ddb7728
Signed-off-by: Wooyeon Kim <wooy88.kim@samsung.com>
Reviewed-on: https://gerrit.mot.com/1313735
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Dawei Wang <wangdw10@motorola.com>
Reviewed-by: Zhichao Chen <chenzc2@motorola.com>
Submit-Approved: Jira Key

5 years ago[COMMON] fimc-is2: update GM1SP setfiles
Wooyeon Kim [Thu, 21 Feb 2019 11:02:19 +0000 (20:02 +0900)]
[COMMON] fimc-is2: update GM1SP setfiles

 - S5KGM1SP_ReferenceSEtfile_v0.9g_20190219_For SOC.xlsx

  * included a ICM-42602 standby mode

 PR JIRA ID: CPR-729

Change-Id: Id17fa2f7583263e9f4d04eb0a0e0d25a875f8f94
Signed-off-by: Wooyeon Kim <wooy88.kim@samsung.com>
5 years agoRevert "[COMMON] fimc-is2: distinguished GM1 setting with gyro or w/o gyro"
Wooyeon Kim [Thu, 21 Feb 2019 10:43:21 +0000 (19:43 +0900)]
Revert "[COMMON] fimc-is2: distinguished GM1 setting with gyro or w/o gyro"

This reverts commit ba6337a7e82ecf7a8c9d613e5d9181db971fe52f.

 PR JIRA ID: CPR-729

Change-Id: I0c6cf107362aaafc85e98d6fc868f8dac15e1714

5 years ago[HACK][9610] fimc-is2: force panic when camera launching with rsccount remained
Wooyeon Kim [Wed, 20 Feb 2019 08:40:18 +0000 (17:40 +0900)]
[HACK][9610] fimc-is2: force panic when camera launching with rsccount remained

 - for get meaningful log when power is not turned off state

 PR JIRA ID: CPR-720

Change-Id: I2b7632be29db48f49e390818bfd00eca4c81e9ba
Signed-off-by: Wooyeon Kim <wooy88.kim@samsung.com>
5 years ago[COMMON] fimc-is2: discriminate actual DTP and force stop
Jeongtae Park [Tue, 8 Jan 2019 13:02:53 +0000 (22:02 +0900)]
[COMMON] fimc-is2: discriminate actual DTP and force stop

PR JIRA ID: CPR-564

Change-Id: I693445931347f3098e86bb2b7de82483be5f1959
Signed-off-by: Jeongtae Park <jtp.park@samsung.com>
5 years ago[COMMON] fimc-is2: remove meaningless blanks
Jeongtae Park [Tue, 8 Jan 2019 12:37:45 +0000 (21:37 +0900)]
[COMMON] fimc-is2: remove meaningless blanks

PR JIRA ID: CPR-564

Change-Id: I8704f73f1ec9cb60567dd831f83bb426d59f118a
Signed-off-by: Jeongtae Park <jtp.park@samsung.com>
5 years ago[COMMON] fimc-is2: the dtp_timer should be activated before 'FIMC_IS_SENSOR_FRONT_STA...
Jeongtae Park [Tue, 8 Jan 2019 12:32:16 +0000 (21:32 +0900)]
[COMMON] fimc-is2: the dtp_timer should be activated before 'FIMC_IS_SENSOR_FRONT_START' be set

Change-Id: Icbd5651818f02abf3bd7f2985302658d1970ebb7
Signed-off-by: Jeongtae Park <jtp.park@samsung.com>
5 years ago[COMMON] fimc-is2: delete pending dtp_timer
Jeongtae Park [Tue, 8 Jan 2019 12:29:33 +0000 (21:29 +0900)]
[COMMON] fimc-is2: delete pending dtp_timer

PR JIRA ID: CPR-564

Change-Id: I1a55f0a9d24f65f78052f20460c649123cc71ebb
Signed-off-by: Jeongtae Park <jtp.park@samsung.com>
5 years ago[COMMON] fimc-is2: add 'SENSOR_MODULE_GOT_INTO_TROUBLE'
Jeongtae Park [Fri, 14 Dec 2018 11:20:07 +0000 (20:20 +0900)]
[COMMON] fimc-is2: add 'SENSOR_MODULE_GOT_INTO_TROUBLE'

to be noticed module's status, and it could use for
reset other devices.

PR JIRA ID: CPR-503

Change-Id: I332e8210b77353410cbf07e52be5f3f8198155c6
Signed-off-by: Jeongtae Park <jtp.park@samsung.com>
5 years ago[COMMON] fimc-is2: use memset to clear all states of a sensor
Jeongtae Park [Fri, 14 Dec 2018 11:19:12 +0000 (20:19 +0900)]
[COMMON] fimc-is2: use memset to clear all states of a sensor

PR JIRA ID: CPR-503

Change-Id: Ia7a6fa02b246576baeec4c1c5135275b3ad5a890
Signed-off-by: Jeongtae Park <jtp.park@samsung.com>
5 years ago[COMMON] fimc-is2: add checking stream on state
Wooki Min [Sat, 15 Sep 2018 12:31:16 +0000 (21:31 +0900)]
[COMMON] fimc-is2: add checking stream on state

If the camera is more fastly re-started than DTP timer interval,
about 300 ms, the DTP state is set even though camera worked normaly.
So, checking sensor stream on state is added before setting the DTP state.

PR JIRA ID: CPR-266

Change-Id: Ic54630e3f4248e5b84be9dd1709d169e264b3483
Signed-off-by: Wooki Min <wooki.min@samsung.com>
5 years ago[COMMON] fimc-is2: remove del_timer
Wooki Min [Sat, 15 Sep 2018 12:27:39 +0000 (21:27 +0900)]
[COMMON] fimc-is2: remove del_timer

A del_timer that is inside timer function is not worked,
because there is no pending timer list after timer funtion is started.
So, the del_timer is removed.

PR JIRA ID: CPR-266

Change-Id: I8b51c806763eb67752a73f30a9157f803b97fa7f
Signed-off-by: Wooki Min <wooki.min@samsung.com>
5 years ago[COMMON]fimc-is2: update sensor setting according to new scenario
xff [Fri, 22 Feb 2019 04:58:14 +0000 (12:58 +0800)]
[COMMON]fimc-is2: update sensor setting according to new scenario

Change-Id: Ic5d1d96f2444356eb95f64c2663eca0f2a6d7465
Signed-off-by: xff <fangfang.xu@samsung.com>
5 years ago[COMMON] fimc-is2: Troika : fix ov sensor again error
xff [Thu, 21 Feb 2019 11:39:12 +0000 (19:39 +0800)]
[COMMON] fimc-is2: Troika : fix ov sensor again error

Change-Id: I360816222115b82515954ae8a20b039f2171440f
Signed-off-by: xff <fangfang.xu@samsung.com>
5 years ago[HACK][9610] fimc-is2: operate c2 disable to nonblocking when camera launching
Wooyeon Kim [Wed, 20 Feb 2019 04:22:58 +0000 (13:22 +0900)]
[HACK][9610] fimc-is2: operate c2 disable to nonblocking when camera launching

 - for reduce time for c2 disable when camera launching

 PR JIRA ID: CPR-719

Change-Id: Ifc40e2419954cac0d9347feb98fa0d48b63ea00c
Signed-off-by: Wooyeon Kim <wooy88.kim@samsung.com>
5 years ago[COMMON] fimc-is2: do not duplicate dw9839 actuator init
Wooyeon Kim [Wed, 20 Feb 2019 04:21:48 +0000 (13:21 +0900)]
[COMMON] fimc-is2: do not duplicate dw9839 actuator init

 - Due to not used a AF cal at actuator dw9839,
   skip second actuator init operation.

 PR JIRA ID: CPR-719

Change-Id: I4c7bedcfeb272266a9d9e85dbd35a5d1422f6504
Signed-off-by: Wooyeon Kim <wooy88.kim@samsung.com>