GitHub/MotorolaMobilityLLC/kernel-slsi.git
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>
5 years ago[LV][RAMEN9610-12412][Robusta2][9610] usbpd : update s2mu106 drivers for compliance
Junhan Bae [Thu, 21 Feb 2019 09:15:46 +0000 (18:15 +0900)]
[LV][RAMEN9610-12412][Robusta2][9610] usbpd : update s2mu106 drivers for compliance

Moto CRs-fixed:(CR)

Change-Id: Iab613c6b9e742ea294b4cf8a3190d5327a203e9f
Signed-off-by: Junhan Bae <junhan84.bae@samsung.com>
Reviewed-on: https://gerrit.mot.com/1313804
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Lu Lu <lulu2@mt.com>
SME-Granted: Lu Lu <lulu2@mt.com>
Submit-Approved: Lu Lu <lulu2@mt.com>
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
5 years agosecure: tee log will be enabled via debug token
zhangh12 [Fri, 22 Feb 2019 09:03:04 +0000 (17:03 +0800)]
secure: tee log will be enabled via debug token

Change-Id: I85336d9b5e9a975c7742c2484e533ca5977a4014
Signed-off-by: zhangh12 <zhangh12@motorola.com>
Reviewed-on: https://gerrit.mot.com/1313150
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 agodts:turbo charger support
xuwei9 [Fri, 22 Feb 2019 06:47:06 +0000 (14:47 +0800)]
dts:turbo charger support

turbo charger support
normal dcp set curr to 2A

Change-Id: I9f10729d0232e906210cec9bc30a9afa61a637d7
Signed-off-by: xuwei9 <xuwei9@mt.com>
Reviewed-on: https://gerrit.mot.com/1313083
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 agokernel:turbo charger support
xuwei9 [Fri, 22 Feb 2019 06:50:53 +0000 (14:50 +0800)]
kernel:turbo charger support

turbo charger support
kernel code

Change-Id: Iee02d57987ba73a227007806e2a9a10ff73c5297
Signed-off-by: xuwei9 <xuwei9@mt.com>
Reviewed-on: https://gerrit.mot.com/1313086
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 agoarch/arm: sdcard enable uhs mode
dengwei1 [Fri, 22 Feb 2019 04:48:01 +0000 (12:48 +0800)]
arch/arm: sdcard enable uhs mode

this mode was removed on EVT due to hw issue.
now hw has fixed it and odm has tested it.

Change-Id: I1f25e267c2098ee112e05bf633ec10fab03402b1
Signed-off-by: dengwei1 <dengwei1@motorola.com>
Reviewed-on: https://gerrit.mot.com/1312967
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:add support for in-call music
yaozm1 [Thu, 21 Feb 2019 09:15:57 +0000 (17:15 +0800)]
asoc:add support for in-call music

This is a patch from samsung.
Part2 of the kernel change.

Change-Id: I00307845e62cc990a9869339c95dde36fef80b64
Signed-off-by: yaozm1 <yaozm1@mt.com>
Reviewed-on: https://gerrit.mot.com/1312481
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:Add support for in-call music play
yaozm1 [Thu, 21 Feb 2019 09:09:49 +0000 (17:09 +0800)]
arm/dts:Add support for in-call music play

This is a patch from Samsung.
Part1 for kernel change.

Change-Id: I9a7c09f1255d7f5ef1fa1de590136ab21e2cea2a
Signed-off-by: yaozm1 <yaozm1@mt.com>
Reviewed-on: https://gerrit.mot.com/1312480
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[9610] fimc-is2: set exposure val to 4 times when 24M remosaic capture mode in 2x5...
Dohyun Kim [Thu, 14 Feb 2019 10:37:47 +0000 (19:37 +0900)]
[9610] fimc-is2: set exposure val to 4 times when 24M remosaic capture mode in 2x5 sensor.

PR JIRA ID: CPR-718

CRs-fixed: (CR)

Change-Id: Ie11dfecbd74519e3b9718439f70e1edf736ad4fe
Signed-off-by: Dohyun Kim <dh5.kim@samsung.com>
Reviewed-on: https://gerrit.mot.com/1311753
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[9610][Robusta2] dtsi: camera: set internal vc offset
Wooyeon Kim [Mon, 18 Feb 2019 11:09:59 +0000 (20:09 +0900)]
[9610][Robusta2] dtsi: camera: set internal vc offset

 - buffer that related PDAF offset set to "1"

 PR JIRA ID: CPR-710

Change-Id: I85051838da238cd29d7fedcbc10611fbcfb4239f
Signed-off-by: Wooyeon Kim <wooy88.kim@samsung.com>
5 years ago[COMMON] fimc-is2: adjust internal vc dma offset by dtsi value
Wooyeon Kim [Mon, 18 Feb 2019 11:08:55 +0000 (20:08 +0900)]
[COMMON] fimc-is2: adjust internal vc dma offset by dtsi value

 - each internal vc value can differ for indexing
   so it need to set each other

 PR JIRA ID: CPR-710

Change-Id: I4d4253fda41101b490a8caaf114f5880547b0830
Signed-off-by: Wooyeon Kim <wooy88.kim@samsung.com>
5 years agoRevert "[COMMON] fimc-is2: add condition for flash S2MU106 initilize"
Wooyeon Kim [Tue, 19 Feb 2019 01:27:53 +0000 (10:27 +0900)]
Revert "[COMMON] fimc-is2: add condition for flash S2MU106 initilize"

