GitHub/MotorolaMobilityLLC/kernel-slsi.git
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>
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