GitHub/MotorolaMobilityLLC/kernel-slsi.git
4 years ago[9610] fimc-is2: Buffer modification in case of otp data error at 2x5 module MMI-PSAS29.137-16-2 MMI-PSAS29.137-16-4
Dohyun Kim [Thu, 16 May 2019 08:52:49 +0000 (17:52 +0900)]
[9610] fimc-is2: Buffer modification in case of otp data error at 2x5 module

CRs-fixed: (CR)

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

4 years ago[9610] fimc-is2: add otp data set function
Dohyun Kim [Thu, 16 May 2019 08:53:29 +0000 (17:53 +0900)]
[9610] fimc-is2: add otp data set function

CRs-fixed: (CR)

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

4 years agoAllow set single channel for ACS
sunyue5 [Tue, 21 May 2019 06:35:00 +0000 (14:35 +0800)]
Allow set single channel for ACS

Moto uses vendor.wifi.certchannel to set single channel
for ACS

Change-Id: I6990b132d972f4a0bc2d4901b0c9e38cd5956d84
Signed-off-by: sunyue5 <sunyue5@motorola.com>
Reviewed-on: https://gerrit.mot.com/1358073
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Hua Tan <tanhua1@motorola.com>
Submit-Approved: Jira Key

4 years agoUsing spinlock to protect interrupt flag
Yan Zhang [Tue, 21 May 2019 05:36:11 +0000 (13:36 +0800)]
Using spinlock to protect  interrupt flag

Using spinlock to protect interrupt flag in critical section.

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

4 years agoext_config:Enable USB_RTL8152
a17671 [Tue, 14 May 2019 06:40:36 +0000 (14:40 +0800)]
ext_config:Enable USB_RTL8152

Add support for RTL8152
For USB ethernet dongle

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

4 years agoExtcon:Don't report lineout device if mic detected
yaozm1 [Thu, 16 May 2019 02:55:04 +0000 (10:55 +0800)]
Extcon:Don't report lineout device if mic detected

We see some case device with mic reported high
impedance, and reported as un-expected lineout.

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

4 years ago[Prelease][COMMON] drivers: charger: add IVR isr for input curr. control
Keunho Hwang [Mon, 13 May 2019 05:15:31 +0000 (05:15 +0000)]
[Prelease][COMMON] drivers: charger: add IVR isr for input curr. control

Change-Id: I5cce369c57129b6153063bbc0da0a1f088664753
Signed-off-by: Keunho Hwang <keunho.hwang@samsung.com>
4 years ago[RAMEN9610-15140] [COMMON][(CR)] modify wakeup time when driver receive packet.
Jiyoung Jeong [Wed, 15 May 2019 05:34:30 +0000 (14:34 +0900)]
[RAMEN9610-15140] [COMMON][(CR)] modify wakeup time when driver receive packet.

Change-Id: I397f744364afc7d9d6b66ca5029bddbd06c43dbb
Signed-off-by: Jiyoung Jeong <ji_0.jeong@samsung.com>
4 years agokernel:XiaoMi portable charger fail
xuwei9 [Thu, 16 May 2019 06:49:08 +0000 (14:49 +0800)]
kernel:XiaoMi portable charger fail

Samsung pre-release for XiaoMi portable

charger fail at battery low.

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

4 years ago[COMMON] fimc-is2: kane: OTP file permission change
libm1 [Wed, 15 May 2019 11:26:08 +0000 (19:26 +0800)]
[COMMON] fimc-is2: kane: OTP file permission change

CRs-fixed: (CR)

Change-Id: I352362da7ca14bb2dab519322deb61d2b8ed17e2
Signed-off-by: libm1 <libm1@mt.com>
Reviewed-on: https://gerrit.mot.com/1354841
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

4 years ago[COMMON] fimc-is2: kane: eeprom loading sequence optimize
libm1 [Mon, 13 May 2019 07:43:23 +0000 (15:43 +0800)]
[COMMON] fimc-is2: kane: eeprom loading sequence optimize

CRs-fixed: (CR)

Change-Id: Id5a42a30418303e80b0f7b225a4b439617b32ce3
Signed-off-by: libm1 <libm1@mt.com>
Reviewed-on: https://gerrit.mot.com/1353006
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
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

4 years ago[COMMON] fimc-is2: Fix logic error when CRC fail
libm1 [Fri, 10 May 2019 07:05:42 +0000 (15:05 +0800)]
[COMMON] fimc-is2: Fix logic error when CRC fail

There is a logic error which blocked setting the fail eeprom section value to FF

CRs-fixed: (CR)

Change-Id: I8b8fe7206062e2b409bca4f60c845238ac16c775
Signed-off-by: libm1 <libm1@mt.com>
Reviewed-on: https://gerrit.mot.com/1352018
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

4 years agoRevert "[RAMEN9610-13801] gpu: b_r16p0: Android Q support"
lingsen1 [Thu, 16 May 2019 02:18:19 +0000 (10:18 +0800)]
Revert "[RAMEN9610-13801] gpu: b_r16p0: Android Q support"

This reverts commit 5cc086b34bbcab04dc58619ed57e93958c4b155a.

4 years agoRevert "[RAMEN9610-13801] gpu: r16p0: allow choosing r16p0 for Android Q"
lingsen1 [Thu, 16 May 2019 02:18:17 +0000 (10:18 +0800)]
Revert "[RAMEN9610-13801] gpu: r16p0: allow choosing r16p0 for Android Q"

This reverts commit 27a061900258530f75cc4390e1b5637610e466cf.

4 years agoRevert "[RAMEN9610-13801] new defconfig for Android Q"
lingsen1 [Thu, 16 May 2019 02:18:14 +0000 (10:18 +0800)]
Revert "[RAMEN9610-13801] new defconfig for Android Q"

This reverts commit 4066889e55fc191ef04cd2bd1b8f3b5884842977.