This reverts commit 5e90c9d1b43945abac556eae216bfed8fccf57b5.

 PR JIRA ID: CPR-709

Change-Id: I630b6ad8482142a49068a7877be048685a609cd3
Signed-off-by: Wooyeon Kim <wooy88.kim@samsung.com>
5 years ago[COMMON] fimc-is2: fix wrong setting for pre_flash fire work
Wooyeon Kim [Mon, 18 Feb 2019 10:23:37 +0000 (19:23 +0900)]
[COMMON] fimc-is2: fix wrong setting for pre_flash fire work

 - wrong setting timing is fixed

 PR JIRA ID: CPR-709

Change-Id: I40bd6b0fe345a1dbefc24f29fcd93e2769ec3286
Signed-off-by: Wooyeon Kim <wooy88.kim@samsung.com>
5 years ago[9610] fimc-is2: fix coarse integration standard at 2x5sp sensor
Dohyun Kim [Mon, 18 Feb 2019 07:33:51 +0000 (16:33 +0900)]
[9610] fimc-is2: fix coarse integration standard at 2x5sp sensor

PR JIRA ID: CPR-700

Change-Id: I09323b3782866838380e954fccd4922fd1c9c182
Signed-off-by: Dohyun Kim <dh5.kim@samsung.com>
5 years agoRevert "[9610] fimc-is2: Reduce coarse_int time from 15 to 2"
Dohyun Kim [Mon, 18 Feb 2019 07:34:11 +0000 (16:34 +0900)]
Revert "[9610] fimc-is2: Reduce coarse_int time from 15 to 2"

PR JIRA ID: CPR-700

This reverts commit 0b95ad8972baaeba932d7382d4418e69498f42ae.

Change-Id: Ic7632f44570d4dc73e99663fc084b396cc4ba87b
Signed-off-by: Dohyun Kim <dh5.kim@samsung.com>
5 years ago[9610] fimc-is2: remove unpair release_lock at gm1sp cis
Dohyun Kim [Thu, 14 Feb 2019 08:12:49 +0000 (17:12 +0900)]
[9610] fimc-is2: remove unpair release_lock at gm1sp cis

PR JIRA ID: CPR-702

Change-Id: I9a7dde4d82c770e5fb0e91f9cd73e69cdf7bcb94
Signed-off-by: Dohyun Kim <dh5.kim@samsung.com>
5 years ago[9610] fimc-is2: modify sysreg Defenderault value that declared on dt
Dohyun Kim [Mon, 18 Feb 2019 05:57:40 +0000 (14:57 +0900)]
[9610] fimc-is2: modify sysreg Defenderault value that declared on dt

PR JIRA ID: CPR-708

Change-Id: Ie766b9a220fabf2896a11571cf3eda4adacd0b34
Signed-off-by: Dohyun Kim <dh5.kim@samsung.com>
5 years ago[9610] fimc-is2: add camif_mux_val for set Defenderault mux of csis, pafstat, dma
Dohyun Kim [Mon, 18 Feb 2019 05:56:46 +0000 (14:56 +0900)]
[9610] fimc-is2: add camif_mux_val for set Defenderault mux of csis, pafstat, dma

PR JIRA ID: CPR-708

Change-Id: Ib2a5eb430c01d3adaab8a740b0985a6cec28ddf2
Signed-off-by: Dohyun Kim <dh5.kim@samsung.com>
5 years ago[9610] arm64: dtsi: Fix fimc_is_sensor2 use only dma2 ch
Dohyun Kim [Mon, 18 Feb 2019 05:55:51 +0000 (14:55 +0900)]
[9610] arm64: dtsi: Fix fimc_is_sensor2 use only dma2 ch

PR JIRA ID: CPR-708

Change-Id: I50ef46c56e331b03652f0d6e9c2e92e23d6abec8
Signed-off-by: Dohyun Kim <dh5.kim@samsung.com>
5 years agorebase samsung Feb17
lingsen1 [Wed, 20 Feb 2019 07:48:38 +0000 (15:48 +0800)]
rebase samsung Feb17

Change-Id: I2a5f51a96460020c0c22fe74f3b3da3496f34207
Reviewed-on: https://gerrit.mot.com/1311648
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Submit-Approved: Lu Lu <lulu2@mt.com>
Reviewed-by: Guolin Wang <wanggl3@mt.com>
5 years agoTroika : Defenderconfig: change platform configs for Troika
sunyue5 [Wed, 20 Feb 2019 01:13:50 +0000 (09:13 +0800)]
Troika : Defenderconfig: change platform configs for Troika

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

5 years agochub: ipc: fix kernel panic by runtime error
Wen Xie [Tue, 19 Feb 2019 07:45:20 +0000 (15:45 +0800)]
chub: ipc: fix kernel panic by runtime error

Samsung patch:
fix kernel panic by runtime error.

Change-Id: I4f93bb680c570042e6c3a49b88e549b357edd063
Signed-off-by: Wen Xie <xiewen3@motorola.com>
Reviewed-on: https://gerrit.mot.com/1310433
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Yuchang Guo <guoyc1@mt.com>
Reviewed-by: Hua Tan <tanhua1@motorola.com>
Submit-Approved: Jira Key

5 years ago[9610] fimc-is2: provice ddk/setfile version by meta data
Dohyun Kim [Wed, 13 Feb 2019 09:30:20 +0000 (18:30 +0900)]
[9610] fimc-is2: provice ddk/setfile version by meta data

CRs-fixed: (CR)

