xingbin [Tue, 19 Mar 2019 08:17:21 +0000 (16:17 +0800)]
lcd: modify lcd init code for lcd internal power jump
Change-Id: If3bb2f7873762bb2d51b9cef8cca5057611dd94b
Signed-off-by: xingbin <xingbin@huaqin.com>
Signed-off-by: tanhua1 <tanhua1@mt.com>
Reviewed-on: https://gerrit.mot.com/
1323561
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
xingbin [Wed, 13 Mar 2019 07:49:21 +0000 (15:49 +0800)]
lcd: modify lcd init code for lcd internal power jump
modify himax lcd init code for lcd internal power jump
Note:current stage solution, maybe update the final solution later
Change-Id: I22e036b0145aefb7057a7e44dac7292037fa19d8
Signed-off-by: xingbin <xingbin@huaqin.com>
Signed-off-by: tanhua1 <tanhua1@mt.com>
Reviewed-on: https://gerrit.mot.com/
1323560
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
Wen Xie [Tue, 19 Mar 2019 09:52:53 +0000 (17:52 +0800)]
sensor: adjust the log
Adjust the log reg:
X933X_REG_PROX_ADC_MIN->X933X_REG_PROX_ADC_MAX.
Change-Id: I794b57a066ab481d18952d4eb27c08d7067dae17
Signed-off-by: Wen Xie <xiewen3@motorola.com>
Reviewed-on: https://gerrit.mot.com/
1322655
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
Wen Xie [Tue, 19 Mar 2019 07:58:03 +0000 (15:58 +0800)]
arm64/dts: Update Capsensor parameters
form vendor:
Add Troika Capsensor parameters.
Change-Id: Ia361da98298bfc78b61adf10c4498fa7afc08528
Signed-off-by: Wen Xie <xiewen3@motorola.com>
Reviewed-on: https://gerrit.mot.com/
1322653
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
Jeff Vanhoof [Thu, 19 Oct 2017 10:39:30 +0000 (05:39 -0500)]
lowmemorykiller:Account for extra_free_kbytes in calcuations
Account for extra_free_kbytes in calcuations
CRs-fixed: (CR)
Signed-off-by: Jeff Vanhoof <qjv001@motorola.com>
Change-Id: I2c44a1775d43fad40cf49d6303b7552c2c089b6e
Reviewed-on: https://gerrit.mot.com/
1076213
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Coverity Analysis <coverity@motorola.com>
Reviewed-by: Igor Kovalenko <igork@motorola.com>
Submit-Approved: Jira Key
Reviewed-on: https://gerrit.mot.com/
1318719
Reviewed-by: Dawei Wang <wangdw10@motorola.com>
Reviewed-by: Zhichao Chen <chenzc2@motorola.com>
xff [Mon, 18 Mar 2019 00:59:28 +0000 (08:59 +0800)]
[COMMON] fimc-s2: modify hw sync registers of OV12A10
CRs-fixed: (CR)
Change-Id: I1168adc20f4aecb37ba1b278be8cb8a085b4461c
Signed-off-by: xff <fangfang.xu@samsung.com>
Reviewed-on: https://gerrit.mot.com/
1321973
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Dawei Wang <wangdw10@motorola.com>
Reviewed-by: Zhichao Chen <chenzc2@motorola.com>
Submit-Approved: Jira Key
xff [Fri, 15 Mar 2019 07:46:09 +0000 (15:46 +0800)]
arm64/dts: camera: Troika : add i2c mode for front camera
CRs-fixed: (CR)
Change-Id: I9811e8526daf06f609166c04f68b29889247df80
Signed-off-by: xff <fangfang.xu@samsung.com>
Reviewed-on: https://gerrit.mot.com/
1321972
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Dawei Wang <wangdw10@motorola.com>
Reviewed-by: Zhichao Chen <chenzc2@motorola.com>
Submit-Approved: Jira Key
xuwei9 [Mon, 18 Mar 2019 06:16:02 +0000 (14:16 +0800)]
kernel: charger thermal level log
charger thermal current
level log
Change-Id: If932cb55f304a5903121ed283503ec10d3c16fc7
Signed-off-by: xuwei9 <xuwei9@mt.com>
Reviewed-on: https://gerrit.mot.com/
1322036
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
Albert Cano [Fri, 1 Mar 2019 08:45:54 +0000 (08:45 +0000)]
wlbt: Disable SMAPPER in SISO phone
Disable SMAPPEr in SISO phones as it is not required and it
could cause ITMON issues.
Moto-CRs-Fixed: (CR)
SCSC-Bug-Id: SMAPPER_DISABLED
Change-Id: If4da74599bf0235185c62ade6e074e23de46f662
Signed-off-by: Albert Cano <a.canocamps@samsung.com>
Signed-off-by: sunyue5 <sunyue5@motorola.com>
Reviewed-on: https://gerrit.mot.com/
1321241
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Jun Zhang <zhangj10@motorola.com>
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
Wen Xie [Thu, 14 Mar 2019 03:09:01 +0000 (11:09 +0800)]
sensor: adjust the log
1. adjust the log format
2. add log to dump adc, raw data and use filter
Change-Id: I518a116e834a82fb721746ce546fe60b438bfb4f
Signed-off-by: Wen Xie <xiewen3@motorola.com>
Reviewed-on: https://gerrit.mot.com/
1320612
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
xuwei9 [Wed, 13 Mar 2019 10:14:06 +0000 (18:14 +0800)]
kernel:turbo charger event of type-c
turbo charger type-c
event
Change-Id: I302816f48b55abe87a7fb69a1dfb9041ea9957c9
Signed-off-by: xuwei9 <xuwei9@mt.com>
Reviewed-on: https://gerrit.mot.com/
1320067
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
xuwei9 [Thu, 7 Mar 2019 13:08:54 +0000 (22:08 +0900)]
driver:Add C type Rp current setting
Add c type Rp current
setting
Signed-off-by: xuwei9 <xuwei9@mt.com>
Change-Id: I222c07f0fdd29f65c6a5311defc33e3c5c30c4cf
Reviewed-on: https://gerrit.mot.com/
1320518
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Wei Xu <xuwei9@mt.com>
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
xuwei9 [Wed, 13 Mar 2019 08:10:03 +0000 (16:10 +0800)]
kernel:battery full to 99 fast
battery full to 99
fast
Change-Id: I048846a2769b0af49067a599f556b1b8bcea2a6f
Signed-off-by: xuwei9 <xuwei9@mt.com>
Reviewed-on: https://gerrit.mot.com/
1320018
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
JaeHun Jung [Thu, 28 Feb 2019 01:49:03 +0000 (10:49 +0900)]
[LV][RAMEN9610-12699][Robusta2] arm64: dts: Set pull up/down disable at SD_SIM_DET pin.
When use active high detect case that sometimes have problem SIM detect floating issue.
So, Change pull up/down state from down to disable.
Moto-CRs-Fixed: (CR)
Change-Id: I3161fdfc5ccec17e9f20991c9c5fa9724fcf2593
Signed-off-by: JaeHun Jung <jh0801.jung@samsung.com>
Reviewed-on: https://gerrit.mot.com/
1320002
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Junfang Zhang <zhang10@motorola.com>
Tested-by: Junfang Zhang <zhang10@motorola.com>
Submit-Approved: Jira Key
Wen Xie [Tue, 12 Mar 2019 10:28:15 +0000 (18:28 +0800)]
arm64/dts: Update Capsensor parameters
8024--RegAfeParamsPh0--FREQ_PH0=b11011: b10001: FOsc/88 (~45.45 kHz)
802C--RegAfeParamsPh1--FREQ_PH1=b11011: b10001: FOsc/88 (~45.45 kHz)
Change-Id: I24ca9b0627166d4e68e851c808c4d4e4d9a956a2
Signed-off-by: Wen Xie <xiewen3@motorola.com>
Reviewed-on: https://gerrit.mot.com/
1319622
Tested-by: Jira Key
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
xff [Tue, 12 Mar 2019 08:33:43 +0000 (16:33 +0800)]
[COMMON] fimc-is2: fix register setting error when dual_sync is disable
CRs-fixed: (CR)
Change-Id: I804ae664a2c578e24b0c52960d43c78424e978c8
Signed-off-by: xff <fangfang.xu@samsung.com>
Reviewed-on: https://gerrit.mot.com/
1319592
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Dawei Wang <wangdw10@motorola.com>
Reviewed-by: Zhichao Chen <chenzc2@motorola.com>
Submit-Approved: Jira Key
xuwei9 [Mon, 11 Mar 2019 08:29:44 +0000 (16:29 +0800)]
config:disable s2mu106 haptic driver
disable s2mu106 haptic
driver
Change-Id: Id65aee48a679198e0b9da837b8f57bbf68d6bb96
Signed-off-by: xuwei9 <xuwei9@mt.com>
Reviewed-on: https://gerrit.mot.com/
1319055
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
zhaoxp3 [Mon, 11 Mar 2019 08:20:22 +0000 (16:20 +0800)]
defconfig: disable crash key
disable crash key for userdebug build
Change-Id: I9ec7a69e51ce9c4e673a77a48b3cf86daf4218ee
Signed-off-by: zhaoxp3 <zhaoxp3@motorola.com>
Reviewed-on: https://gerrit.mot.com/
1319052
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Submit-Approved: Jira Key
Wen Xie [Mon, 11 Mar 2019 02:19:23 +0000 (10:19 +0800)]
arm64/dts: Update Capsensor parameters
8024--RegAfeParamsPh0--FREQ_PH0=b11011: FOsc/352 (~11.36 kHz)
802C--RegAfeParamsPh1--FREQ_PH1=b11011: FOsc/352 (~11.36 kHz)
8034--RegAfeParamsPh2--FREQ_PH2=b11011: b10001: FOsc/88 (~45.45 kHz)
803C--RegAfeParamsPh3--FREQ_PH3=b11011: b10001: FOsc/88 (~45.45 kHz)
8044--RegAfeParamsPh4--FREQ_PH4=b11011: b10001: FOsc/88 (~45.45 kHz)
Change-Id: I6b4130bb05809b265cf6e36c15eeb225d6719696
Signed-off-by: Wen Xie <xiewen3@motorola.com>
Reviewed-on: https://gerrit.mot.com/
1318914
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
xff [Thu, 7 Mar 2019 12:43:02 +0000 (20:43 +0800)]
[COMMON]fimc-is2: fix rear3 camera level selection error
CRs-fixed: (CR)
Change-Id: I53014a93279fdef118a99db5b3a192f4228a9889
Signed-off-by: xff <fangfang.xu@samsung.com>
Reviewed-on: https://gerrit.mot.com/
1318418
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Dawei Wang <wangdw10@motorola.com>
Reviewed-by: Zhichao Chen <chenzc2@motorola.com>
Submit-Approved: Jira Key
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
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
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
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
wangdw10 [Tue, 5 Mar 2019 09:17:25 +0000 (17:17 +0800)]
defconfig: 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
xff [Tue, 26 Feb 2019 07:44:26 +0000 (15:44 +0800)]
defconfig: Troika : Add eeprom support
Change-Id: If332bd5a68ac64b9c3501e82881122fe0a719701
Signed-off-by: xff <fangfang.xu@samsung.com>
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>
a17671 [Mon, 4 Mar 2019 06:05:33 +0000 (14:05 +0800)]
usbpd:Pickup the missing USBPD change
Samsung switched the irq trigger from LOW
to FALLING and FALLING TO LOW back again
Moto line failed to pickup this change for
Unknown reason
Change-Id: I1910a7dbe528514a3b189e50200e6f00e2dc58ae
Signed-off-by: a17671 <a17671@motorola.com>
Reviewed-on: https://gerrit.mot.com/
1316604
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
Wen Xie [Sat, 2 Mar 2019 07:18:10 +0000 (15:18 +0800)]
power: Add CHARGE_NOW function
Samsung patch:
fix CHARGE_NOW property function.
From
d0b0e57dda8ba436a86a61d95a9d356c4b9b34c2 Mon Sep 17 00:00:00 2001
From: Keunho Hwang <keunho.hwang@samsung.com>
Date: Sat, 2 Mar 2019 12:49:38 +0900
Subject: [PATCH] [Only-For-Test] driver: power: fix CHARGE_NOW property
Signed-off-by: Keunho Hwang <keunho.hwang@samsung.com>
Change-Id: I0d18ca993e3ec4e10dc5135457a1d362eb6dbd99
Signed-off-by: Wen Xie <xiewen3@motorola.com>
Reviewed-on: https://gerrit.mot.com/
1316488
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Wei Xu <xuwei9@mt.com>
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
Wen Xie [Fri, 1 Mar 2019 14:35:56 +0000 (22:35 +0800)]
power: Add CHARGE_FULL function
Samsung patch:
Add CHARGE_FULL function.
From
6273ea9a561ac14306d2cd7c90d2dda6494f75dd Mon Sep 17 00:00:00 2001
From: Keunho Hwang <keunho.hwang@samsung.com>
Date: Fri, 1 Mar 2019 15:47:10 +0900
Subject: [PATCH] [Only-For-Test] driver: power: fix
POWER_SUPPLY_PROP_CHARGE_FULL property
Signed-off-by: Keunho Hwang <keunho.hwang@samsung.com>
Change-Id: I8fa3c449faf95d2cd0560732f49190e215f216cb
Signed-off-by: Wen Xie <xiewen3@motorola.com>
Reviewed-on: https://gerrit.mot.com/
1316280
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Wei Xu <xuwei9@mt.com>
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
a17671 [Fri, 1 Mar 2019 10:11:15 +0000 (18:11 +0800)]
debug-snapshot:Increase the pstore mem size
Increase the pstore mem size to 1M
To allow annotation
Change-Id: Ied8ffee16b940bfbbc4143bf915ef97243617eda
Signed-off-by: a17671 <a17671@motorola.com>
Reviewed-on: https://gerrit.mot.com/
1316159
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
a17671 [Fri, 1 Mar 2019 04:47:11 +0000 (12:47 +0800)]
usbpd:Add the missing changes back
There are some lines missing
After the merge conflict of
Moto changes and usbpd compliance patch
Add them back
Change-Id: Ib962f1b6d732bced3ee8ac85c119803f197dd84a
Signed-off-by: a17671 <a17671@motorola.com>
Reviewed-on: https://gerrit.mot.com/
1315964
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
xff [Thu, 28 Feb 2019 01:53:07 +0000 (09:53 +0800)]
arm64: dts: Troika : update camera dtsi to use 900KHz I2C clock for 12A10/
12A10FF
CRs-fixed: (CR)
Change-Id: I3770b0a215de78b09330bb437a5716a9b0e1f2ce
Signed-off-by: xff <fangfang.xu@samsung.com>
Reviewed-on: https://gerrit.mot.com/
1315236
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Dawei Wang <wangdw10@motorola.com>
Reviewed-by: Zhichao Chen <chenzc2@motorola.com>
Submit-Approved: Jira Key
xuwei9 [Wed, 27 Feb 2019 10:05:34 +0000 (18:05 +0800)]
dtsi: PD charger current support
Pd charger current
support
Change-Id: I54852a46b2fba43b75a6bf1d2adc931e9ba657c8
Signed-off-by: xuwei9 <xuwei9@mt.com>
Reviewed-on: https://gerrit.mot.com/
1314873
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
xuwei9 [Wed, 27 Feb 2019 09:59:45 +0000 (17:59 +0800)]
kernel: PD charger support
PD charger need display
turbo charger
Change-Id: I09b90c6614e3fc1f7634a2edbb18b4e77961111b
Signed-off-by: xuwei9 <xuwei9@mt.com>
Reviewed-on: https://gerrit.mot.com/
1314869
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
xingbin [Tue, 19 Feb 2019 07:53:33 +0000 (15:53 +0800)]
[Kane]:[user]: modify frame rate to 55fps for hix83112a and nov36672a
Change-Id: Ide2c3b2c12a1d7caf55f1003b6f807249023446b
Signed-off-by: xingbin <xingbin@huaqin.com>
Signed-off-by: tanhua1 <tanhua1@mt.com>
Reviewed-on: https://gerrit.mot.com/
1314613
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
Taekki Kim [Tue, 19 Feb 2019 02:27:44 +0000 (11:27 +0900)]
[Kane][9610] arm64: dts: disable bcm ip for G2D
Change-Id: I79b9852510bb96f8b563ecd78eef5e83d5bf1a06
Signed-off-by: Taekki Kim <taekki.kim@samsung.com>
Signed-off-by: tanhua1 <tanhua1@mt.com>
Reviewed-on: https://gerrit.mot.com/
1314614
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
zhaoxp3 [Wed, 27 Feb 2019 02:38:52 +0000 (10:38 +0800)]
defconfig: disable CONFIG_DEBUG_SNAPSHOT_CRASH_KEY
disable CONFIG_DEBUG_SNAPSHOT_CRASH_KEY for user build
Change-Id: Ibb6615716d2919211e6501b698f427a41c14eb2c
Signed-off-by: zhaoxp3 <zhaoxp3@motorola.com>
Reviewed-on: https://gerrit.mot.com/
1314667
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Submit-Approved: Jira Key
xingbin [Mon, 25 Feb 2019 12:19:44 +0000 (20:19 +0800)]
[Kane]:[user]modify backligt chipset(lm36923) config to reslove brightness flicker
Change-Id: I593d3e5d7db4ed4704fbc148312949c89617b566
Signed-off-by: xingbin <xingbin@huaqin.com>
Signed-off-by: tanhua1 <tanhua1@mt.com>
Reviewed-on: https://gerrit.mot.com/
1314179
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
xuwei9 [Tue, 26 Feb 2019 05:50:32 +0000 (13:50 +0800)]
dtsi:oppo ta support config
oppo ta support
config
Change-Id: I7129a182d6b2f07e9e9fac9b7365f47148f074e0
Signed-off-by: xuwei9 <xuwei9@mt.com>
Reviewed-on: https://gerrit.mot.com/
1314110
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
Wooyeon Kim [Thu, 21 Feb 2019 11:02:19 +0000 (20:02 +0900)]
[COMMON] fimc-is2: update GM1SP setfiles
- S5KGM1SP_ReferenceSEtfile_v0.9g_20190219_For SOC.xlsx
* included a ICM-42602 standby mode
PR JIRA ID: CPR-729
Change-Id: Id17fa2f7583263e9f4d04eb0a0e0d25a875f8f94
Signed-off-by: Wooyeon Kim <wooy88.kim@samsung.com>
Wooyeon Kim [Wed, 20 Feb 2019 04:21:48 +0000 (13:21 +0900)]
[COMMON] fimc-is2: do not duplicate dw9839 actuator init
- Due to not used a AF cal at actuator dw9839,
skip second actuator init operation.
PR JIRA ID: CPR-719
Change-Id: I4c7bedcfeb272266a9d9e85dbd35a5d1422f6504
Signed-off-by: Wooyeon Kim <wooy88.kim@samsung.com>
Junhan Bae [Thu, 21 Feb 2019 09:15:46 +0000 (18:15 +0900)]
[LV][RAMEN9610-12412][Robusta2][9610] usbpd : update s2mu106 drivers for compliance
Moto CRs-fixed:(CR)
Change-Id: Iab613c6b9e742ea294b4cf8a3190d5327a203e9f
Signed-off-by: Junhan Bae <junhan84.bae@samsung.com>
Reviewed-on: https://gerrit.mot.com/
1313804
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Lu Lu <lulu2@mt.com>
SME-Granted: Lu Lu <lulu2@mt.com>
Submit-Approved: Lu Lu <lulu2@mt.com>
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
zhangh12 [Fri, 22 Feb 2019 09:03:04 +0000 (17:03 +0800)]
secure: tee log will be enabled via debug token
Change-Id: I85336d9b5e9a975c7742c2484e533ca5977a4014
Signed-off-by: zhangh12 <zhangh12@motorola.com>
Reviewed-on: https://gerrit.mot.com/
1313150
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
xuwei9 [Fri, 22 Feb 2019 06:47:06 +0000 (14:47 +0800)]
dts:turbo charger support
turbo charger support
normal dcp set curr to 2A
Change-Id: I9f10729d0232e906210cec9bc30a9afa61a637d7
Signed-off-by: xuwei9 <xuwei9@mt.com>
Reviewed-on: https://gerrit.mot.com/
1313083
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
xuwei9 [Fri, 22 Feb 2019 06:50:53 +0000 (14:50 +0800)]
kernel:turbo charger support
turbo charger support
kernel code
Change-Id: Iee02d57987ba73a227007806e2a9a10ff73c5297
Signed-off-by: xuwei9 <xuwei9@mt.com>
Reviewed-on: https://gerrit.mot.com/
1313086
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
dengwei1 [Fri, 22 Feb 2019 04:48:01 +0000 (12:48 +0800)]
arch/arm: sdcard enable uhs mode
this mode was removed on EVT due to hw issue.
now hw has fixed it and odm has tested it.
Change-Id: I1f25e267c2098ee112e05bf633ec10fab03402b1
Signed-off-by: dengwei1 <dengwei1@motorola.com>
Reviewed-on: https://gerrit.mot.com/
1312967
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
yaozm1 [Thu, 21 Feb 2019 09:15:57 +0000 (17:15 +0800)]
asoc:add support for in-call music
This is a patch from samsung.
Part2 of the kernel change.
Change-Id: I00307845e62cc990a9869339c95dde36fef80b64
Signed-off-by: yaozm1 <yaozm1@mt.com>
Reviewed-on: https://gerrit.mot.com/
1312481
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
yaozm1 [Thu, 21 Feb 2019 09:09:49 +0000 (17:09 +0800)]
arm/dts:Add support for in-call music play
This is a patch from Samsung.
Part1 for kernel change.
Change-Id: I9a7c09f1255d7f5ef1fa1de590136ab21e2cea2a
Signed-off-by: yaozm1 <yaozm1@mt.com>
Reviewed-on: https://gerrit.mot.com/
1312480
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
Wooyeon Kim [Mon, 18 Feb 2019 11:09:59 +0000 (20:09 +0900)]
[9610][Robusta2] dtsi: camera: set internal vc offset
- buffer that related PDAF offset set to "1"
PR JIRA ID: CPR-710
Change-Id: I85051838da238cd29d7fedcbc10611fbcfb4239f
Signed-off-by: Wooyeon Kim <wooy88.kim@samsung.com>
Wooyeon Kim [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>
Dohyun Kim [Thu, 14 Feb 2019 08:12:49 +0000 (17:12 +0900)]
[9610] fimc-is2: remove unpair release_lock at gm1sp cis
PR JIRA ID: CPR-702
Change-Id: I9a7dde4d82c770e5fb0e91f9cd73e69cdf7bcb94
Signed-off-by: Dohyun Kim <dh5.kim@samsung.com>
Dohyun Kim [Mon, 18 Feb 2019 05:55:51 +0000 (14:55 +0900)]
[9610] arm64: dtsi: Fix fimc_is_sensor2 use only dma2 ch
PR JIRA ID: CPR-708
Change-Id: I50ef46c56e331b03652f0d6e9c2e92e23d6abec8
Signed-off-by: Dohyun Kim <dh5.kim@samsung.com>
lingsen1 [Wed, 20 Feb 2019 07:48:38 +0000 (15:48 +0800)]
rebase samsung Feb17
Change-Id: I2a5f51a96460020c0c22fe74f3b3da3496f34207
Reviewed-on: https://gerrit.mot.com/
1311648
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Submit-Approved: Lu Lu <lulu2@mt.com>
Reviewed-by: Guolin Wang <wanggl3@mt.com>
sunyue5 [Wed, 20 Feb 2019 01:13:50 +0000 (09:13 +0800)]
Troika : defconfig: 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 Key
xuwei9 [Fri, 15 Feb 2019 13:25:10 +0000 (21:25 +0800)]
kernel:thermal bat thermistor change
use thermal temperature
as battery temp
Change-Id: I264cd804814cf46fbc4de4b257f64b12d625e0c4
Signed-off-by: xuwei9 <xuwei9@mt.com>
Reviewed-on: https://gerrit.mot.com/
1310122
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
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
xuwei9 [Fri, 15 Feb 2019 05:39:59 +0000 (13:39 +0800)]
dtsi:turbo charger 3A current
Turbo charger 3A
current setting
Change-Id: I5dbf45ce49d42dc7f2620b1cf19099fc0bf4763e
Signed-off-by: xuwei9 <xuwei9@mt.com>
Reviewed-on: https://gerrit.mot.com/
1309257
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
Wen Xie [Fri, 15 Feb 2019 05:19:21 +0000 (13:19 +0800)]
sensor: According to datasheet modify Sar Sensor Power
According to SX9331 datasheet:
One channel's current consumption is 27uA(Active states),
use five channels,so current consumption is 135uA(Active).
On the upper level,we virtual sar sensor into three sensors,
so set sensor power to 45uA.
Change-Id: I1e1a0d6f31d81421bb375dd7fcfbec4cfe14e739
Signed-off-by: Wen Xie <xiewen3@motorola.com>
Reviewed-on: https://gerrit.mot.com/
1309253
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Yuchang Guo <guoyc1@mt.com>
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
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
tanhua1 [Wed, 13 Feb 2019 11:57:37 +0000 (19:57 +0800)]
modify backlight chip configration for black screen
Modify Backlight driver PWM hysteresis from 4LSBs to 3LSBs.
Fix the backlight can not be turned on after resume.
Change-Id: I8cfbc450f9920085ccdd79c42fa949a0369ea99d
Signed-off-by: xingbin <xingbin@huaqin.com>
Reviewed-on: https://gerrit.mot.com/
1308605
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
xuwei9 [Wed, 13 Feb 2019 08:26:52 +0000 (16:26 +0800)]
dtsi: Troika 2A DCP support
Troika support 2A DCP
charGing current
Change-Id: Ia2c2a1f45c1b7426d28aaa04ff5574f3cbf908b7
Signed-off-by: xuwei9 <xuwei9@mt.com>
Reviewed-on: https://gerrit.mot.com/
1308171
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
Wen Xie [Tue, 12 Feb 2019 08:44:27 +0000 (16:44 +0800)]
chub: Report chub issue to dropbox
Report chub issue to dropbox, please note that when bug2go receive it,
dump files may not exist for dumpping action is executed by sensors hal.
Change-Id: I3597eb51ba1b86789a2e4da2c17d34115032859c
Signed-off-by: Wen Xie <xiewen3@motorola.com>
Reviewed-on: https://gerrit.mot.com/
1307564
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Yuchang Guo <guoyc1@mt.com>
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
a17671 [Tue, 12 Feb 2019 06:28:45 +0000 (14:28 +0800)]
f_mtp:Remove the unneccessary QCOM changes
QCOM mtp only allow one mtp instance at a time
While Samsung needs to have both mtp and ptp instances
Remove the unneccessary QCOM code
Change-Id: I820b5dd84a3a651aa3c0b10da9fc2076b6097d68
Signed-off-by: a17671 <a17671@motorola.com>
Reviewed-on: https://gerrit.mot.com/
1307514
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Reviewed-by: Jun Zhang <zhangj10@motorola.com>
Submit-Approved: Jira Key
tanhua1 [Mon, 11 Feb 2019 06:39:47 +0000 (14:39 +0800)]
dts: fix CtsAccessibilityGestureDectector issue.
fix CTS case: android.accessibilityservice.cts.
AccessibilityGestureDetectorTest#testRecognizeGesturePath
Change-Id: Id6ea0ffb7f20a6ac7bff03443d6d6f47e05fb862
Signed-off-by: tanhua1 <tanhua1@mt.com>
Reviewed-on: https://gerrit.mot.com/
1307158
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
Marcos Costa [Tue, 22 Jan 2019 07:48:56 +0000 (05:48 -0200)]
arm/dts: Add channel-id mapping table.
'carrier-channel-ids.dtsi' copied from bp-shm2018
branch on 01/22/2019.
Change-Id: I5a98c994bfde07129ab730e878126c13d574c569
Reviewed-on: https://gerrit.mot.com/
1298242
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Dingwei Luo <luodw1@motorola.com>
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
a17671 [Sun, 3 Feb 2019 06:25:20 +0000 (14:25 +0800)]
f_fs.c:Pick up QCOM fixes for adb stability issue
USB: gagget: f_fs: Return error if TX req is queued during device offline
when USB cable is disconnected during TX data transfers, endpoints will
be disabled during function disable. If userspace client tries to queue
requests on disabled endpoints, driver will wait till endpoints are
enabled and then queues previous session requests. This results in kernel
driver and userspace driver out of sync and due to this, stall will be
seen. Hence fix this issue by returning error value if client tries to
queue requests on TX endpoint during device offline.
CRs-Fixed: 633497
Change-Id: I3e43b8a704367aff7fe8dd88159315aef811c51c
Signed-off-by: Vijayavardhan Vennapusa <vvreddy@codeaurora.org>
Signed-off-by: Mayank Rana <mrana@codeaurora.org>
USB: f_fs: Check error status before doing epfile I/O
Set error status before disabling endpoint during function
disable and also check error status before handling I/O. If error
status is set, return error status to read/write calls made by
userspace. Also set file's private data to NULL during epfile
release.
CRs-Fixed: 671880
Change-Id: I14b5ee541dfc18a7802ef4a8033878a7729d9adb
Signed-off-by: Vijayavardhan Vennapusa <vvreddy@codeaurora.org>
USB: f_fs: Add memory barrier before atomic operations
In few instances, it is observed that multiple adbd instances are
running on device causing condition BUG_ON(ffs->gadget) to be true.
ffs->opened and ffs->ref atomic variables are used here to make
decision for checking ffs->gadget. These atomic variable operations
requires expilict memory barrier to make sure that update to
ffs->gadget is visible to other CPUs before updated atomic variable
based value is seen. This change also adds explicit memory barriers
before reading or modified any atomic varaiables.
CRs-Fixed: 793733
Change-Id: I3c846eb6bbb53663892e05d51ebac8439aac957a
Signed-off-by: Mayank Rana <mrana@codeaurora.org>
Change-Id: I48389d8d922e30aeb1215207ba138e36799df250
Signed-off-by: a17671 <a17671@motorola.com>
Reviewed-on: https://gerrit.mot.com/
1304658
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
a17671 [Sat, 2 Feb 2019 02:33:27 +0000 (10:33 +0800)]
f_mtp:Increase the MTP buffer request buffer size
Increase the MTP buffer request size
To improve the throughput rate
Change-Id: Ia022787f45c1951fc183d3b535bb8df59ea09619
Signed-off-by: a17671 <a17671@motorola.com>
Reviewed-on: https://gerrit.mot.com/
1304532
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Wei Deng <dengwei1@motorola.com>
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
xuwei9 [Sat, 2 Feb 2019 07:44:56 +0000 (15:44 +0800)]
dts:charger parameter update
charger paramter
update
Change-Id: I4b801b4653c5e2d1337619cd58b4521e4385141f
Signed-off-by: xuwei9 <xuwei9@mt.com>
Reviewed-on: https://gerrit.mot.com/
1304589
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
xuwei9 [Sat, 2 Feb 2019 07:47:35 +0000 (15:47 +0800)]
kernel:update charger parameter
update charger
parameter
Change-Id: I5423f2263a14eb086da07655b5f64c9a56aed55f
Signed-off-by: xuwei9 <xuwei9@mt.com>
Reviewed-on: https://gerrit.mot.com/
1304590
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
wangdw10 [Sat, 2 Feb 2019 02:46:28 +0000 (10:46 +0800)]
kane: arm/dts: change I2C clock to 400KHz as AF issue
this is a temp change
CRs-fixed: (CR)
Change-Id: I2148117f9efaa12d950f17cccece5868fa05fb5b
Signed-off-by: wangdw10 <wangdw10@mt.com>
Reviewed-on: https://gerrit.mot.com/
1304533
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Dawei Wang <wangdw10@motorola.com>
Reviewed-by: Zhichao Chen <chenzc2@motorola.com>
Submit-Approved: Jira Key
Wooyeon Kim [Wed, 30 Jan 2019 07:07:45 +0000 (16:07 +0900)]
[COMMON] fimc-is2: implement Fast AF Triggering for decrease AF control delay
- copy afMode & afTrigger at only CONTINUOUS mode & trigger start
when qbuf frame, copy queued frame
Change-Id: I5f5bffbfa659b6ddf027338937404b8add3a718c
Signed-off-by: Wooyeon Kim <wooy88.kim@samsung.com>
Wooyeon Kim [Thu, 31 Jan 2019 09:00:22 +0000 (18:00 +0900)]
[9610][Robusta2] dtsi: camera: increase front default preview MIF level
- L5 -> L3 increased for BDS 1/2, 24MP sensor mode scenario
PR JIRA ID: CPR-655
Change-Id: I8e0c2fe6d4fb81554ac55bc02a77a9618ead033f
Signed-off-by: Wooyeon Kim <wooy88.kim@samsung.com>
a17671 [Fri, 1 Feb 2019 05:19:09 +0000 (13:19 +0800)]
f_mtp:Fix ptp kernel panic in factory mode
cdev could be null in the switching
PTP case, check the state before reading
To fix the panic issue
Change-Id: I30471023a72457854140ae867ed3977fba834dc0
Signed-off-by: a17671 <a17671@motorola.com>
Reviewed-on: https://gerrit.mot.com/
1303922
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
zhangh12 [Thu, 31 Jan 2019 10:13:52 +0000 (18:13 +0800)]
config: enable tee debug on debug build.
Change-Id: Ie36d8625f933d6ba0caeeae678e29867d881144d
Signed-off-by: zhangh12 <zhangh12@motorola.com>
Reviewed-on: https://gerrit.mot.com/
1303580
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Hua Tan <tanhua1@motorola.com>
Submit-Approved: Jira Key
xuwei9 [Thu, 31 Jan 2019 05:56:55 +0000 (13:56 +0800)]
kernel:aw8695 rtp vibrate feature
aw8695 rtp vibrate feature
wave id
Change-Id: Ibcba4333774d32dee00be56c336e072b829862f8
Signed-off-by: xuwei9 <xuwei9@mt.com>
Reviewed-on: https://gerrit.mot.com/
1303448
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
wangdw10 [Thu, 31 Jan 2019 01:35:56 +0000 (09:35 +0800)]
Troika : defconfig: add camera support
enable camera for Troika project
Change-Id: I33d4aa499e4e3e8806b4a4e53c00d252245b09eb
Signed-off-by: wangdw10 <wangdw10@mt.com>
Reviewed-on: https://gerrit.mot.com/
1303363
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Dawei Wang <wangdw10@motorola.com>
Reviewed-by: Zhichao Chen <chenzc2@motorola.com>
Submit-Approved: Jira Key
wangdw10 [Thu, 31 Jan 2019 01:35:07 +0000 (09:35 +0800)]
Troika : arm/dts: add camera config for Troika
use different dtsi file for kane and Troika
Change-Id: I34788fbb0bbc1da6736b2d75233d49147ffbe536
Signed-off-by: wangdw10 <wangdw10@mt.com>
Reviewed-on: https://gerrit.mot.com/
1303362
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Dawei Wang <wangdw10@motorola.com>
Reviewed-by: Zhichao Chen <chenzc2@motorola.com>
Submit-Approved: Jira Key
wangdw10 [Wed, 30 Jan 2019 08:22:59 +0000 (16:22 +0800)]
kane: arm/dts: camera: update camera I2C clock and AF voltage
I2C: 1MHz, Voltage: 2.7V to fix AF fail issue
Moto CRs-fixed:(CR)
Change-Id: I42585a588899a1dcd6bda7b437542437e8279905
Signed-off-by: wangdw10 <wangdw10@mt.com>
Reviewed-on: https://gerrit.mot.com/
1303008
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Hua Tan <tanhua1@motorola.com>
SME-Granted: Sen Ling <lingsen1@mt.com>
Submit-Approved: Lu Lu <lulu2@mt.com>
wangdw10 [Tue, 29 Jan 2019 07:00:38 +0000 (15:00 +0800)]
kane: arm/dts: use 400KHz I2C for rear camera
Moto CRs-fixed:(CR)
Change-Id: I9cc2567e55a7f5359f7b0ff6cbf10dd2124673fe
Signed-off-by: wangdw10 <wangdw10@mt.com>
Reviewed-on: https://gerrit.mot.com/
1303007
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Hua Tan <tanhua1@motorola.com>
SME-Granted: Sen Ling <lingsen1@mt.com>
Reviewed-by: Sen Ling <lingsen1@mt.com>
Submit-Approved: Lu Lu <lulu2@mt.com>
yaozm1 [Wed, 30 Jan 2019 03:07:31 +0000 (11:07 +0800)]
Madera-core:Add hard reset as part of resume
This is a patch from cirrus.
Do hard reset first instead of softreset
Change-Id: I2e39289a70f6ba1ee3f1e5f61cbb4611eb06a4d2
Signed-off-by: yaozm1 <yaozm1@mt.com>
Reviewed-on: https://gerrit.mot.com/
1302929
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
huangzq2 [Tue, 29 Jan 2019 13:38:58 +0000 (21:38 +0800)]
clean the kernel configs and include samsung user kernel config by default
Change-Id: Iacca1f4961ccc0485f5b8721555f7fd922077c77
Signed-off-by: huangzq2 <huangzq2@motorola.com>
Reviewed-on: https://gerrit.mot.com/
1302631
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
Wooyeon Kim [Fri, 25 Jan 2019 07:20:38 +0000 (16:20 +0900)]
[COMMON] fimc-is2: fix some wrong print of DW9839 actual position
- if ADC_MSB register is read wrong, wrong actual position is caculated
PR JIRA ID: CPR-624
Change-Id: Ib9c0e94729cc08f005df1297a8a0b9f414c4faee
Signed-off-by: Wooyeon Kim <wooy88.kim@samsung.com>
Wooyeon Kim [Thu, 24 Jan 2019 09:59:25 +0000 (18:59 +0900)]
[COMMON] fimc-is2: add condition for flash S2MU106 initilize
- when flash init, if flash is turned on, do off
PR JIRA ID: CPR-618
Change-Id: I58aa9d8e39dc526a172b9f4f0ae658b992c4d9f6
Signed-off-by: Wooyeon Kim <wooy88.kim@samsung.com>
Wooyeon Kim [Mon, 17 Dec 2018 04:40:43 +0000 (13:40 +0900)]
[9610] arm64: dtsi: camera-pp: add io-coherency setting in GDC node
- add dma-coherent in camerapp-gdc
PR JIRA ID : CPR-531
Change-Id: I6e0753de5ace6e49d29c54dcca608a3eb2158239
Signed-off-by: Wooyeon Kim <wooy88.kim@samsung.com>
xuwei9 [Mon, 28 Jan 2019 10:01:37 +0000 (18:01 +0800)]
kernel:vibrator seq id change
Change vib seq id according
to framework layer
Change-Id: Id14f6509203956d74ae1047bec154360a4478e27
Signed-off-by: xuwei9 <xuwei9@mt.com>
Reviewed-on: https://gerrit.mot.com/
1302007
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
yaozm1 [Mon, 28 Jan 2019 06:21:55 +0000 (14:21 +0800)]
asoc:Fix sound loss during conference call
It happens only for speaker mode.
It's triggered by ap sleep mode.
Change-Id: Ia1f2f6fbde0f74787dbb5f4f9fada444a3c4fce9
Signed-off-by: yaozm1 <yaozm1@mt.com>
Reviewed-on: https://gerrit.mot.com/
1301871
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
Wen Xie [Sat, 26 Jan 2019 07:16:05 +0000 (15:16 +0800)]
snesor: add calibration function for usb and handset
1.Add calibration function for usb and handset;
2.Adjust the debug log.
Change-Id: Ia5e4354bad05d59d0d501fcf3459bcffdbdb4be6
Signed-off-by: Wen Xie <xiewen3@motorola.com>
Reviewed-on: https://gerrit.mot.com/
1301910
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
huangzq2 [Fri, 25 Jan 2019 09:46:58 +0000 (17:46 +0800)]
balance anon/file reclaim
Change-Id: I0ad49bb3e6b0b20fc2f23f8cf3a08e73f7cc2b00
Signed-off-by: huangzq2 <huangzq2@motorola.com>
Reviewed-on: https://gerrit.mot.com/
1301255
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Hua Tan <tanhua1@motorola.com>
Submit-Approved: Jira Key
yao zhengming [Fri, 25 Jan 2019 04:05:56 +0000 (23:05 -0500)]
arm/dts:Pick from ODM's base
(CR):[Kane][audio]kernel:spk id gpio config error
1,add pin configuration for gpm25,and disable pud
Change-Id: Ibd1ee4daf8562d175425158e8d6e2e601e24f395
Signed-off-by: zhangjiaquan <zhangjiaquan@huaqin.com>
Signed-off-by: yaozm1 <yaozm1@mt.com>
Reviewed-on: https://gerrit.mot.com/
1301198
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
luodw1 [Fri, 25 Jan 2019 08:38:55 +0000 (16:38 +0800)]
add print active wakelocks when suspend failed
Change-Id: I44b12cd76773c4923349b47b9d35d89dad0f4602
Signed-off-by: luodw1 <luodw1@motorola.com>
Reviewed-on: https://gerrit.mot.com/
1301196
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
yao zhengming [Thu, 24 Jan 2019 11:01:16 +0000 (06:01 -0500)]
Madera:Pick cirrus' patch from ODM's base
(CR):[Kane][audio]kernel:Add soft reset as part of resume
1,madera can not power down DCVDD ,so need soft reset when resume
Change-Id: I3d3291c25c6a846bcf3123fc8d1f0741a3963eb0
Signed-off-by: zhangjiaquan <zhangjiaquan@huaqin.com>
(cherry picked from commit
71c5fd1c8dfaf351ff9eec2aae7bd98926eb9741)
Signed-off-by: yaozm1 <yaozm1@mt.com>
Reviewed-on: https://gerrit.mot.com/
1300905
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
yao zhengming [Tue, 22 Jan 2019 04:55:40 +0000 (23:55 -0500)]
ASOC:Pickup marley codec patch from ODM's base
(CR):[Kane][audio]kernel:hp and ep switch to mono mode
1,hp and ep switch to mono mode,because ep and hp switch ,the
stereo mode can not be setted again
2,solution: add the "HPOUT1 Mono Switch" to set mono and stereo
mode
Change-Id: I9bc05a373a3639e8194d8d330c20caf79d75f8ee
Signed-off-by: zhangjiaquan <zhangjiaquan@huaqin.com>
Signed-off-by: yaozm1 <yaozm1@mt.com>
Reviewed-on: https://gerrit.mot.com/
1300904
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
sunyue5 [Thu, 24 Jan 2019 08:57:58 +0000 (16:57 +0800)]
scsc: Add sysfs to enable/disable MAC randomisation
We need disable MAC randomisation for some test and debug
This change is to add a module parameter mac_randomisation_disabled
to enable/disable MAC randomisation.
Change-Id: I84a2f625ecb2f5c3a38b8041e909af1f8dfd8c18
Signed-off-by: sunyue5 <sunyue5@motorola.com>
Reviewed-on: https://gerrit.mot.com/
1300264
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Hua Tan <tanhua1@motorola.com>
Submit-Approved: Jira Key
Soomin Kim [Thu, 10 Jan 2019 14:57:51 +0000 (23:57 +0900)]
[RAMEN9610-10736][9610] arm64: dtsi: GPIO optimization ver3
Change-Id: I4f6c19350b45cde65723a67fe328fcdd0e56705a
Signed-off-by: Soomin Kim <sm8326.kim@samsung.com>
Soomin Kim [Thu, 10 Jan 2019 14:30:50 +0000 (23:30 +0900)]
[RAMEN9610-10736][9610] arm64: dtsi: GPIO optimization ver2
Change-Id: I8a85eaf005716b32f06af284c5b9cc3e1eb4f428
Signed-off-by: Soomin Kim <sm8326.kim@samsung.com>
Soomin Kim [Thu, 10 Jan 2019 14:10:36 +0000 (23:10 +0900)]
[RAMEN9610-10736][9610] arm64: dtsi: Define sleep gpio initial value
Change-Id: Ib71bc2a4940bac5e98e5c23f7294dc3e1085fcf7
Signed-off-by: Soomin Kim <sm8326.kim@samsung.com>
Soomin Kim [Thu, 10 Jan 2019 14:01:24 +0000 (23:01 +0900)]
[RAMEN9610-10736][9610][ERD] arm64: configs: Enable sleep gpio
Change-Id: Id680941ed7f41a2135618e958958983742bee8ba
Signed-off-by: Soomin Kim <sm8326.kim@samsung.com>
Soomin Kim [Fri, 6 Jul 2018 01:55:26 +0000 (10:55 +0900)]
[RAMEN9610-10736][COMMON] soc: samsungs: Add a SLEEP_GPIO driver
This driver gets GPIOs have proper setting value of
CON_PDN, PUD_PDN SRFs. Also, if there is no these
SFRs, it controls CON, PUD value before entering
and after exiting suspend.
Change-Id: I1ac9ec3e2babe0dd0eef94fbd353f1d56fd6b799
Signed-off-by: Soomin Kim <sm8326.kim@samsung.com>
Conflicts:
drivers/soc/samsung/Makefile
yindong [Fri, 18 Jan 2019 06:02:10 +0000 (14:02 +0800)]
(CR) :[kane][device] Modification Sar Sensor Power From 3mA to 0.5mA
Modification Sar Sensor Power From 3mA to 0.5mA
Change-Id: Iff4dddf9f3a70d39d8ff6345eb50b3e16a4b5da3
Signed-off-by: yindong <yindong@huaqin.com>