4 years agoRevert "[RAMEN9610-13801] defconfig: Disable nanohub for Android Q defconfig"
lingsen1 [Thu, 16 May 2019 02:18:11 +0000 (10:18 +0800)]
Revert "[RAMEN9610-13801] defconfig: Disable nanohub for Android Q defconfig"

This reverts commit 37a79798604dbb2345c197a067b470a7ee15175a.

4 years agoRevert "[RAMEN9610-13993] arm64: dts: change selinux mode param location"
lingsen1 [Thu, 16 May 2019 02:18:08 +0000 (10:18 +0800)]
Revert "[RAMEN9610-13993] arm64: dts: change selinux mode param location"

This reverts commit 4ce583f397b95e4a67a6179734f7c31cd22b2abf.

4 years agoRevert "[RAMEN9610-13993] arm64: config: set selinux enforce mode (android Q)"
lingsen1 [Thu, 16 May 2019 02:18:05 +0000 (10:18 +0800)]
Revert "[RAMEN9610-13993] arm64: config: set selinux enforce mode (android Q)"

This reverts commit 836e0e44c890f05af6dda17b5635db155dd21b4a.

4 years agoRevert "[RAMEN9610-14519] Add config for support erd9610_Q_defconfig"
lingsen1 [Thu, 16 May 2019 02:18:02 +0000 (10:18 +0800)]
Revert "[RAMEN9610-14519] Add config for support erd9610_Q_defconfig"

This reverts commit daec072ac7833a44a430a22c333309f1be6e3947.

4 years agoRevert "[RAMEN9610-14770] wlbt: .gitignore: ignore files generated during Q build"
lingsen1 [Thu, 16 May 2019 02:17:59 +0000 (10:17 +0800)]
Revert "[RAMEN9610-14770] wlbt: .gitignore: ignore files generated during Q build"

This reverts commit ce31853b99ea240950387bb56bfa6e0756ef2737.

4 years agoRevert "[RAMEN9610-14970] fs: support FS_ENCRYPTION_MODE_PRIVATE for fmp"
lingsen1 [Thu, 16 May 2019 02:17:55 +0000 (10:17 +0800)]
Revert "[RAMEN9610-14970] fs: support FS_ENCRYPTION_MODE_PRIVATE for fmp"

This reverts commit 6a5ade1f6604c5a325c86ef72f5330bc804a0c99.

4 years ago[RAMEN9610-15074] [COMMON] mmc: dw_mmc: sdcard power off when to card detect.
duk hyun kwon [Thu, 9 May 2019 08:39:35 +0000 (17:39 +0900)]
[RAMEN9610-15074] [COMMON] mmc: dw_mmc: sdcard power off when to card detect.

to occur lock warring is regulator disable in irq status.
so add sdcard regulator disable tasklet and fix up USIM broken issue

Change-Id: If10f4d4fb3e9aad2a2bd32355f3a946af0fd8fe7
Signed-off-by: duk hyun kwon <d_hyun.kwon@samsung.com>
4 years ago[RAMEN9610-15071] [COMMON] drivers: battery: move full_check_cnt clear
Keunho Hwang [Thu, 9 May 2019 09:14:36 +0000 (09:14 +0000)]
[RAMEN9610-15071] [COMMON] drivers: battery: move full_check_cnt clear

Change-Id: Iea758e2c8175311713ab7958949666a3618b1ca6
Signed-off-by: Keunho Hwang <keunho.hwang@samsung.com>
4 years ago[RAMEN9610-15070] [COMMON] drivers: led: turn off all leds at shutdown
Keunho Hwang [Fri, 10 May 2019 07:10:04 +0000 (07:10 +0000)]
[RAMEN9610-15070] [COMMON] drivers: led: turn off all leds at shutdown

Change-Id: Ib1fbbfd98d83998dc1f46a1cee7ba21bd2eab13f
Signed-off-by: Keunho Hwang <keunho.hwang@samsung.com>
4 years ago[RAMEN9610-14534] [COMMON][(CR)] s2mpu09: print PWRONSRC & OFFSRC registers in probe...
Jieun Yi [Fri, 19 Apr 2019 05:53:56 +0000 (14:53 +0900)]
[RAMEN9610-14534] [COMMON][(CR)] s2mpu09: print PWRONSRC & OFFSRC registers in probe function

Change-Id: Ibcb732de9a19d86e73a5396353d65043bea6f7f5
Signed-off-by: Jieun Yi <jieun.yi@samsung.com>
4 years ago[RAMEN9610-15045] [COMMON] ASoC: abox: remove unused memory
ShinHyung [Fri, 10 May 2019 07:36:37 +0000 (16:36 +0900)]
[RAMEN9610-15045] [COMMON] ASoC: abox: remove unused memory

Change-Id: Iff890e49da8f049151df7ffdb89d70b21f6a3b20
Signed-off-by: ShinHyung <s47.kang@samsung.com>
4 years ago[RAMEN9610-14990] [COMMON] usb: remove W/A code to avoid kernel panic
Kisang Lee [Thu, 9 May 2019 01:08:22 +0000 (10:08 +0900)]
[RAMEN9610-14990] [COMMON] usb: remove W/A code to avoid kernel panic

Change-Id: I29d857af3601d8e4e79ab99fdedba2118a9b8f80
Signed-off-by: Kisang Lee <kisang80.lee@samsung.com>
4 years ago[RAMEN9610-14973] wlbt: add droplevel handler for lerna
Ivan Priest [Tue, 7 May 2019 10:39:53 +0000 (11:39 +0100)]
[RAMEN9610-14973] wlbt: add droplevel handler for lerna

Missing droplevel entry for lerna caused a prevent warning.

Add the handler and comments indicating which tables to
keep in line.