Change-Id: Ief9726e78d4554fb12af1dd71c1fad63567b0931
Signed-off-by: Dohyun Kim <dh5.kim@samsung.com>
Reviewed-on: https://gerrit.mot.com/1310363
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 agokernel:thermal bat thermistor change
xuwei9 [Fri, 15 Feb 2019 13:25:10 +0000 (21:25 +0800)]
kernel:thermal bat thermistor change

use thermal temperature
as battery temp

Change-Id: I264cd804814cf46fbc4de4b257f64b12d625e0c4
Signed-off-by: xuwei9 <xuwei9@mt.com>
Reviewed-on: https://gerrit.mot.com/1310122
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 agowlbt: Enabling GSCAN in SLSI Wifi Driver.
sunyue5 [Mon, 18 Feb 2019 02:17:26 +0000 (10:17 +0800)]
wlbt: Enabling GSCAN in SLSI Wifi Driver.

GSCAN Request Id was not matching between HAL and driver which cause
GTS test failed.
Now We have fixed this issue on wifi HAL hence we enable GSCAN again

This reverts commit I304197b3fd7eb47a9e14f9a2121909be329689ae

Change-Id: If6dd67243c5d46c58a759fd2773832f430f28f10
Signed-off-by: sunyue5 <sunyue5@motorola.com>
Reviewed-on: https://gerrit.mot.com/1309930
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[Troika ][Camera]Bug fix - solve the problem that ov sensor can't change to preview...
xff [Fri, 15 Feb 2019 10:27:00 +0000 (18:27 +0800)]
[Troika ][Camera]Bug fix - solve the problem that ov sensor can't change to preview after pressing stop button when recording by CQATest apk

CRs-fixed: (CR)

Change-Id: Id83fc865f846c85a309f9156ac2fd6340543424e
Signed-off-by: xff <fangfang.xu@samsung.com>
Reviewed-on: https://gerrit.mot.com/1309957
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: set init low state for mclk of 5e9
Dohyun Kim [Fri, 15 Feb 2019 07:14:03 +0000 (16:14 +0900)]
[9610] fimc-is2: set init low state for mclk of 5e9

CRs-fixed: (CR)

Change-Id: Ia44ae8a9bf70afe1fddff940628c7f6250b894ad
Signed-off-by: Dohyun Kim <dh5.kim@samsung.com>
Reviewed-on: https://gerrit.mot.com/1309956
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 actuator init settings and sequence
wangdw10 [Fri, 15 Feb 2019 05:29:50 +0000 (13:29 +0800)]
[COMMON] fimc-is2: update actuator init settings and sequence

CRs-fixed: (CR)

Change-Id: I53ed099ee8032087584daf25776eef33aedf638a
Signed-off-by: wangdw10 <wangdw10@mt.com>
Reviewed-on: https://gerrit.mot.com/1309955
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 agokane: arm/dts: camera: update camera dtsi to fix AF issue
wangdw10 [Fri, 15 Feb 2019 05:28:38 +0000 (13:28 +0800)]
kane: arm/dts: camera: update camera dtsi to fix AF issue

- use 1MHz I2C clock
- use 2.8V for actuator

CRs-fixed: (CR)

Change-Id: I9b4d0936a4526f4cc7dafd5a9ebfe03f53611120
Signed-off-by: wangdw10 <wangdw10@mt.com>
Reviewed-on: https://gerrit.mot.com/1309954
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][HACK] fimc-is2: adjust a frequency of log at get_vc_dma_buf
Dohyun Kim [Tue, 12 Feb 2019 13:26:47 +0000 (22:26 +0900)]
[9610][HACK] fimc-is2: adjust a frequency of log at get_vc_dma_buf

this patch is debugGing patch for getting meaningful log by reduce frequency of error log

CRs-fixed: (CR)

Change-Id: I1cd4a03cf2e5779e9f5566a813e2162880d18d58
Signed-off-by: Dohyun Kim <dh5.kim@samsung.com>
Reviewed-on: https://gerrit.mot.com/1309953
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 agodtsi:turbo charger 3A current
xuwei9 [Fri, 15 Feb 2019 05:39:59 +0000 (13:39 +0800)]
dtsi:turbo charger 3A current

Turbo charger 3A
current setting

Change-Id: I5dbf45ce49d42dc7f2620b1cf19099fc0bf4763e
Signed-off-by: xuwei9 <xuwei9@mt.com>
Reviewed-on: https://gerrit.mot.com/1309257
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 agosensor: According to datasheet modify Sar Sensor Power
Wen Xie [Fri, 15 Feb 2019 05:19:21 +0000 (13:19 +0800)]
sensor: According to datasheet modify Sar Sensor Power

According to SX9331 datasheet:
One channel's current consumption is 27uA(Active states),
use five channels,so current consumption is 135uA(Active).

On the upper level,we virtual sar sensor into three sensors,
so set sensor power to 45uA.

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

5 years agoRevert "wlbt: Enabling GSCAN in SLSI Wifi Driver."
sunyue5 [Fri, 15 Feb 2019 02:41:45 +0000 (10:41 +0800)]
Revert "wlbt: Enabling GSCAN in SLSI Wifi Driver."

Enable GSCAN would cause GTS case testWifiScannerBatchTimestamp
failed. Disable GSCAN temporarily.

Change-Id: I304197b3fd7eb47a9e14f9a2121909be329689ae
Signed-off-by: sunyue5 <sunyue5@motorola.com>
Reviewed-on: https://gerrit.mot.com/1309205
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 agokane: input add ic_ver file for himax touch
dengwei1 [Thu, 14 Feb 2019 06:18:48 +0000 (14:18 +0800)]
kane: input add ic_ver file for himax touch

