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>
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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>
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
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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
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
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
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
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
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
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
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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>
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>
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>
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>
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>
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>
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>
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>
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
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
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
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
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
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
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
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
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
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
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
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
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>
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>
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>
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>
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>
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>
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>
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>
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>
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
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