Change-Id: I0fd9064dd62d9081305113c7bc121161c49f7b3e
SCSC-Bug-Id: SSB-52396
Signed-off-by: Ivan Priest <i.priest@samsung.com>
4 years ago[RAMEN9610-14970] fs: support FS_ENCRYPTION_MODE_PRIVATE for fmp
Boojin Kim [Wed, 8 May 2019 01:15:28 +0000 (10:15 +0900)]
[RAMEN9610-14970] fs: support FS_ENCRYPTION_MODE_PRIVATE for fmp

Change-Id: I9cb9e344dba19a03ff2d7632811faacc4e98f45e
Signed-off-by: Boojin Kim <boojin.kim@samsung.com>
4 years ago[RAMEN9610-14956] [COMMON] usb: check android device and UDC name
Kisang Lee [Tue, 7 May 2019 12:15:55 +0000 (21:15 +0900)]
[RAMEN9610-14956] [COMMON] usb: check android device and UDC name

Change-Id: I5750a0da33aec22fde3050a9f3db4161196f8394
Signed-off-by: Kisang Lee <kisang80.lee@samsung.com>
4 years ago[RAMEN9610-14955] [COMMON] ASoC: abox: Clear UAIF path
ShinHyung [Tue, 7 May 2019 11:56:09 +0000 (20:56 +0900)]
[RAMEN9610-14955] [COMMON] ASoC: abox: Clear UAIF path

If the UAIF is still running when entering into the sleep mode,
It occurs the pmucal timeout error.

Change-Id: I132dfb5814a590486703ce6872809cbe71aa952e
Signed-off-by: ShinHyung <s47.kang@samsung.com>
4 years ago[RAMEN9610-14929][COMMON] drivers: led: change operating mode of s2mu106 fled
Keunho Hwang [Tue, 7 May 2019 03:41:07 +0000 (03:41 +0000)]
[RAMEN9610-14929][COMMON] drivers: led: change operating mode of s2mu106 fled

Change-Id: Ie217e327f908c0a1419a00475ab0647ca7c9815b
Signed-off-by: Keunho Hwang <keunho.hwang@samsung.com>
4 years ago[RAMEN9610-14770] wlbt: .gitignore: ignore files generated during Q build
Ivan Priest [Wed, 10 Apr 2019 17:29:19 +0000 (18:29 +0100)]
[RAMEN9610-14770] wlbt: .gitignore: ignore files generated during Q build

arch/arm64/lib/lib.a.symversions
dtbo.img
lib/lib.a.symversions

Change-Id: I7e6a5b8d75cb27af6e022e884232dab52fc76417
SCSC-Bug-Id: SSB-51519
Signed-off-by: Ivan Priest <i.priest@samsung.com>
4 years ago[RAMEN9610-14519] Add config for support erd9610_Q_defconfig
Youngwan Kim [Fri, 19 Apr 2019 01:06:20 +0000 (10:06 +0900)]
[RAMEN9610-14519] Add config for support erd9610_Q_defconfig

Change-Id: Ibf98c2cfd1c3a8b9323f187383145ad340204b4c
Signed-off-by: Youngwan Kim <y103.kim@samsung.com>
4 years ago[RAMEN9610-13993] arm64: config: set selinux enforce mode (android Q)
Munjoo Kim [Fri, 29 Mar 2019 00:53:54 +0000 (09:53 +0900)]
[RAMEN9610-13993] arm64: config: set selinux enforce mode (android Q)

Change-Id: I6df4ca6fb401e4b5fde764f33e19fdfc9a1de9c8
Signed-off-by: Munjoo Kim <munjoo.kim@samsung.com>
4 years ago[RAMEN9610-13993] arm64: dts: change selinux mode param location
Munjoo Kim [Fri, 29 Mar 2019 01:00:46 +0000 (10:00 +0900)]
[RAMEN9610-13993] arm64: dts: change selinux mode param location

Change-Id: I5e1239079afd6bb8914928dcb178cb6a3b21e7c2
Signed-off-by: Munjoo Kim <munjoo.kim@samsung.com>
Signed-off-by: Jungtae Kim <jt1217.kim@samsung.com>
4 years ago[RAMEN9610-13801] defconfig: Disable nanohub for Android Q defconfig
SeYeong Byeon [Fri, 22 Mar 2019 08:12:59 +0000 (17:12 +0900)]
[RAMEN9610-13801] defconfig: Disable nanohub for Android Q defconfig

Nanohub causing kernel panic without USB connection.
Reenable once fixed.

Change-Id: Ifd74815ca48df2b6ad418ed8ed0c271be44ef753
Signed-off-by: SeYeong Byeon <sy.byeon@samsung.com>
4 years ago[RAMEN9610-13801] new defconfig for Android Q
SeYeong Byeon [Fri, 22 Mar 2019 01:52:18 +0000 (10:52 +0900)]
[RAMEN9610-13801] new defconfig for Android Q

New defconfig is needed for Android Q because of eventual
upgrade to R17P0 DDK for Android Q.

Adds and enables the following kernel option:
SOC_EXYNOS9610_ANDROID_VERSION_Q

The above option allows Android Q version of DDK to be compiled.

Change-Id: I96148721120affd4e5c2f1ce1ca8da41af36c680
Signed-off-by: SeYeong Byeon <sy.byeon@samsung.com>
4 years ago[RAMEN9610-13801] gpu: r16p0: allow choosing r16p0 for Android Q
SeYeong Byeon [Fri, 22 Mar 2019 01:58:59 +0000 (10:58 +0900)]
[RAMEN9610-13801] gpu: r16p0: allow choosing r16p0 for Android Q

Adds MALI_BIFROST_R16P0_Q to menuconfig

Change-Id: I25047939f572bd0ab898e42bec88b32ce5707976
Signed-off-by: SeYeong Byeon <sy.byeon@samsung.com>
4 years ago[RAMEN9610-13801] gpu: b_r16p0: Android Q support
SeYeong Byeon [Thu, 21 Mar 2019 23:54:41 +0000 (08:54 +0900)]
[RAMEN9610-13801] gpu: b_r16p0: Android Q support