input add ic_ver file for himax touch
to support hwprop

Change-Id: I8f5e1a8f885aaf1150c59d93cbe37c0845722b4d
Signed-off-by: dengwei1 <dengwei1@motorola.com>
Reviewed-on: https://gerrit.mot.com/1308672
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: set frame_count in VRA_shot
Eunyoung Lee [Thu, 24 Jan 2019 12:26:31 +0000 (21:26 +0900)]
[COMMON] fimc-is2: set frame_count in VRA_shot

PR JIRA ID : CPR-629

Change-Id: Ifeaf18abcfd66d3bff7be34a1a49ceeb37715762
Signed-off-by: Eunyoung Lee <ey470.lee@samsung.com>
5 years ago[9610] fimc-is2: add 5e9 throttling mode
Wooyeon Kim [Fri, 1 Feb 2019 05:08:52 +0000 (14:08 +0900)]
[9610] fimc-is2: add 5e9 throttling mode

Change-Id: Ie02eb19346682dc1059dd03360eb973442691ac7
Signed-off-by: Wooyeon Kim <wooy88.kim@samsung.com>
5 years ago[9610] fimc-is2: add 2x5sp throttling mode
Wooyeon Kim [Fri, 1 Feb 2019 05:08:23 +0000 (14:08 +0900)]
[9610] fimc-is2: add 2x5sp throttling mode

Change-Id: I5adfbc0500df075d55ade3ba3fe7dab243a99651
Signed-off-by: Wooyeon Kim <wooy88.kim@samsung.com>
5 years ago[9610] fimc-is2: add gm1 throttling mode
Wooyeon Kim [Fri, 1 Feb 2019 04:09:24 +0000 (13:09 +0900)]
[9610] fimc-is2: add gm1 throttling mode

Change-Id: I6ed065b60517f1951a1051f326743a70add1349d
Signed-off-by: Wooyeon Kim <wooy88.kim@samsung.com>
5 years ago[COMMON] fimc-is2: add thermal throttling cis mode interface
Wooyeon Kim [Fri, 1 Feb 2019 02:08:10 +0000 (11:08 +0900)]
[COMMON] fimc-is2: add thermal throttling cis mode interface

 - for operate low mipi speed at thermal throttling state

Change-Id: Iddb80467fc7bccafe1e265d7b3d37103be3debb6
Signed-off-by: Wooyeon Kim <wooy88.kim@samsung.com>
5 years ago[9610] fimc-is2: Reduce coarse_int time from 15 to 2
Dohyun Kim [Fri, 8 Feb 2019 01:58:32 +0000 (10:58 +0900)]
[9610] fimc-is2: Reduce coarse_int time from 15 to 2

PR JIRA ID: CPR-657

Change-Id: I646c1a56b94747dbafe46979b4770321a503fffb
Signed-off-by: Dohyun Kim <dh5.kim@samsung.com>
5 years ago[COMMON] fimc-is2: get exposure value always from RTA
Wooyeon Kim [Fri, 25 Jan 2019 12:04:17 +0000 (21:04 +0900)]
[COMMON] fimc-is2: get exposure value always from RTA

 - copy control value is not used,
   only get exposure value to "request_exposure() from RTA

PR JIRA ID: CPR-657

Change-Id: If9d2940df5b065b684e30ae5fa363c869ee5f8d0
Signed-off-by: Wooyeon Kim <wooy88.kim@samsung.com>
5 years ago[COMMON] fimc-is2: update ois bu24218gwl settings
libm1 [Sat, 2 Feb 2019 03:15:04 +0000 (11:15 +0800)]
[COMMON] fimc-is2: update ois bu24218gwl settings

Update FW ver 1.3 to 1.5 support

Change-Id: Id11594dc17b59e1f17c03ad4e529906a4dceda61
Signed-off-by: libm1 <libm1@mt.com>
5 years agomodify backlight chip configration for black screen
tanhua1 [Wed, 13 Feb 2019 11:57:37 +0000 (19:57 +0800)]
modify backlight chip configration for black screen

Modify Backlight driver PWM hysteresis from 4LSBs to 3LSBs.
Fix the backlight can not be turned on after resume.

Change-Id: I8cfbc450f9920085ccdd79c42fa949a0369ea99d
Signed-off-by: xingbin <xingbin@huaqin.com>
Reviewed-on: https://gerrit.mot.com/1308605
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 agodtsi: Troika 2A DCP support
xuwei9 [Wed, 13 Feb 2019 08:26:52 +0000 (16:26 +0800)]
dtsi: Troika  2A DCP support

Troika  support 2A DCP
charGing current

Change-Id: Ia2c2a1f45c1b7426d28aaa04ff5574f3cbf908b7
Signed-off-by: xuwei9 <xuwei9@mt.com>
Reviewed-on: https://gerrit.mot.com/1308171
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: ipc: fix ipc loss issue with ipc_read timeout
guoyc1 [Thu, 7 Feb 2019 13:15:34 +0000 (22:15 +0900)]
chub: ipc: fix ipc loss issue with ipc_read timeout

fix ipc loss issue with ipc_read timeout.
this change is prereleased by samsung.

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

5 years agochub: Report chub issue to dropbox
Wen Xie [Tue, 12 Feb 2019 08:44:27 +0000 (16:44 +0800)]
chub: Report chub issue to dropbox

Report chub issue to dropbox, please note that when bug2go receive it,
dump files may not exist for dumpping action is executed by sensors hal.

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

5 years agof_mtp:Remove the unneccessary QCOM changes
a17671 [Tue, 12 Feb 2019 06:28:45 +0000 (14:28 +0800)]
f_mtp:Remove the unneccessary QCOM changes

QCOM mtp only allow one mtp instance at a time
While Samsung needs to have both mtp and ptp instances
Remove the unneccessary QCOM code

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

5 years agodts: fix CtsAccessibilityGestureDectector issue.
tanhua1 [Mon, 11 Feb 2019 06:39:47 +0000 (14:39 +0800)]
dts: fix CtsAccessibilityGestureDectector issue.

fix CTS case: android.accessibilityservice.cts.
AccessibilityGestureDetectorTest#testRecognizeGesturePath

Change-Id: Id6ea0ffb7f20a6ac7bff03443d6d6f47e05fb862
Signed-off-by: tanhua1 <tanhua1@mt.com>
Reviewed-on: https://gerrit.mot.com/1307158
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: Add channel-id mapping table.
Marcos Costa [Tue, 22 Jan 2019 07:48:56 +0000 (05:48 -0200)]
arm/dts: Add channel-id mapping table.

'carrier-channel-ids.dtsi' copied from bp-shm2018
branch on 01/22/2019.

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

5 years agof_fs.c:Pick up QCOM fixes for adb stability issue
a17671 [Sun, 3 Feb 2019 06:25:20 +0000 (14:25 +0800)]
f_fs.c:Pick up QCOM fixes for adb stability issue

USB: gagget: f_fs: Return error if TX req is queued during device offline

    when USB cable is disconnected during TX data transfers, endpoints will
    be disabled during function disable. If userspace client tries to queue
    requests on disabled endpoints, driver will wait till endpoints are
    enabled and then queues previous session requests. This results in kernel
    driver and userspace driver out of sync and due to this, stall will be
    seen. Hence fix this issue by returning error value if client tries to
    queue requests on TX endpoint during device offline.

    CRs-Fixed: 633497
    Change-Id: I3e43b8a704367aff7fe8dd88159315aef811c51c
Signed-off-by: Vijayavardhan Vennapusa <vvreddy@codeaurora.org>
Signed-off-by: Mayank Rana <mrana@codeaurora.org>
USB: f_fs: Check error status before doing epfile I/O

    Set error status before disabling endpoint during function
    disable and also check error status before handling I/O. If error
    status is set, return error status to read/write calls made by
    userspace. Also set file's private data to NULL during epfile
    release.

    CRs-Fixed: 671880
    Change-Id: I14b5ee541dfc18a7802ef4a8033878a7729d9adb
Signed-off-by: Vijayavardhan Vennapusa <vvreddy@codeaurora.org>
USB: f_fs: Add memory barrier before atomic operations

    In few instances, it is observed that multiple adbd instances are
    running on device causing condition BUG_ON(ffs->gadget) to be true.
    ffs->opened and ffs->ref atomic variables are used here to make
    decision for checking ffs->gadget. These atomic variable operations
    requires expilict memory barrier to make sure that update to
    ffs->gadget is visible to other CPUs before updated atomic variable
    based value is seen. This change also adds explicit memory barriers
    before reading or modified any atomic varaiables.

    CRs-Fixed: 793733
    Change-Id: I3c846eb6bbb53663892e05d51ebac8439aac957a
Signed-off-by: Mayank Rana <mrana@codeaurora.org>
Change-Id: I48389d8d922e30aeb1215207ba138e36799df250
Signed-off-by: a17671 <a17671@motorola.com>
Reviewed-on: https://gerrit.mot.com/1304658
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 agof_mtp:Increase the MTP buffer request buffer size
a17671 [Sat, 2 Feb 2019 02:33:27 +0000 (10:33 +0800)]
f_mtp:Increase the MTP buffer request buffer size

Increase the MTP buffer request size
To improve the throughput rate

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

5 years agodts:charger parameter update
xuwei9 [Sat, 2 Feb 2019 07:44:56 +0000 (15:44 +0800)]
dts:charger parameter update

charger paramter
update

Change-Id: I4b801b4653c5e2d1337619cd58b4521e4385141f
Signed-off-by: xuwei9 <xuwei9@mt.com>
Reviewed-on: https://gerrit.mot.com/1304589
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:update charger parameter
xuwei9 [Sat, 2 Feb 2019 07:47:35 +0000 (15:47 +0800)]
kernel:update charger parameter

update charger
parameter

Change-Id: I5423f2263a14eb086da07655b5f64c9a56aed55f
Signed-off-by: xuwei9 <xuwei9@mt.com>
Reviewed-on: https://gerrit.mot.com/1304590
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 agokane: arm/dts: change I2C clock to 400KHz as AF issue
wangdw10 [Sat, 2 Feb 2019 02:46:28 +0000 (10:46 +0800)]
kane: arm/dts: change I2C clock to 400KHz as AF issue

this is a temp change

CRs-fixed: (CR)

Change-Id: I2148117f9efaa12d950f17cccece5868fa05fb5b
Signed-off-by: wangdw10 <wangdw10@mt.com>
Reviewed-on: https://gerrit.mot.com/1304533
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 : update cis driver
wangdw10 [Fri, 1 Feb 2019 09:48:05 +0000 (17:48 +0800)]
[COMMON] fimc-is2: Troika : update cis driver

- fix flicker issue by update pclk
- fix gain apply issue
- use 1x digital gain