Separate src code directory made for Anroid Q DDK.
This was done so the DDK for Android P is not touched.

Updated on: 19.03.22
DDK branch: b_r16p0

commits:
35e07f04c GLESSW-4468: Return nanoseconds for EXT_disjoint_timer_query
f5919cc40 product: vulkan: code refactoring for supporting Secure Rendering on Vulkan
927317128 [KERNEL] dts: increase 7884B gpu max clock to 676 Mhz
142813cdf product: Multiple OpenCL optimizations
72cdd1508 [KERNEL] b_r16p0: Disable sustainable opt feature
d22edeb5f [KERNEL] b_r16p0: Trace add @ GPU L2 POWER
d1ec88bcc [KERNEL] b_r16p0: change STR function from notifier to platform driver
9309b9894 [KERNEL] b_r16p0: fixed directly dereferencing pointer issue
7ba92d35a [KERNEL] b_r16p0: Modified critical prevent
10aae3941 [KERNEL] b_r16p0: Modified critical prevent issue about power sequence patch
0740ca810 [KERNEL] b_r16p0: trace add and change power sequence for STR with RuntimePM

Change-Id: I7a042bdc87cf51f7570334d8527b2d2756682547
Signed-off-by: SeYeong Byeon <sy.byeon@samsung.com>
4 years agowlbt: Fix ssid filter element
Jaya Prakash Sangaru [Wed, 8 May 2019 08:44:51 +0000 (14:14 +0530)]
wlbt: Fix ssid filter element

Include only 7 SSID descriptors in SSID filter element. When
more than 7 SSIDs are present, have multiple SSID filter
element each with not more than 7 SSID descriptors.

SCSC-Bug-Id: SSB-52449
Moto-CRs-Fixed: (CR)

Change-Id: I641f5eba35ae0c78500eaaf7490fadfa18dcc202
Signed-off-by: Jaya Prakash Sangaru <j.sangaru@samsung.com>
Signed-off-by: sunyue5 <sunyue5@motorola.com>
Reviewed-on: https://gerrit.mot.com/1351426
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key

4 years ago[RAMEN9610-14887][common][9610] wlbt: complete fw_panic_done only on fw_panic
Purnendu Kapadia [Tue, 23 Apr 2019 09:53:18 +0000 (10:53 +0100)]
[RAMEN9610-14887][common][9610] wlbt: complete fw_panic_done only on fw_panic

We want to prevent fw_panic_done completion happening in case of non
fw_panic SABLE trigger. Introduce response codes corresponding to each
situation based on if it is fw_panic or other trigger from wlbtd and
check for specific condition before completing individual completion.

This change is dependent upon corresponding wlbtd v3.1 which is providing
appropriate response_codes.

SCSC-Bug-Id: SSB-51921
Change-Id: Ia11bd8d8abc370f615222a3ce768b749ac876008
Signed-off-by: Purnendu Kapadia <p.kapadia@samsung.com>
4 years ago[RAMEN9610-14887][common]wlbt: log moredump open/close
Ivan Priest [Wed, 1 May 2019 17:31:03 +0000 (18:31 +0100)]
[RAMEN9610-14887][common]wlbt: log moredump open/close

Log access to the moredump device node in kernel

Change-Id: If6ec2e41165063b978d7b3c18bfbced4c9277c69
SCSC-Bug-Id: SSB-52247
Signed-off-by: Ivan Priest <i.priest@samsung.com>
4 years ago[RAMEN9610-14864] [COMMON] wlbt: Release bt_write_wake_lock during BT shutdown
Mathias Sass Michno [Wed, 1 May 2019 08:54:59 +0000 (10:54 +0200)]
[RAMEN9610-14864] [COMMON] wlbt: Release bt_write_wake_lock during BT shutdown