Change-Id: Ia629d5ed97c61f488b084ba542f2d3b6951a88e6
Signed-off-by: wangdw10 <wangdw10@mt.com>
5 years ago[COMMON] fimc-is2: implement Fast AF Triggering for decrease AF control delay
Wooyeon Kim [Wed, 30 Jan 2019 07:07:45 +0000 (16:07 +0900)]
[COMMON] fimc-is2: implement Fast AF Triggering for decrease AF control delay

 - copy afMode & afTrigger at only CONTINUOUS mode & trigger start
   when qbuf frame, copy queued frame

Change-Id: I5f5bffbfa659b6ddf027338937404b8add3a718c
Signed-off-by: Wooyeon Kim <wooy88.kim@samsung.com>
5 years ago[9610] fimc-is2: enabled FAST AF Trigger option
Wooyeon Kim [Wed, 30 Jan 2019 11:05:35 +0000 (20:05 +0900)]
[9610] fimc-is2: enabled FAST AF Trigger option

Change-Id: Ibce8f5f5f3d140f67bedfa27f44934058c70a097
Signed-off-by: Wooyeon Kim <wooy88.kim@samsung.com>
5 years ago[9610] fimc-is2: use intensity value by LED ratio at pre-flash
Dohyun Kim [Thu, 31 Jan 2019 06:53:10 +0000 (15:53 +0900)]
[9610] fimc-is2: use intensity value by LED ratio at pre-flash

Change-Id: I994ab7b149ef660aa7a5cba62efe20551d858e6a
Signed-off-by: Dohyun Kim <dh5.kim@samsung.com>
5 years ago[9610][Robusta2] dtsi: camera: increase front Defenderault preview MIF level
Wooyeon Kim [Thu, 31 Jan 2019 09:00:22 +0000 (18:00 +0900)]
[9610][Robusta2] dtsi: camera: increase front Defenderault preview MIF level

 - L5 -> L3 increased for BDS 1/2, 24MP sensor mode scenario

 PR JIRA ID: CPR-655

Change-Id: I8e0c2fe6d4fb81554ac55bc02a77a9618ead033f
Signed-off-by: Wooyeon Kim <wooy88.kim@samsung.com>
5 years ago[9610] fimc-is2: add function to deliver led_cal data to DDK
Dohyun Kim [Tue, 29 Jan 2019 08:29:09 +0000 (17:29 +0900)]
[9610] fimc-is2: add function to deliver led_cal data to DDK

PR JIRA ID: CPR-643

Change-Id: I284d252b6bafe6c2368f47e0622e9b86159c575c
Signed-off-by: Dohyun Kim <dh5.kim@samsung.com>
5 years ago[9610] fimc-is2: use USE_PRE_FLASH_FIRE_WORK option
Wooyeon Kim [Wed, 30 Jan 2019 07:35:55 +0000 (16:35 +0900)]
[9610] fimc-is2: use USE_PRE_FLASH_FIRE_WORK option

 - use pre flash fire work for process non-blocking at AA task

 PR JIRA ID: CPR-645

Change-Id: Icade87accdb81d58f6d5e2e5a17b64720a19a90c
Signed-off-by: Wooyeon Kim <wooy88.kim@samsung.com>
5 years ago[COMMON] fimc-is2: add work for pre-flash fire non-blocking option
Wooyeon Kim [Wed, 30 Jan 2019 02:18:48 +0000 (11:18 +0900)]
[COMMON] fimc-is2: add work for pre-flash fire non-blocking option

 - when pre_flash fire has some times, it affected a AA task.
   so it processed to operate non-blocking

 PR JIRA ID: CPR-645

Change-Id: I50e913cd8d1ac69e1a4d704b462849e4a33242d3
Signed-off-by: Wooyeon Kim <wooy88.kim@samsung.com>
5 years ago[COMMON] fimc-is2: divided AA/AF task athene
Wooyeon Kim [Wed, 30 Jan 2019 02:17:50 +0000 (11:17 +0900)]
[COMMON] fimc-is2: divided AA/AF task athene

 - for use other core for AA/AF task
   set AA task to OTF task number

 PR JIRA ID: CPR-645

Change-Id: If74929c263601092d487c12f99b94cb3781acc28
Signed-off-by: Wooyeon Kim <wooy88.kim@samsung.com>
5 years agof_mtp:Fix ptp kernel panic in factory mode
a17671 [Fri, 1 Feb 2019 05:19:09 +0000 (13:19 +0800)]
f_mtp:Fix ptp kernel panic in factory mode

cdev could be null in the switching
PTP case, check the state before reading
To fix the panic issue

Change-Id: I30471023a72457854140ae867ed3977fba834dc0
Signed-off-by: a17671 <a17671@motorola.com>
Reviewed-on: https://gerrit.mot.com/1303922
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 agoconfig: enable tee debug on debug build.
zhangh12 [Thu, 31 Jan 2019 10:13:52 +0000 (18:13 +0800)]
config: enable tee debug on debug build.

Change-Id: Ie36d8625f933d6ba0caeeae678e29867d881144d
Signed-off-by: zhangh12 <zhangh12@motorola.com>
Reviewed-on: https://gerrit.mot.com/1303580
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 agokernel:aw8695 rtp vibrate feature
xuwei9 [Thu, 31 Jan 2019 05:56:55 +0000 (13:56 +0800)]
kernel:aw8695 rtp vibrate feature

aw8695 rtp vibrate feature
wave id

Change-Id: Ibcba4333774d32dee00be56c336e072b829862f8
Signed-off-by: xuwei9 <xuwei9@mt.com>
Reviewed-on: https://gerrit.mot.com/1303448
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: Troika : add camera support
wangdw10 [Thu, 31 Jan 2019 01:36:44 +0000 (09:36 +0800)]
[COMMON] fimc-is2: Troika : add camera support

- add 12a10/12a10ff/16885c cis driver
- add 12a10/12a10ff/16885c device driver
- update 5e9 power sequence
- enable fimc-is-sensor3

Change-Id: I87510f3ac4f00b74a90241132e97e8b95a030d16
Signed-off-by: wangdw10 <wangdw10@mt.com>
Reviewed-on: https://gerrit.mot.com/1303364
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 agoTroika : Defenderconfig: add camera support
wangdw10 [Thu, 31 Jan 2019 01:35:56 +0000 (09:35 +0800)]
Troika : Defenderconfig: add camera support

enable camera for Troika  project

Change-Id: I33d4aa499e4e3e8806b4a4e53c00d252245b09eb
Signed-off-by: wangdw10 <wangdw10@mt.com>
Reviewed-on: https://gerrit.mot.com/1303363
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 agoTroika : arm/dts: add camera config for Troika
wangdw10 [Thu, 31 Jan 2019 01:35:07 +0000 (09:35 +0800)]
Troika : arm/dts: add camera config for Troika

use different dtsi file for kane and Troika

Change-Id: I34788fbb0bbc1da6736b2d75233d49147ffbe536
Signed-off-by: wangdw10 <wangdw10@mt.com>
Reviewed-on: https://gerrit.mot.com/1303362
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[9610] fimc-is2: if flash current value is zero, it is need to skip
Dohyun Kim [Mon, 14 Jan 2019 06:51:32 +0000 (15:51 +0900)]
[9610] fimc-is2: if flash current value is zero, it is need to skip

PR JIRA ID: CPR-583

CRs-fixed: (CR)

Change-Id: Icf4d855574acee8d42e58d46e0b74084dc5d39a4
Signed-off-by: Dohyun Kim <dh5.kim@samsung.com>
Reviewed-on: https://gerrit.mot.com/1303361
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: modify flash fire API parameters
samsung3 [Wed, 16 Jan 2019 09:01:15 +0000 (17:01 +0800)]
[COMMON] fimc-is2: modify flash fire API parameters

 - as dual flash announced, intensity 0 also can used
   so, fimc_is_sensor_flash_fire() api parameters changed "on" to "intensity"

PR JIRA ID: CPR-583

CRs-fixed: (CR)

Change-Id: Ibd7d50c0217b76bc0db1ef2dcd13cd495066a051
Signed-off-by: samsung3 <wooy88.kim@samsung.com>
Reviewed-on: https://gerrit.mot.com/1303360
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: distinguished GM1 setting with gyro or w/o gyro
Wooyeon Kim [Sat, 26 Jan 2019 04:48:51 +0000 (13:48 +0900)]
[COMMON] fimc-is2: distinguished GM1 setting with gyro or w/o gyro

 - Defenderault setting - w/o gyro
 - for gyro self test -> use w/ gyro setting

 PR JIRA ID: CPR-640

CRs-fixed: (CR)

Change-Id: I3aab37439a6406f0909a44a01d9a6efd47781da2
Signed-off-by: Wooyeon Kim <wooy88.kim@samsung.com>
Reviewed-on: https://gerrit.mot.com/1303359
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 agokane: arm/dts: camera: update camera I2C clock and AF voltage
wangdw10 [Wed, 30 Jan 2019 08:22:59 +0000 (16:22 +0800)]
kane: arm/dts: camera: update camera I2C clock and AF voltage

I2C: 1MHz, Voltage: 2.7V to fix AF fail issue

Moto CRs-fixed:(CR)

Change-Id: I42585a588899a1dcd6bda7b437542437e8279905
Signed-off-by: wangdw10 <wangdw10@mt.com>
Reviewed-on: https://gerrit.mot.com/1303008
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Hua Tan <tanhua1@motorola.com>
SME-Granted: Sen Ling <lingsen1@mt.com>
Submit-Approved: Lu Lu <lulu2@mt.com>

5 years agokane: arm/dts: use 400KHz I2C for rear camera
wangdw10 [Tue, 29 Jan 2019 07:00:38 +0000 (15:00 +0800)]
kane: arm/dts: use 400KHz I2C for rear camera

Moto CRs-fixed:(CR)

Change-Id: I9cc2567e55a7f5359f7b0ff6cbf10dd2124673fe
Signed-off-by: wangdw10 <wangdw10@mt.com>
Reviewed-on: https://gerrit.mot.com/1303007
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Hua Tan <tanhua1@motorola.com>
SME-Granted: Sen Ling <lingsen1@mt.com>
Reviewed-by: Sen Ling <lingsen1@mt.com>
Submit-Approved: Lu Lu <lulu2@mt.com>

5 years agoMadera-core:Add hard reset as part of resume
yaozm1 [Wed, 30 Jan 2019 03:07:31 +0000 (11:07 +0800)]
Madera-core:Add hard reset as part of resume

This is a patch from cirrus.
Do hard reset first instead of softreset

Change-Id: I2e39289a70f6ba1ee3f1e5f61cbb4611eb06a4d2
Signed-off-by: yaozm1 <yaozm1@mt.com>
Reviewed-on: https://gerrit.mot.com/1302929
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 agoclean the kernel configs and include samsung user kernel config by Defenderault
huangzq2 [Tue, 29 Jan 2019 13:38:58 +0000 (21:38 +0800)]
clean the kernel configs and include samsung user kernel config by Defenderault