Ensure that the bt_write_wake_lock is released during shutdown
in case the controller doesn't ack the last sent command.
(cherry-picked from http://12.36.155.91:81/#/c/423622/)

SCSC-Bug-Id: SSB-52228
Change-Id: Id44627f30fd8efc3392068922a21dbf281926649
Signed-off-by: Mathias Sass Michno <m.michno@samsung.com>
4 years agoASoC: cs47l35: use dsp running flag for dsp status
Yoon (Seungyoon) Lee [Tue, 30 Apr 2019 20:28:54 +0000 (15:28 -0500)]
ASoC: cs47l35: use dsp running flag for dsp status

instead of checking DSP memory address for DSP core status,
check the flag from wm_adsp to determine algorithm status.

Change-Id: I846afc671e708dedd9af52000a7eb76cc39adc3b
Signed-off-by: Yoon (Seungyoon) Lee <w22905@motorola.com>
Reviewed-on: https://gerrit.mot.com/1346616
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Zhengming Yao <yaozm1@mt.com>
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key

4 years ago[COMMON] fimc-is2: kane: update dw9839 init setting
wangdw10 [Tue, 7 May 2019 05:56:54 +0000 (13:56 +0800)]
[COMMON] fimc-is2: kane: update dw9839 init setting

- 0x18 0x03 0x01
- 0x18 0x40 0xF1
- 0x18 0x54 0x0E
- 0x18 0x03 0x11
Delay 3ms
- 0x18 0x04 0x00

CRs-fixed: (CR)

Change-Id: I89b3b3d7e091cbc0fac65f5ac0e433ed72a11c77
Signed-off-by: wangdw10 <wangdw10@mt.com>
Reviewed-on: https://gerrit.mot.com/1349345
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

4 years agoscsc: limit 2.4G ACS on channels 1~11
sunyue5 [Sun, 5 May 2019 11:08:42 +0000 (19:08 +0800)]
scsc: limit 2.4G ACS on channels 1~11

Samsung implemented 2.4G ACS among all region allowed
channels, while Moto requires 2.4G MHS should only be
setup on channels 1~11.

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

4 years agofix rebase0430 build error
lingsen1 [Tue, 30 Apr 2019 15:26:13 +0000 (23:26 +0800)]
fix rebase0430 build error

Change-Id: I6b34fce60010a43414ebef9351ae22faa512370d

4 years agodts:change charGing current at Troika
xuwei9 [Tue, 30 Apr 2019 06:52:42 +0000 (14:52 +0800)]
dts:change charGing current at Troika

Change charGing current
at Troika

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

4 years ago[COMMON] fimc-is2: add embedded line DT at 2x5sp high speed mode
Wooyeon Kim [Mon, 29 Apr 2019 02:38:41 +0000 (11:38 +0900)]
[COMMON] fimc-is2: add embedded line DT at 2x5sp high speed mode

 - for avoid wrong_cfg error when 3dhdr -> other mode

 PR JIRA ID: CPR-1008

CRs-fixed: (CR)

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

4 years agoTroika : vib update voltage
dengwei1 [Fri, 26 Apr 2019 06:01:26 +0000 (14:01 +0800)]
Troika : vib update voltage

per key part, the vib voltage need update
kane need not

Change-Id: I344768b4866a5cd00d393e0035116eef9aa17f84
Signed-off-by: dengwei1 <dengwei1@motorola.com>
Reviewed-on: https://gerrit.mot.com/1343790
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Hua Tan <tanhua1@motorola.com>
Submit-Approved: Jira Key

4 years agokernel:Troika do not support turbo charger rate
xuwei9 [Thu, 25 Apr 2019 07:07:34 +0000 (15:07 +0800)]
kernel:Troika  do not support turbo charger rate

Troika  do not support
turbo charger rate

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

4 years agokernel:Troika remove small charger
xuwei9 [Thu, 25 Apr 2019 04:29:25 +0000 (12:29 +0800)]
kernel:Troika  remove small charger

Troika  remove small
charger

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

4 years agoconfig:Troika remove small charger
xuwei9 [Thu, 25 Apr 2019 04:26:47 +0000 (12:26 +0800)]
config:Troika  remove small charger

Remove small charger
at Troika

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

4 years ago[COMMON] fimc-is2: do not use fast AF trigger when Precapture trigger
Wooyeon Kim [Wed, 24 Apr 2019 01:59:04 +0000 (10:59 +0900)]
[COMMON] fimc-is2: do not use fast AF trigger when Precapture trigger

 PR JIRA ID: CPR-990

CRs-fixed: (CR)

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

4 years agokernel:Troika battery profile update
xuwei9 [Wed, 24 Apr 2019 06:02:57 +0000 (14:02 +0800)]
kernel:Troika  battery profile update

Troika  battery profile update
for local buy battery

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

4 years agodts:Troika battery profile update
xuwei9 [Wed, 24 Apr 2019 06:10:52 +0000 (14:10 +0800)]
dts:Troika  battery profile update

Troika  battery profile update
for local buy battery

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

4 years ago[HACK][9610] fimc-is2: move LTE step1 work only for 2x5
Wooyeon Kim [Fri, 19 Apr 2019 02:53:56 +0000 (11:53 +0900)]
[HACK][9610] fimc-is2: move LTE step1 work only for 2x5

 - for avoid side effect of 0x0BCC settings

 PR JIRA ID: CPR-974

CRs-fixed: (CR)

Change-Id: I150ddaf30c636d0355bfcdbfc0c3e53d312148f0
Signed-off-by: Wooyeon Kim <wooy88.kim@samsung.com>
Reviewed-on: https://gerrit.mot.com/1339836
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
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

4 years ago[COMMON] fimc-is2: delete avdd gpio power up/down for 5e9
xff [Fri, 12 Apr 2019 07:40:34 +0000 (15:40 +0800)]
[COMMON] fimc-is2: delete avdd gpio power up/down for 5e9

CRs-fixed: (CR)

Change-Id: I0e4d67dcbbebcb12c6d9d265df8ae2295aceb261
Signed-off-by: xff <fangfang.xu@samsung.com>
Reviewed-on: https://gerrit.mot.com/1339437
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

4 years ago[COMMON]fimc-is2: Optimized otp read flow path for 5e9
xff [Tue, 16 Apr 2019 09:07:48 +0000 (17:07 +0800)]
[COMMON]fimc-is2: Optimized otp read flow path for 5e9

CRs-fixed: (CR)

Change-Id: I554d9560608b0f2b4069b6e8bd5a2b4dcab98c5b
Signed-off-by: xff <fangfang.xu@samsung.com>
Reviewed-on: https://gerrit.mot.com/1339435
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

4 years agoarm64/dts: camera: Troika : delete avdd gpio for 5e9
xff [Fri, 12 Apr 2019 07:39:17 +0000 (15:39 +0800)]
arm64/dts: camera: Troika : delete avdd gpio for 5e9

CRs-fixed: (CR)

Change-Id: Ia1ec4d851c6b53188620bbe5f5e9883e3c5eb8e8
Signed-off-by: xff <fangfang.xu@samsung.com>
Reviewed-on: https://gerrit.mot.com/1339436
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

4 years ago[COMMON]fimc-is2: modified OV12A10/OV12A10FF/OV16885/5E9 power on sequence delay
xff [Tue, 16 Apr 2019 07:36:49 +0000 (15:36 +0800)]
[COMMON]fimc-is2: modified OV12A10/OV12A10FF/OV16885/5E9 power on sequence delay

CRs-fixed: (CR)

Change-Id: I141dc1f11b91fa81f051982b9f87b3b33ca75fac
Signed-off-by: xff <fangfang.xu@samsung.com>
Reviewed-on: https://gerrit.mot.com/1339434
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

4 years agopower: use orderly shutdown
zhaoxp3 [Fri, 19 Apr 2019 01:50:18 +0000 (09:50 +0800)]
power: use orderly shutdown

User an orderly shutdown for factory kill instead of a
kernel power off.  The orderly shutdown will attempt to
call the reboot binary from userspace first, and then
fallback to kernel power off if it fails.

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

4 years agodefconfig: disable console driver for user build
zhaoxp3 [Wed, 17 Apr 2019 08:36:23 +0000 (16:36 +0800)]
defconfig: disable console driver for user build

disable serial console for user build
Change-Id: I3a5dcc3163beece8c76a0855370b5efbe0112e50
Signed-off-by: zhaoxp3 <zhaoxp3@motorola.com>
Reviewed-on: https://gerrit.mot.com/1338193
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Hua Tan <tanhua1@motorola.com>
Submit-Approved: Jira Key

4 years agoOptimize the scanning interval of schedule scan
sunyue5 [Tue, 16 Apr 2019 11:24:17 +0000 (19:24 +0800)]
Optimize the scanning interval of schedule scan

The peak of current is 80mA for schedule scan. In the past, the
interval of schedule scan is 20s, it would increase the average
current by 20mA.

This change is to optimize the scanning interval so that the
average current can be reduced to less than 1mA
Min_Period: 48s
Max_Period: 500s
Exponent: 10
Step count: 7

48s, 48s, 48s, 48s, 48s, 48s, 48s, 480s,..., 480s, ...

Change-Id: Ie0535267e531fc84ce49f9130774b1c575081a1d
Signed-off-by: sunyue5 <sunyue5@motorola.com>
Reviewed-on: https://gerrit.mot.com/1337433
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Hua Tan <tanhua1@motorola.com>
Submit-Approved: Jira Key

4 years ago[COMMON] fimc-is2: move cis dma disable to DMA ISR & modify DMA state
wangdw10 [Tue, 16 Apr 2019 12:23:27 +0000 (20:23 +0800)]
[COMMON] fimc-is2: move cis dma disable to DMA ISR & modify DMA state

CRs-fixed: (CR)

Change-Id: I6c890c380ece4aaa8bb686cfdfd5d80459e5dae4
Signed-off-by: wangdw10 <wangdw10@mt.com>
Reviewed-on: https://gerrit.mot.com/1337438
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

4 years ago[COMMON][9610] drivers : fix typec role swap
Junhan Bae [Fri, 22 Mar 2019 12:14:31 +0000 (21:14 +0900)]
[COMMON][9610] drivers : fix typec role swap

Fix Macbook pro role swap issue
Add data swap and power swap
Mot-CRs-fixed:(CR)

Change-Id: I5a239b7552f4c3bb464f72d5f9f5aaae9f76ef66
Signed-off-by: Junhan Bae <junhan84.bae@samsung.com>
Reviewed-on: https://gerrit.mot.com/1337168
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key

4 years ago[COMMON] fimc-is2: modified 2X5 remosaic exp multiplier
Wooyeon Kim [Mon, 8 Apr 2019 04:21:52 +0000 (13:21 +0900)]
[COMMON] fimc-is2: modified 2X5 remosaic exp multiplier

 - move remosaic exp to "adjust_frame_duration"

 PR JIRA ID: CPR-935

CRs-fixed: (CR)

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

4 years ago[COMMON] fimc-is2: move csi dma disable to DMA ISR & modify DMA state
Wooyeon Kim [Mon, 8 Apr 2019 07:44:32 +0000 (16:44 +0900)]
[COMMON] fimc-is2: move csi dma disable to DMA ISR & modify DMA state

CRs-fixed: (CR)

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

4 years ago[COMMON] fimc-is2: modify "head" base when group is stopped
Wooyeon Kim [Mon, 15 Apr 2019 10:18:10 +0000 (19:18 +0900)]
[COMMON] fimc-is2: modify "head" base when group is stopped

 - when camera is suddenly closed, wrong refer group caused
   smp trigger stuck problem

 PR JIRA ID: CPR-958

CRs-fixed: (CR)

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

4 years agoarm/dts/:Add separated music bin for India sku
yaozm1 [Mon, 15 Apr 2019 05:58:30 +0000 (13:58 +0800)]
arm/dts/:Add separated music bin for India sku

Add separated music bin for India sku

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

4 years agodrivers: modify the reboot reason for post-xxx
luodw1 [Fri, 12 Apr 2019 12:26:40 +0000 (20:26 +0800)]
drivers: modify the reboot reason for post-xxx

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

4 years agoRevert "(CR):soc:exynos-reboot:Add the last powerup reason back"
luodw1 [Fri, 12 Apr 2019 12:14:59 +0000 (20:14 +0800)]
Revert "(CR):soc:exynos-reboot:Add the last powerup reason back"

This reverts commit 0f151cacb31d8913e85a7a9a977893c5b96bb16a.

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

4 years agoKane: Change camera sensor power sequence
wangdw10 [Fri, 12 Apr 2019 13:06:46 +0000 (21:06 +0800)]
Kane: Change camera sensor power sequence

Change camera sensor gm1/2x5/5e9 power
sequence.

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

4 years ago[COMMON] fimc-is2: fix wrong GM1SP 60fps VC setting
Wooyeon Kim [Thu, 11 Apr 2019 11:14:20 +0000 (20:14 +0900)]
[COMMON] fimc-is2: fix wrong GM1SP 60fps VC setting

 - It can cause mismatch of PAFSTAT setting
   not initilized for pafstat tasklet

 PR JIRA ID: CPR-944

CRs-fixed: (CR)

Change-Id: I2dd6a00e1aafa1b5959925e99aeeed5b976e5cc5
Signed-off-by: Wooyeon Kim <wooy88.kim@samsung.com>
Reviewed-on: https://gerrit.mot.com/1335986
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

4 years ago[COMMON] fimc-is2: adjust power up sequence for OV12A10/OV12A10FF/OV16885C/5E9
xff [Mon, 18 Mar 2019 10:53:20 +0000 (18:53 +0800)]
[COMMON] fimc-is2: adjust power up sequence for OV12A10/OV12A10FF/OV16885C/5E9

CRs-fixed: (CR)

Change-Id: Id14a701c6a31b89a0aa72ddd78f4a8a892b676b0
Signed-off-by: xff <fangfang.xu@samsung.com>
Reviewed-on: https://gerrit.mot.com/1322186
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

4 years ago[COMMON]fimc-is2: update max register value of again for ov sensor
xff [Wed, 10 Apr 2019 12:28:36 +0000 (20:28 +0800)]
[COMMON]fimc-is2: update max register value of again for ov sensor

CRs-fixed: (CR)

Change-Id: Ied7f8d30133c3393d1c31f679b65dfb129387f41
Signed-off-by: xff <fangfang.xu@samsung.com>
Reviewed-on: https://gerrit.mot.com/1335484
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

4 years ago[HACK][9610] fimc-is2: add sensor interface that transmit crop value for Troika
Dohyun Kim [Mon, 8 Apr 2019 08:37:10 +0000 (17:37 +0900)]
[HACK][9610] fimc-is2: add sensor interface that transmit crop value for Troika

CRs-fixed: (CR)

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

4 years ago[COMMON] fimc-is2: set PAF_ON value set in MSPD
Dohyun Kim [Thu, 4 Apr 2019 09:27:20 +0000 (18:27 +0900)]
[COMMON] fimc-is2: set PAF_ON value set in MSPD

CRs-fixed: (CR)

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

4 years ago[COMMON] fimc-is2: Add pdaf feature to 12a10 sensor
Dohyun Kim [Wed, 27 Mar 2019 09:18:16 +0000 (18:18 +0900)]
[COMMON] fimc-is2: Add pdaf feature to 12a10 sensor

CRs-fixed: (CR)

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

4 years ago[COMMON] fimc-is2: Add interface that transmits crop info for pdaf
Dohyun Kim [Wed, 27 Mar 2019 09:18:02 +0000 (18:18 +0900)]
[COMMON] fimc-is2: Add interface that transmits crop info for pdaf

CRs-fixed: (CR)

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

4 years ago[arm64/dts]:camera: Troika : modify DVFS level for front camera video and preview
qings.zhou [Tue, 9 Apr 2019 05:53:46 +0000 (13:53 +0800)]
[arm64/dts]:camera: Troika : modify DVFS level for front camera video and preview

related to cts test:android.hardware.camera2.cts.RecordingTest#testSupportedVideoSizes

CRs-fixed: (CR)

Change-Id: I8964bff6d5429333baea8d3fea82c12bfafc99f0
Signed-off-by: qings.zhou <qings.zhou@samsung.com>
Reviewed-on: https://gerrit.mot.com/1335479
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Zhichao Chen <chenzc2@motorola.com>
Submit-Approved: Jira Key

4 years ago[COMMON] fimc-is2: add delay time when retry sensor i2c read
Wooyeon Kim [Wed, 10 Apr 2019 12:50:48 +0000 (21:50 +0900)]
[COMMON] fimc-is2: add delay time when retry sensor i2c read

 - when retried sensor module power off to on
   add to get delay more

   3ms -> 5ms

CRs-fixed: (CR)

Change-Id: I7de6811c889e2efb2cf069a16654d3bf8ca0ac22
Signed-off-by: Wooyeon Kim <wooy88.kim@samsung.com>
Reviewed-on: https://gerrit.mot.com/1334944
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: Lu Lu <lulu2@mt.com>

4 years ago[COMMON] fimc-is2: increase 5E9 some delay for power on
Wooyeon Kim [Wed, 10 Apr 2019 11:13:34 +0000 (20:13 +0900)]
[COMMON] fimc-is2: increase 5E9 some delay for power on

CRs-fixed: (CR)

Change-Id: I48b9d418ce2a0e8257537b45e5b166807b1daf74
Signed-off-by: Wooyeon Kim <wooy88.kim@samsung.com>
Reviewed-on: https://gerrit.mot.com/1334941
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: Lu Lu <lulu2@mt.com>

4 years ago[COMMON] fimc-is2: increase 2X5SP some delay for power on
Wooyeon Kim [Wed, 10 Apr 2019 11:20:20 +0000 (20:20 +0900)]
[COMMON] fimc-is2: increase 2X5SP some delay for power on

CRs-fixed: (CR)

Change-Id: I8831834fe669b7b5fdf571385df7cf6138c9e101
Signed-off-by: Wooyeon Kim <wooy88.kim@samsung.com>
Reviewed-on: https://gerrit.mot.com/1334911
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: Lu Lu <lulu2@mt.com>

4 years ago[COMMON] fimc-is2: modify code for 2x5 otp
Wooyeon Kim [Wed, 10 Apr 2019 05:27:06 +0000 (14:27 +0900)]
[COMMON] fimc-is2: modify code for 2x5 otp

CRs-fixed: (CR)

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

4 years agokernel:report cable attch event three thime
xuwei9 [Wed, 10 Apr 2019 10:29:33 +0000 (18:29 +0800)]
kernel:report cable attch event three thime

samsung report cable attach event three times
which result in battery status override

Change-Id: I6ae9dd37d369254d15b1d5678dcb1a0d79dcb8a7
Signed-off-by: xuwei9 <xuwei9@mt.com>
Reviewed-on: https://gerrit.mot.com/1334878
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Zonghua Liu <a17671@motorola.com>
Reviewed-by: Hua Tan <tanhua1@motorola.com>
Submit-Approved: Jira Key

4 years agofimc-is2: increase GM1SP power on some delay
Wooyeon Kim [Tue, 9 Apr 2019 01:38:29 +0000 (10:38 +0900)]
fimc-is2: increase GM1SP power on some delay

CRs-fixed: (CR)

Change-Id: I8e791359b5e668395e4f3d590a24d97f0f181590
Signed-off-by: Wooyeon Kim <wooy88.kim@samsung.com>
Reviewed-on: https://gerrit.mot.com/1334326
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

4 years ago[COMMON] fimc-is2: fix section err in resourcemgr
Wooyeon Kim [Wed, 3 Apr 2019 11:31:00 +0000 (20:31 +0900)]
[COMMON] fimc-is2: fix section err in resourcemgr

 - "__init" prefix deleted at lib_map, heap_map

 PR JIRA ID: CPR-916

CRs-fixed: (CR)

Change-Id: Iaa0adc0837159451ef60e03171b748edc7219ca6
Signed-off-by: Wooyeon Kim <wooy88.kim@samsung.com>
Reviewed-on: https://gerrit.mot.com/1333575
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

4 years ago[COMMON] fimc-is2: add LTE mode restore when LEC is cancelled
Wooyeon Kim [Tue, 2 Apr 2019 06:37:50 +0000 (15:37 +0900)]
[COMMON] fimc-is2: add LTE mode restore when LEC is cancelled

 PR JIRA ID: CPR-908

CRs-fixed: (CR)

Change-Id: I581f5febf2b5f6d49672b1d10b464c253f6e2d08
Signed-off-by: Wooyeon Kim <wooy88.kim@samsung.com>
Reviewed-on: https://gerrit.mot.com/1333573
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

4 years ago[COMMON] fimc-is2: fix 2X5SP LTE capture cancel freeze
Wooyeon Kim [Thu, 4 Apr 2019 05:40:22 +0000 (14:40 +0900)]
[COMMON] fimc-is2: fix 2X5SP LTE capture cancel freeze

 PR JIRA ID: CPR-914

CRs-fixed: (CR)

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

4 years ago[COMMON] fimc-is2: fix 2x5sp/5e9 otp load retry logic
Wooyeon Kim [Fri, 29 Mar 2019 07:16:40 +0000 (16:16 +0900)]
[COMMON] fimc-is2: fix 2x5sp/5e9 otp load retry logic

 PR JIRA ID: CPR-906

CRs-fixed: (CR)

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

4 years ago[COMMON] fimc-is2: Skip flushing for hw frames from different instance
Sanghoon Lee [Thu, 4 Oct 2018 09:19:12 +0000 (18:19 +0900)]
[COMMON] fimc-is2: Skip flushing for hw frames from different instance

H/W framemgr could have the multiple frames from different instance.
Currently, H/W frame can be flushed by checking old frame count, only,
and it could flush the other frame that doesn't mean to.
So, it is required to check the instnace number in frame to flush them.

PR JIRA ID: CPR-291

CRs-fixed: (CR)

Change-Id: I48a1b5b5cb579b1ea4299a896f2910c8d0eb24b6
Signed-off-by: Sanghoon Lee <shoon114.lee@samsung.com>
Reviewed-on: https://gerrit.mot.com/1332441
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Dawei Wang <wangdw10@motorola.com>
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key

4 years ago[Kane]FPS:Add wake lock when transfer data to TA
chenl18 [Thu, 4 Apr 2019 02:25:24 +0000 (10:25 +0800)]
[Kane]FPS:Add wake lock when transfer data to TA

Fingerprint transfer data is interrupted by system suspend, so
CA can't get response from TA. Then system server watchdog happen.
To avoid the system sleep, add wake lock when transfer data from
CA to TA.

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

4 years agokernel:PD thermal trigger mechanism
xuwei9 [Wed, 3 Apr 2019 09:05:15 +0000 (17:05 +0800)]
kernel:PD thermal trigger mechanism

Enable PD charger thermal
trigger mechanism

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

4 years agoTroika : fimc-is2: update cis driver
wangdw10 [Mon, 1 Apr 2019 11:47:49 +0000 (19:47 +0800)]
Troika : fimc-is2: update cis driver

1. update 12a10/16885c code indets for fix SCAR
2. update 16885c setting to decrease vblank time
3. support LEC function for 12a10

Change-Id: I8835e51a447b8dbc267f82b21ffb8ef66e3cc443
Signed-off-by: wangdw10 <wangdw10@mt.com>
Reviewed-on: https://gerrit.mot.com/1330699
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

4 years agoarm64/dts: camera: Troika : add flash for OV16885
xff [Fri, 29 Mar 2019 06:35:07 +0000 (14:35 +0800)]
arm64/dts: camera: Troika : add flash for OV16885

CRs-fixed: (CR)

Change-Id: Ia880ba9f0374e825c49e7e16e31a8b598613d85a
Signed-off-by: xff <fangfang.xu@samsung.com>
Reviewed-on: https://gerrit.mot.com/1330394
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Dawei Wang <wangdw10@motorola.com>
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key

4 years ago[COMMON] fimc-is2: Add OV12a10/OV12a10FF long exposure function
Dohyun Kim [Mon, 11 Mar 2019 04:53:36 +0000 (13:53 +0900)]
[COMMON] fimc-is2: Add OV12a10/OV12a10FF long exposure function

CRs-fixed: (CR)

Change-Id: I9e0f0597ff3bc6171d36cf80add17580b3e0c9ad
Signed-off-by: Dohyun Kim <dh5.kim@samsung.com>
Reviewed-on: https://gerrit.mot.com/1330395
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Dawei Wang <wangdw10@motorola.com>
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key

4 years ago drivers : add test patch for otg connection
lingsen1 [Thu, 4 Apr 2019 04:03:42 +0000 (12:03 +0800)]
  drivers : add test patch for otg connection

Change-Id: Iea4a6a4261bcc6c134b31f4d623dc592d34e39cc

4 years agokernel: change the charger full condition with tolerance
xuwei9 [Fri, 29 Mar 2019 01:49:45 +0000 (09:49 +0800)]
kernel: change the charger full condition with tolerance

change the charger full condition
with tolerance

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