Change-Id: Iacca1f4961ccc0485f5b8721555f7fd922077c77
Signed-off-by: huangzq2 <huangzq2@motorola.com>
Reviewed-on: https://gerrit.mot.com/1302631
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[chub]prevent copying ack signal into event packet
guoyc1 [Mon, 28 Jan 2019 09:24:16 +0000 (18:24 +0900)]
[chub]prevent copying ack signal into event packet

prevent copying ack signal into event packet.
This is prerelease change from samsung.

Change-Id: I04a9b94b1cd7e934e0d13a739753eca1236f65db
Signed-off-by: Sukwon Ryoo <sw.ryoo@samsung.com>
Reviewed-on: https://gerrit.mot.com/1302521
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Yuchang Guo <guoyc1@mt.com>
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key

5 years agochange irq allocation scheme from round robin to scan
guoyc1 [Mon, 28 Jan 2019 01:50:28 +0000 (10:50 +0900)]
change irq allocation scheme from round robin to scan

chub: ipc: change irq allocation scheme from round robin to scan.
This is prerelease change from samsung

Change-Id: I5f66c936aa7bf482dd6b58e1fdfd73a131b7f365
Signed-off-by: Boojin Kim <boojin.kim@samsung.com>
Reviewed-on: https://gerrit.mot.com/1302520
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
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[RAMEN9610-11174] chub: runtimelog supports newline
guoyc1 [Thu, 17 Jan 2019 15:20:22 +0000 (00:20 +0900)]
[RAMEN9610-11174] chub: runtimelog supports newline

Runtimelog supports newline.
OriGinal id: RAMEN9610-11174

Change-Id: I89bd8cf65e36c3cc3786b840c4dd6e9e77f968d3
Signed-off-by: Boojin Kim <boojin.kim@samsung.com>
Reviewed-on: https://gerrit.mot.com/1302519
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
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[COMMON] fimc-is2: move shot timeout tick timing
Wooyeon Kim [Sat, 26 Jan 2019 07:08:37 +0000 (16:08 +0900)]
[COMMON] fimc-is2: move shot timeout tick timing

 PR JIRA ID: CPR-626

Change-Id: I3b5ebea5784b2418e36d064d2991d05cc5ad44d4
Signed-off-by: Wooyeon Kim <wooy88.kim@samsung.com>
5 years ago[COMMON] fimc-is2: fix wrong refer variable for lte work
Wooyeon Kim [Sat, 26 Jan 2019 03:58:21 +0000 (12:58 +0900)]
[COMMON] fimc-is2: fix wrong refer variable for lte work

 - wrong operation occured at front LTE work

 PR JIRA ID: CPR-626

Change-Id: Ieb4d9870475a0f90f67712ca51660744b45d0ccf
Signed-off-by: Wooyeon Kim <wooy88.kim@samsung.com>
5 years ago[COMMON] fimc-is2: fix some wrong print of DW9839 actual position
Wooyeon Kim [Fri, 25 Jan 2019 07:20:38 +0000 (16:20 +0900)]
[COMMON] fimc-is2: fix some wrong print of DW9839 actual position

 - if ADC_MSB register is read wrong, wrong actual position is caculated

 PR JIRA ID: CPR-624

Change-Id: Ib9c0e94729cc08f005df1297a8a0b9f414c4faee
Signed-off-by: Wooyeon Kim <wooy88.kim@samsung.com>
5 years ago[COMMON] fimc-is2: fix wrong coarse int time at 2X5SP 4DSUM mode
Wooyeon Kim [Thu, 24 Jan 2019 09:17:11 +0000 (18:17 +0900)]
[COMMON] fimc-is2: fix wrong coarse int time at 2X5SP 4DSUM mode

 PR JIRA ID: CPR-619

Change-Id: I28684d662228cf0770e0a52451b811174d3ab006
Signed-off-by: Wooyeon Kim <wooy88.kim@samsung.com>
5 years ago[COMMON] fimc-is2: add condition for flash S2MU106 initilize
Wooyeon Kim [Thu, 24 Jan 2019 09:59:25 +0000 (18:59 +0900)]
[COMMON] fimc-is2: add condition for flash S2MU106 initilize

 - when flash init, if flash is turned on, do off

 PR JIRA ID: CPR-618

Change-Id: I58aa9d8e39dc526a172b9f4f0ae658b992c4d9f6
Signed-off-by: Wooyeon Kim <wooy88.kim@samsung.com>
5 years ago[COMMON] fimc-is2: wait finish ois init work when module_deinit
Wooyeon Kim [Thu, 24 Jan 2019 06:02:28 +0000 (15:02 +0900)]
[COMMON] fimc-is2: wait finish ois init work when module_deinit

 PR JIRA ID: CPR-618

Change-Id: Icde3cfc6a7ce580129a8c24d41081dcc0df52884
Signed-off-by: Wooyeon Kim <wooy88.kim@samsung.com>
5 years ago[COMMON] fimc-is2: modify OIS bu24218gwl i2c lock
Wooyeon Kim [Thu, 24 Jan 2019 00:12:45 +0000 (09:12 +0900)]
[COMMON] fimc-is2: modify OIS bu24218gwl i2c lock

 - do not use lock at wait time
   (for other i2c client use)

 PR JIRA ID: CPR-618

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