GitHub/MotorolaMobilityLLC/kernel-slsi.git
5 years agofs/exfat: import oriGinal library v1.2.9
Shiyong Li [Thu, 7 Dec 2017 00:16:32 +0000 (16:16 -0800)]
fs/exfat: import oriGinal library v1.2.9

oriGinal repo: https://github.com/dorimanx/exfat-nofuse

latest commit:
commit de4c760
Author: Yuri.Sh <dorimanx@users.noreply.github.com>
Date:   Tue Jun 20 00:56:18 2017 +0300

    Merge pull request #116 from ian-abbott/no-krel

    Makefile: remove KREL

Change-Id: I918688177815d21a3227e740ef36680f0913d4f9
Signed-off-by: Shiyong Li <a22381@motorola.com>
Reviewed-on: https://gerrit.mot.com/1102174
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Igor Kovalenko <igork@motorola.com>
Submit-Approved: Jira Key
Reviewed-on: https://gerrit.mot.com/1276876
Reviewed-by: Hua Tan <tanhua1@motorola.com>
5 years agoarm/defconfig: remove unused config
zhaoxp3 [Mon, 3 Dec 2018 05:22:08 +0000 (13:22 +0800)]
arm/defconfig: remove unused config

remove unused kernel config
Change-Id: I515cf98c8c756623138f1881f656ec7b2238e003
Signed-off-by: zhaoxp3 <zhaoxp3@motorola.com>
Reviewed-on: https://gerrit.mot.com/1276836
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Submit-Approved: Jira Key

5 years agoarm/defconfig: update user config to ext config
zhaoxp3 [Fri, 30 Nov 2018 02:43:24 +0000 (10:43 +0800)]
arm/defconfig: update user config to ext config

update defconfig for user build
Change-Id: Idf93aa32c17f450d706ce3d4fc29a8b42fd6eee3
Signed-off-by: zhaoxp3 <zhaoxp3@motorola.com>
Reviewed-on: https://gerrit.mot.com/1276083
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Submit-Approved: Jira Key

5 years agoext_config:Config the default vbus draw to 500mA
a17671 [Thu, 29 Nov 2018 07:41:28 +0000 (15:41 +0800)]
ext_config:Config the default vbus draw to 500mA

Update the default usb gadget vbus draw to 500mA
Instead of 2

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

5 years agogadget:Update the default vbus draw
a17671 [Thu, 29 Nov 2018 07:15:08 +0000 (15:15 +0800)]
gadget:Update the default vbus draw

Update the highspeed vbus draw to 500mA
And super speed vbus draw to 900mA

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

5 years agousbpd:Fix the usbpd interrupt storm issue
a17671 [Thu, 29 Nov 2018 02:16:57 +0000 (10:16 +0800)]
usbpd:Fix the usbpd interrupt storm issue

Samsung usbpd interrupt is triggered by level
Instead of edge, the irq service handle shall
Disable the interrupt first and later enable
It after it got processed.

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

5 years agousbpd:Samsung usbpd too many detachment issue fix
a17671 [Tue, 27 Nov 2018 09:47:34 +0000 (17:47 +0800)]
usbpd:Samsung usbpd too many detachment issue fix

Samsung usbpd driver issue too many DETACH notification
That cause adb connection problem after reboot

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

5 years agokane: input add touch firmware update sh
dengwei1 [Thu, 22 Nov 2018 00:42:23 +0000 (08:42 +0800)]
kane: input add touch firmware update sh

add touch firmware sh
which is from moto platform

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

5 years agokane: Enable tee log for fingerprint debug
chenl18 [Wed, 21 Nov 2018 05:47:16 +0000 (13:47 +0800)]
kane: Enable tee log for fingerprint debug

Tee log is closed in defult state. If need open it, please
write 1 to 'swd_debug' sys node.

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

5 years agosoc:exynos-reboot:Add the last powerup reason back
a17671 [Wed, 21 Nov 2018 04:24:44 +0000 (12:24 +0800)]
soc:exynos-reboot:Add the last powerup reason back

Last power up reason code was missed
Add them back to handle the panic correctly

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

5 years agokernel: disable hq factory restriction charGing func
xuwei9 [Mon, 19 Nov 2018 06:35:46 +0000 (14:35 +0800)]
kernel: disable hq factory restriction charGing func

Disable hq restriction
charGing function

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

5 years agoPhone always pop error dialog in booting time.
qiaoshan1 [Fri, 16 Nov 2018 08:01:30 +0000 (16:01 +0800)]
Phone always pop error dialog in booting time.

             Add missed config:
                 CONFIG_CRYPTO_SHA512
                 CONFIG_NETFILTER_XT_MATCH_BPF

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

5 years agoprintk: add cpu info into kernel log
zhaoxp3 [Thu, 15 Nov 2018 06:40:57 +0000 (14:40 +0800)]
printk: add cpu info into kernel log

Append cpu# to timestamp of per line kernel message.

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

5 years agoutags:sync same owner permission
zhaoxp3 [Thu, 15 Nov 2018 05:43:37 +0000 (13:43 +0800)]
utags:sync same owner permission

utags needs to be read-write in tcmd daemon whose group id is
system,many operation need group write permission like root user.

1.tcmd needs to add new node by lock and new operation
2.tcmd needs to access node /proc/config/all/new etc

https://gerrit.mot.com/1236562
https://gerrit.mot.com/1235016
https://gerrit.mot.com/1231861

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

5 years agotune kernel and system, wave 2
huangzq2 [Thu, 15 Nov 2018 00:32:09 +0000 (08:32 +0800)]
tune kernel and system, wave 2

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

5 years agoDisable page alloc debug by default
huangzq2 [Wed, 14 Nov 2018 10:15:14 +0000 (18:15 +0800)]
Disable page alloc debug by default

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

5 years agotune the kernel and system
huangzq2 [Wed, 14 Nov 2018 09:35:24 +0000 (17:35 +0800)]
tune the kernel and system

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

5 years agokernel:add charger in voltage node
xuwei9 [Mon, 12 Nov 2018 08:09:10 +0000 (16:09 +0800)]
kernel:add charger in voltage node

add charger in voltage
fix samsung bug

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

5 years agokernel: charge only mode charge detection
xuwei9 [Fri, 9 Nov 2018 10:37:23 +0000 (18:37 +0800)]
kernel: charge only mode charge detection

charge type detection
charge only mode

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

5 years agoarm/config: Add kane debug config
sunyue5 [Mon, 5 Nov 2018 13:42:59 +0000 (21:42 +0800)]
arm/config: Add kane debug config

Add debug-erd9610-kane.config as kane debug config

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

5 years agodrivers: add check samsung panic reboot cmd
luodw1 [Wed, 7 Nov 2018 05:07:51 +0000 (13:07 +0800)]
drivers: add check samsung panic reboot cmd

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

5 years agokernel:change samsung charge current format
xuwei9 [Mon, 5 Nov 2018 05:46:52 +0000 (13:46 +0800)]
kernel:change samsung charge current format

Change samsung charge current
format charGing:- discharge:+

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

5 years agodrivers set default reboot reason is panic
luodw1 [Fri, 2 Nov 2018 09:07:09 +0000 (17:07 +0800)]
drivers set default reboot reason is panic

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

5 years agodts modifed the utags partition path define
luodw1 [Fri, 2 Nov 2018 09:10:23 +0000 (17:10 +0800)]
dts modifed the utags partition path define

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

5 years agoarm64/dts: remove moto dts from wing board
zhaoxp3 [Thu, 25 Oct 2018 09:28:09 +0000 (17:28 +0800)]
arm64/dts: remove moto dts from wing board

wingboard is not supported
Change-Id: Ia28f40162832b766c291311244e2dcc3489d348e
Signed-off-by: zhaoxp3 <zhaoxp3@motorola.com>
Reviewed-on: https://gerrit.mot.com/1260792
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Submit-Approved: Jira Key

5 years agommi: export ram info
zhaoxp3 [Tue, 23 Oct 2018 07:08:57 +0000 (15:08 +0800)]
mmi: export ram info

export ram info from props
Change-Id: Ib1a4eb961e7356fedc281f3c06ca3d3a8c361aaf
Signed-off-by: zhaoxp3 <zhaoxp3@motorola.com>
Reviewed-on: https://gerrit.mot.com/1259375
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Submit-Approved: Jira Key

5 years agokernel/dts:change thermal ntc sesnsor name
xuwei9 [Tue, 23 Oct 2018 02:52:41 +0000 (10:52 +0800)]
kernel/dts:change thermal ntc sesnsor name

Change thermal ntc sensor
sysfs node name

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

5 years agoarch: add log output in BUG() define
luodw1 [Fri, 19 Oct 2018 06:32:03 +0000 (14:32 +0800)]
arch: add log output in BUG() define

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

5 years agodriver: add moto reboot reason
luodw1 [Thu, 18 Oct 2018 02:24:59 +0000 (10:24 +0800)]
driver: add moto reboot reason

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

5 years agokernel/dts:define the thermal node for kane
xuwei9 [Tue, 16 Oct 2018 06:08:58 +0000 (14:08 +0800)]
kernel/dts:define the thermal node for kane

Enablel thermal node
for Kane

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

5 years agoarm64/dts: Add aov-trigger support
yaozm1 [Mon, 15 Oct 2018 09:28:01 +0000 (17:28 +0800)]
arm64/dts: Add aov-trigger support

Enable aov-trigger driver
Add dts support

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

5 years agokernel/config: add aov_trigger driver
yaozm1 [Mon, 15 Oct 2018 08:28:04 +0000 (16:28 +0800)]
kernel/config: add aov_trigger driver

Enable aov trigger
Set CONFIG_SND_SOC_AOV_TRIGGER as y

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

5 years agoasoc:Add aov trigger driver
yaozm1 [Mon, 15 Oct 2018 08:24:37 +0000 (16:24 +0800)]
asoc:Add aov trigger driver

Enable aov trigger driver
Fix compile issue

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

5 years agoEnable Motorola dropbox driver
a17671 [Tue, 9 Oct 2018 06:39:45 +0000 (14:39 +0800)]
Enable Motorola dropbox driver

Enable Moto dropbox driver to
Provide interface for other drivers
So they could report issue to system dropbox

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

5 years agoAdd Motorola dropbox driver
a17671 [Tue, 9 Oct 2018 06:38:38 +0000 (14:38 +0800)]
Add Motorola dropbox driver

Add Moto dropbox driver to
Provide interface for other drivers
So they could report issue to system dropbox

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

5 years agoarm64/dts: add utags/hw partition
zhaoxp3 [Tue, 9 Oct 2018 02:09:34 +0000 (10:09 +0800)]
arm64/dts: add utags/hw partition

add utags partition entry
add hw partition entry
Change-Id: I34ca21574fe01b87a418ccb3cabcc4abd3357476
Signed-off-by: zhaoxp3 <zhaoxp3@motorola.com>
Reviewed-on: https://gerrit.mot.com/1252385
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Submit-Approved: Jira Key

5 years agosoc:exynos-reboot:Store the last powerup reason to INFORM9
a17671 [Mon, 8 Oct 2018 09:49:12 +0000 (17:49 +0800)]
soc:exynos-reboot:Store the last powerup reason to INFORM9

Set the last power up reason register to INFORM9 register
According to the reboot parameter from kpreadwrite

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

5 years agousb:rndis:Fix the no auto installation problem
a17671 [Sat, 29 Sep 2018 05:51:40 +0000 (13:51 +0800)]
usb:rndis:Fix the no auto installation problem

The samsung rndis driver has to be manually installed on Windows
Switch the function class to wireless controller to trigger auto
Installation on Windows

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

5 years agoscsc: avoid panic when getting bt/wifi mac
sunyue5 [Thu, 27 Sep 2018 09:43:08 +0000 (17:43 +0800)]
scsc: avoid panic when getting bt/wifi mac

Fix a slip of sscanf usage

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

5 years agoserial:Remove the spam samsung serial messges
a17671 [Wed, 26 Sep 2018 09:05:30 +0000 (17:05 +0800)]
serial:Remove the spam samsung serial messges

Samsung serial driver will generate spam kernel messages
If the rx pin got floated, disable the log for now

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

5 years agousb:gadget:Avoid double free pointer
a17671 [Wed, 26 Sep 2018 09:03:13 +0000 (17:03 +0800)]
usb:gadget:Avoid double free pointer

Reset the pointer to NULL after free
To avoid the double free of pointer

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

5 years agokernel/config:enable external ntc thermistor at samsung
xuwei9 [Thu, 27 Sep 2018 06:31:08 +0000 (14:31 +0800)]
kernel/config:enable external ntc thermistor at samsung

enable external ntc thmistor
at sasmung platform

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

5 years agokernel: samsung moto charger feature
xuwei9 [Fri, 31 Aug 2018 08:15:16 +0000 (16:15 +0800)]
kernel: samsung moto charger feature

add moto charge feature
to suamsung platform.

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

5 years agokernel/dts: samsung moto charger feature
xuwei9 [Wed, 26 Sep 2018 01:53:26 +0000 (09:53 +0800)]
kernel/dts: samsung moto charger feature

enable moto charger feature dts
file at samsung platform

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

Conflicts:
arch/arm64/boot/dts/exynos/exynos9610_battery_data.dtsi

5 years agoFix the breakage of log_pstore function
a17671 [Wed, 19 Sep 2018 06:57:05 +0000 (14:57 +0800)]
Fix the breakage of log_pstore function

Ramoops does not work after adding annotation
Total memory size exceeds the oriGinal 2M
Reduce the ftrace_size to fix the problem

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

5 years agoDisable the MobiCoreDriver TEE log
a17671 [Tue, 18 Sep 2018 09:18:44 +0000 (17:18 +0800)]
Disable the MobiCoreDriver TEE log

Trustonic TEE log spam the kernel log messages
And consume much CPU, disable it for now

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

5 years agoPorting the sdcard panic fix from qcom
a17671 [Tue, 18 Sep 2018 09:30:19 +0000 (17:30 +0800)]
Porting the sdcard panic fix from qcom

Porting the change 226f96b0 from QCOM
Fix potential crash when reserved_mb is not zero
Author: Lianjun Huang <huanglianjun@vivo.com>
sdcardfs_mkdir() calls check_min_free_space(). When
reserved_mb is not zero, a negative dentry will be passed to
ext4_statfs at last and ext4_statfs() will crash. The parent dentry
is possitive. So we use the parrent dentry to check free space.

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

5 years agoarm64/dts:add kane model name
zhaoxp3 [Tue, 18 Sep 2018 06:53:33 +0000 (14:53 +0800)]
arm64/dts:add kane model name

Change-Id: I8ecf9b3cab5ff0a03d2539ce5973c7b95a8256e8
Signed-off-by: zhaoxp3 <zhaoxp3@motorola.com>
Reviewed-on: https://gerrit.mot.com/1242878
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Master Yoda
Submit-Approved: Jira Key

5 years agoscsc: Pick WiFi/BT MAC address from utag
sunyue5 [Tue, 31 Jul 2018 09:36:01 +0000 (17:36 +0800)]
scsc: Pick WiFi/BT MAC address from utag

Priority as following
Wifi:
1. Utag
2. Mac file
3. Samsung efs
4. Generate with Moto OUI and SoC uid
BT:
1. Utag
2. Samsung efs
3. Module parameter bluetooth_address
4. Generate with Moto OUI and SoC uid

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

5 years agommi:export device info
zhaoxp3 [Wed, 15 Aug 2018 05:33:32 +0000 (13:33 +0800)]
mmi:export device info

export unit info, ram info

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

5 years agodefconfig: enable moto specific config
zhaoxp3 [Mon, 20 Aug 2018 03:29:04 +0000 (11:29 +0800)]
defconfig: enable moto specific config

CONFIG_MMI_SOC_INFO=y
CONFIG_MMI_RAM_INFO=y
CONFIG_MMI_STORAGE_INFO=y
CONFIG_MMI_UNIT_INFO=y
CONFIG_SOFTLOCKUP_WATCHDOG_TEST=y
CONFIG_MOT_UTAG=y

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

5 years agodefconfig: add extra config for product
zhaoxp3 [Wed, 15 Aug 2018 05:22:22 +0000 (13:22 +0800)]
defconfig: add extra config for product

add extra kernel config for product

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

5 years agousb:Bringup moto f_usbnet
a17671 [Mon, 13 Aug 2018 07:33:10 +0000 (15:33 +0800)]
usb:Bringup moto f_usbnet

Motorola USBLAN driver for factory testing

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

5 years agosoc:qcom: add bootinfo support
zhaoxp3 [Mon, 6 Aug 2018 04:31:54 +0000 (12:31 +0800)]
soc:qcom: add bootinfo support

The interface would
    1. export /proc/bootinfo to user space, bugreport can use it
    2. annotate boot info to last_kmsg
port the following gerrits
    http://gerrit.mot.com/862769
    http://gerrit.mot.com/848543
    http://gerrit.mot.com/845197
    http://gerrit.mot.com/792195
    http://gerrit.mot.com/782682

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

5 years agomisc/utags: add utag access driver
zhaoxp3 [Thu, 9 Aug 2018 02:17:03 +0000 (10:17 +0800)]
misc/utags: add utag access driver

utag definitition propagation
porting list
http://gerrit.mot.com/910955
http://gerrit.mot.com/858699
http://gerrit.mot.com/856809
http://gerrit.mot.com/850978
http://gerrit.mot.com/851761
http://gerrit.mot.com/849605
http://gerrit.mot.com/844488
http://gerrit.mot.com/844746
http://gerrit.mot.com/844632
http://gerrit.mot.com/844490
http://gerrit.mot.com/832456
http://gerrit.mot.com/818566
http://gerrit.mot.com/815935
http://gerrit.mot.com/815470
http://gerrit.mot.com/807562
http://gerrit.mot.com/807536
http://gerrit.mot.com/805967
http://gerrit.mot.com/804339
http://gerrit.mot.com/805689
http://gerrit.mot.com/805007
http://gerrit.mot.com/804080
http://gerrit.mot.com/801480
http://gerrit.mot.com/799536
http://gerrit.mot.com/798608
http://gerrit.mot.com/797528
http://gerrit.mot.com/797098
http://gerrit.mot.com/796309
http://gerrit.mot.com/795636
http://gerrit.mot.com/795589
http://gerrit.mot.com/794117
http://gerrit.mot.com/784416
http://gerrit.mot.com/780040
http://gerrit.mot.com/780039
http://gerrit.mot.com/780038
http://gerrit.mot.com/780036
http://gerrit.mot.com/774315
http://gerrit.mot.com/688121
http://gerrit.mot.com/688078

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

5 years agofs:pstore:ramoops: Add annotation support to pstore
zhaoxp3 [Thu, 2 Aug 2018 06:51:07 +0000 (14:51 +0800)]
fs:pstore:ramoops: Add annotation support to pstore

Add annotation support to the pstore. This is used by bootinfo
Ported from: https://gerrit.mot.com/1102744

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

5 years agokernel:watchdog: add debugfs item for softlockup and watchdog test
zhaoxp3 [Thu, 2 Aug 2018 07:17:08 +0000 (15:17 +0800)]
kernel:watchdog: add debugfs item for softlockup and watchdog test

Port (CR).Add a kernel module to facilitate softlockup and watchdog basic
function test. Interface added:
/sys/kernel/debug/fire_softlockup_reset
/sys/kernel/debug/fire_watchdog_reset

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

5 years agokernel: sys : print task info on reboot or poweroff
zhaoxp3 [Thu, 2 Aug 2018 06:56:11 +0000 (14:56 +0800)]
kernel: sys : print task info on reboot or poweroff

Pick up (CR). The current task name(pid),
and its parent task name(pid) are printed out to console
on reboot or power off. This patch is to indicate
which task has triggered the reboot or power off.

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

5 years agoDisable AVB and enable console
a17671 [Wed, 1 Aug 2018 09:32:57 +0000 (17:32 +0800)]
Disable AVB and enable console

enable console and disable AVB in bring up stage

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

5 years ago[RAMEN9610-10371][Robusta2][9609]dts: disable USI in SHUB block
Shinkyu Park [Thu, 3 Jan 2019 01:26:14 +0000 (10:26 +0900)]
[RAMEN9610-10371][Robusta2][9609]dts: disable USI in SHUB block

[Description]
Disable to control USI in SHUB block

Platform Development Team
Shinkyu Park (shinkyu.park@samsung.com)

Change-Id: I871cbf7fee6762f71ae203e92fbd6c9bbf330803

5 years ago[9610][Robusta2] dtsi: camera: add front UHD dvfs scenario
samsung3 [Thu, 10 Jan 2019 09:03:00 +0000 (17:03 +0800)]
[9610][Robusta2] dtsi: camera: add front UHD dvfs scenario

 - for support over BDS UHD size

Change-Id: Ifbb2dc4414fd4d80e0d8c71897fb3876ee4e060c
Signed-off-by: samsung3 <wooy88.kim@samsung.com>
5 years agoEKKANE-343:[Kane]:[factory]modify the HBM operaton on suspend mode
xingbin [Thu, 10 Jan 2019 07:05:41 +0000 (15:05 +0800)]
EKKANE-343:[Kane]:[factory]modify the HBM operaton on suspend mode

Bug:EKKANE-343

Change-Id: I286d860ea1cc539ae308783eb9253dac5095f249
Signed-off-by: xingbin <xingbin@huaqin.com>
5 years agoEKKANE-343:[Kane]:[factory]modify the cabc operaton on suspend mode
xingbin [Thu, 10 Jan 2019 06:13:45 +0000 (14:13 +0800)]
EKKANE-343:[Kane]:[factory]modify the cabc operaton on suspend mode

Bug:EKKANE-492

Change-Id: Ib90fa31aef801b1c637c1e67977bf24effe38aa1
Signed-off-by: xingbin <xingbin@huaqin.com>
5 years agoEKKANE-500:Update Capsensor parameters
yanfei [Wed, 9 Jan 2019 12:36:10 +0000 (20:36 +0800)]
EKKANE-500:Update Capsensor parameters

Update Capsensor parameters

Change-Id: Ia3ba6057a6fa6850ee1e55f6b03200bfdeb43681
Signed-off-by: yanfei <yanfei5@huaqin.com>
5 years agoEKKANE-496:[Kane]:[kernel]motor solve CQA dont shake(1/1)
zhangyijie [Wed, 9 Jan 2019 09:13:45 +0000 (17:13 +0800)]
EKKANE-496:[Kane]:[kernel]motor solve CQA dont shake(1/1)

Solve Vibrator dont shake in CQA

Change-Id: Id9b6c710214f71e2c2269a672149802c8422f992

5 years ago[9610][Robusta2] dtsi: camera: modified sensor0 DMA/VC value for support gyro
Wooyeon Kim [Fri, 4 Jan 2019 07:11:35 +0000 (16:11 +0900)]
[9610][Robusta2] dtsi: camera: modified sensor0 DMA/VC value for support gyro

 - gyro can get by vc3
 - fwin stat changed to get by vc1

 PR JIRA ID: CPR-543

Change-Id: I09e3e2c96d83c322b48a9460590944a7c9c58133
Signed-off-by: Wooyeon Kim <wooy88.kim@samsung.com>
5 years ago[RAMEN9610-10151] arm64: config: Add contexthub debug mode
Boojin Kim [Fri, 21 Dec 2018 05:54:47 +0000 (14:54 +0900)]
[RAMEN9610-10151] arm64: config: Add contexthub debug mode

On contexthub debug mode, Kernel makes panic with chub crash
and enable runtime log save.

Change-Id: I63e26c84d2700fd4f0b6308ff6ed624eae1946a2
Signed-off-by: Boojin Kim <boojin.kim@samsung.com>
5 years ago[RAMEN9610-10136][MODAP-13272][NFC] dts: add nfc pd pin config
kiwoo Kwon [Fri, 28 Dec 2018 03:58:35 +0000 (12:58 +0900)]
[RAMEN9610-10136][MODAP-13272][NFC] dts: add nfc pd pin config

Change-Id: I4835105e52fc2443612e06de6f5cabec24da25e3
Signed-off-by: kiwoo Kwon <kiwo.kwon@samsung.com>
5 years agoEKKANE-209:[factory]:[kane]:lk: enter factory mode when press volumeup+power key
zhixueyin [Mon, 17 Dec 2018 07:48:22 +0000 (15:48 +0800)]
EKKANE-209:[factory]:[kane]:lk: enter factory mode when press volumeup+power key

enter factory mode when press volumeup+power key

Change-Id: I49505311d5c8fadfe8969ddd794d00305065677a

5 years ago[RAMEN9610-10143][9610] arm64: dts: enable skip init no card tray for sdcard
dukhyun kwon [Thu, 27 Dec 2018 10:31:53 +0000 (19:31 +0900)]
[RAMEN9610-10143][9610] arm64: dts: enable skip init no card tray for sdcard

Change-Id: Id81a4c82446f555013968952d80cde51621a39e2
Signed-off-by: dukhyun kwon <d_hyun.kwon@samsung.com>
5 years agoEKKANE-449:[Kane][audio]kernel:udpdate SPK PAcs35l41 driver
zhangjiaquan [Thu, 3 Jan 2019 07:11:01 +0000 (02:11 -0500)]
EKKANE-449:[Kane][audio]kernel:udpdate SPK PAcs35l41 driver

1,udpdate SPK PAcs35l41 driver
2,solve the VA current issue,now va current is 0.2ma when pa is off

Change-Id: Ic2c2b1da04831f6147b47354776e0017ad84f38a
Signed-off-by: zhangjiaquan <zhangjiaquan@huaqin.com>
5 years ago[Robusta2][9610] dtsi: camera: add multi_ch for MUX setting
Wooyeon Kim [Wed, 2 Jan 2019 07:31:36 +0000 (16:31 +0900)]
[Robusta2][9610] dtsi: camera: add multi_ch for MUX setting

 PR JIRA ID: CPR-536

Change-Id: I26762e8f485e1a3c78d0fe54c73ca468859bae90
Signed-off-by: Wooyeon Kim <wooy88.kim@samsung.com>
5 years agoEKKANE-440:[Kane][factory][audio]kernel:update the mic det debouce time to 700ms
zhangjiaquan [Wed, 2 Jan 2019 08:14:12 +0000 (03:14 -0500)]
EKKANE-440:[Kane][factory][audio]kernel:update the mic det debouce time to 700ms

1,update the mic det debouce time to 700ms
2,open the mic det log to get more info

Change-Id: Ie7ce442abf3aeec381e26d17a5095b36ce7db43f
Signed-off-by: zhangjiaquan <zhangjiaquan@huaqin.com>
5 years agoEKKANE-372:Modify for Capsensor params
yanfei [Fri, 28 Dec 2018 13:57:00 +0000 (21:57 +0800)]
EKKANE-372:Modify for Capsensor params

Modify for Capsensor params

Change-Id: I8304dab44bd49c23c897c6fcf2a747f8a0fc92e3
Signed-off-by: yanfei <yanfei5@huaqin.com>
5 years agoEKKANE-372:Modify for Capsensor params
yanfei [Fri, 28 Dec 2018 09:33:08 +0000 (17:33 +0800)]
EKKANE-372:Modify for Capsensor params

Modify for Capsensor params

Change-Id: I6cec5ca8af4ea6caa394286b0c3e97a0060de3a0
Signed-off-by: yanfei <yanfei5@huaqin.com>
5 years ago[9610][Robusta2] dtsi: camera: modified settings for support PAFSTAT
Wooyeon Kim [Thu, 27 Dec 2018 09:33:21 +0000 (18:33 +0900)]
[9610][Robusta2] dtsi: camera: modified settings for support PAFSTAT

 - modified stat DMA out to DMA2 CH0 at rear sensor
 - moved Rear2 DMA out to DMA3 CH0

 PR JIRA ID: CPR-532

Change-Id: I560cb01896a1529ca261bb2883efe19bac91f7cc
Signed-off-by: Wooyeon Kim <wooy88.kim@samsung.com>
5 years agoEKKANE-343:[Kane]:[factory]Modfiy panel into the DTSB mode
wangjiao [Thu, 27 Dec 2018 12:55:43 +0000 (20:55 +0800)]
EKKANE-343:[Kane]:[factory]Modfiy panel into the DTSB mode

Change-Id: I77f1676dae79fa573a98d9f87ddddb234c5354a8
Signed-off-by: wangjiao <wangjiao1@huaqin.com>
5 years agoEKKANE-253:[Kane][kernel]audio:spk pa not power off cause high current
zhangjiaquan [Thu, 27 Dec 2018 03:53:57 +0000 (22:53 -0500)]
EKKANE-253:[Kane][kernel]audio:spk pa not power off cause high current

1,disalbe mbox that disturb the irq when pa power off
2,update the delay to make sure pa power off status is stable

Change-Id: I0ffd8983b77aec53a9e9ab8e0ec0ae381841f887
Signed-off-by: zhangjiaquan <zhangjiaquan@huaqin.com>
5 years agoEKKANE-363[Kane]:[kernel]motor update rtp (1/2)
zhangyijie [Wed, 26 Dec 2018 09:50:05 +0000 (17:50 +0800)]
EKKANE-363[Kane]:[kernel]motor update rtp (1/2)

motor update driver for rtp mode

Change-Id: I68d1e4e4b642dfe79215e059d4e1e59dcd8c6eaa

5 years agoEKKANE-344:[kane][sensor]:optimize the sar sensor power consumption
zhangbin [Wed, 26 Dec 2018 11:54:57 +0000 (19:54 +0800)]
EKKANE-344:[kane][sensor]:optimize the sar sensor power consumption

optimize the sar sensor power consumption when suspend

Change-Id: Ib5f09e2bb884f70a4689a7176ba9143a1183a320
Signed-off-by: zhangbin <zhangbin@huaqin.com>
5 years agoEKKANE-253:[Kane][kernel]audio:spk pa not power off cause high current
zhangjiaquan [Wed, 26 Dec 2018 12:01:08 +0000 (07:01 -0500)]
EKKANE-253:[Kane][kernel]audio:spk pa not power off cause high current

1,wait the pa status to stable when power off

Change-Id: Ife2af1e7c2b35ea2edcdc883381fe62587d3c2aa
Signed-off-by: zhangjiaquan <zhangjiaquan@huaqin.com>
5 years ago[9610][Robusta2] dtsi: camera: modify DVFS level each scenarios
Wooyeon Kim [Wed, 19 Dec 2018 07:31:52 +0000 (16:31 +0900)]
[9610][Robusta2] dtsi: camera: modify DVFS level each scenarios

 - refer to Ramen_Robusta2_Camera_DVFS.xlsx in EDM

 PR JIRA ID: CPR-524

Change-Id: Ie0c63acb4a6ccbde5ad93e5662c19ef1078645f0
Signed-off-by: Wooyeon Kim <wooy88.kim@samsung.com>
5 years agoEKKANE-362:[Kane]:[factory]Modfiy the HIX83112A MIPI clk to 1386Mhz
wangjiao [Tue, 25 Dec 2018 06:54:43 +0000 (14:54 +0800)]
EKKANE-362:[Kane]:[factory]Modfiy the HIX83112A MIPI clk to 1386Mhz

Change-Id: Ie502185fff176164c9cdcea5e6a74b99ad8661b8
Signed-off-by: wangjiao <wangjiao1@huaqin.com>
5 years agoEKKANE-350:[factory]:kernel:separate the robusta2 defconfig from erd9609 defconfig
hq_guohongtao5_tmp [Mon, 24 Dec 2018 09:28:53 +0000 (17:28 +0800)]
EKKANE-350:[factory]:kernel:separate the robusta2 defconfig from erd9609 defconfig

separate the robusta2 defconfig from erd9609 defconfig

Change-Id: I10af69381d4c48d927aa7c7175f18bd79e192789
Signed-off-by: hq_guohongtao5_tmp <guohongtao5@huaqin.com>
5 years agoEKKANE-328:[facotry]:add utc time in prink
hq_guohongtao5_tmp [Fri, 21 Dec 2018 03:15:34 +0000 (11:15 +0800)]
EKKANE-328:[facotry]:add utc time in prink

add utc time in prink

Change-Id: I2b464c0e88c435a3a7b4362b85b725bda14d9f8f
Signed-off-by: hq_guohongtao5_tmp <guohongtao5@huaqin.com>
5 years ago[COMMON] fimc-is2: release a bcm comment at driver
Wooyeon Kim [Mon, 10 Dec 2018 10:18:23 +0000 (19:18 +0900)]
[COMMON] fimc-is2: release a bcm comment at driver

 - wrong start address is fixed

Change-Id: I3a772e9d0b2bef88c8dc48aad976f084a72d1bb2
Signed-off-by: Wooyeon Kim <wooy88.kim@samsung.com>
5 years ago[COMMON] fimc-is2: add validation checking for v4l2_buffer before copy them to pipe
Jeongtae Park [Sun, 2 Dec 2018 09:47:06 +0000 (18:47 +0900)]
[COMMON] fimc-is2: add validation checking for v4l2_buffer before copy them to pipe

PR JIRA ID: CPR-471

Change-Id: I25453e0135941848b5ea512f095e08ea5e9bca8e
Signed-off-by: Jeongtae Park <jtp.park@samsung.com>
5 years agoEKKANE-335:[kane]:kernel: use thermal temperature as battery temp
zhixueyin [Mon, 24 Dec 2018 02:35:20 +0000 (10:35 +0800)]
EKKANE-335:[kane]:kernel: use thermal temperature as battery temp
use thermal temperature as battery temp

Change-Id: I727feed181859b4e1b71e064d9316a443add2fc1

5 years agoEKKANE-215:[kane][sdcard]block: remove QUEUE_FLAG_BYPASS for sdcard in blk_remove_req.
baitong [Sat, 22 Dec 2018 09:56:56 +0000 (17:56 +0800)]
EKKANE-215:[kane][sdcard]block: remove QUEUE_FLAG_BYPASS for sdcard in blk_remove_req.

Change-Id: I0c5a8ed3b04bd73391dcda930460d996f29fc5fc

5 years ago[RAMEN9610-9644] fbdev: dpu20: added dsim ddi device type
ChiHun Won [Wed, 19 Dec 2018 02:16:51 +0000 (11:16 +0900)]
[RAMEN9610-9644] fbdev: dpu20: added dsim ddi device type

Change-Id: I54c7e88dda5a9dc2cf988cc90f4efbeedb3e4b69
Signed-off-by: ChiHun Won <chihun.won@samsung.com>
5 years ago[RAMEN9610-9569][Robusta2][9610] arm64: dts: remove SoC feature from board dts
Youngmin Nam [Mon, 17 Dec 2018 06:47:22 +0000 (15:47 +0900)]
[RAMEN9610-9569][Robusta2][9610] arm64: dts: remove SoC feature from board dts

This patch removes SoC feature to resolve VtsFirmwareDtboVerification

Change-Id: Icab2c35adf661d9f086c8ce595f2930a2dca1634
Signed-off-by: Youngmin Nam <youngmin.nam@samsung.com>
5 years agoEKKANE-316[Kane]:[kernel]motor shorten probe time(1/1)
zhangyijie [Thu, 20 Dec 2018 07:12:22 +0000 (15:12 +0800)]
EKKANE-316[Kane]:[kernel]motor shorten probe time(1/1)

motor update driver code for shorten driver probe time

Change-Id: Id89d18da218e362ed1afbf1ac327208c7c85b25d

5 years agoEKKANE-252:facotry:kane:sync defconfig file for robusta2
hq_guohongtao5_tmp [Sat, 15 Dec 2018 06:13:02 +0000 (14:13 +0800)]
EKKANE-252:facotry:kane:sync defconfig file for robusta2

sync defconfig file for robusta2

Change-Id: I5e617a15f9ebd9ac26f977379ddad90986661051
Signed-off-by: hq_guohongtao5_tmp <guohongtao5@huaqin.com>
5 years ago[RAMEN9610-9427][MODAP-10498][Robusta2] robusta2_evb_defconfig: enable ppp configs
Jiyoung Jeong [Thu, 13 Dec 2018 00:52:07 +0000 (09:52 +0900)]
[RAMEN9610-9427][MODAP-10498][Robusta2] robusta2_evb_defconfig: enable ppp configs

+CONFIG_PPP_FILTER=y
+CONFIG_PPP_MULTILINK=y
+CONFIG_PPPOE=y
+CONFIG_PPPOLAC=y
+CONFIG_PPPOPNS=y
+CONFIG_PPP_ASYNC=y
+CONFIG_PPP_SYNC_TTY=y

Change-Id: I9e8ee19b84b4b2c4afc9c150cb28987a9e28a827
Signed-off-by: Jiyoung Jeong <ji_0.jeong@samsung.com>
5 years ago[RAMEN9610-9427][Robusta2] robusta2_evb_defconfig: enable VTS robusta2 config
Jiyoung Jeong [Thu, 13 Dec 2018 00:32:25 +0000 (09:32 +0900)]
[RAMEN9610-9427][Robusta2] robusta2_evb_defconfig: enable VTS robusta2 config

+CONFIG_NET_IPGRE_DEMUX=y
+CONFIG_INET_UDP_DIAG=y
+CONFIG_L2TP=y
+CONFIG_PPTP=y
+CONFIG_PPPOL2TP=y

Change-Id: Ia95b8cf4b47c9f7bcc158785f7a36ce6a03a638b

5 years ago[RAMEN9610-9421][ROBUSTA2] arm64: robusta2_evb_defconfig: Enable CPUSET.
hskang [Wed, 12 Dec 2018 13:22:49 +0000 (22:22 +0900)]
[RAMEN9610-9421][ROBUSTA2] arm64: robusta2_evb_defconfig: Enable CPUSET.

Change-Id: Ib51487b9cccf43ab47edfb91a4ff4e77f199cc69
Signed-off-by: hskang <hs1218.kang@samsung.com>
5 years ago[RAMEN9610-9418][ROBUSTA2] CFI, LTO Enabling
hskang [Wed, 12 Dec 2018 13:20:57 +0000 (22:20 +0900)]
[RAMEN9610-9418][ROBUSTA2] CFI, LTO Enabling

Change-Id: I05d8c0418d394fe3d37c1070eba95661f80f186d
Signed-off-by: hskang <hs1218.kang@samsung.com>
5 years ago[RAMEN9610-9393] arm64: dts: Unmasked INT_MBOX_SHUB2AP from wakeup_mask.
Boojin Kim [Thu, 6 Dec 2018 01:46:43 +0000 (10:46 +0900)]
[RAMEN9610-9393] arm64: dts: Unmasked INT_MBOX_SHUB2AP from wakeup_mask.

Change-Id: I970558f8e83ee063f6835dbf8cd0fa9055727749
Signed-off-by: Jeonghoon Jang <jnghn.jang@samsung.com>
Signed-off-by: Boojin Kim <boojin.kim@samsung.com>
5 years ago[RAMEN9610-9310][Robusta2] fbdev: dev: DPU recovery when read timeout is occurred
hwangjae lee [Mon, 10 Dec 2018 01:18:49 +0000 (10:18 +0900)]
[RAMEN9610-9310][Robusta2] fbdev: dev: DPU recovery when read timeout is occurred

Change-Id: I2287eb166b7e1713b90208b5758a137a8f39b4d5
Signed-off-by: hwangjae lee <hj-yo.lee@samsung.com>
5 years ago[RAMEN9610-9298][9609] defconfig: enable USB_AUDIO and increase CMA memory
Kisang Lee [Mon, 10 Dec 2018 01:45:30 +0000 (10:45 +0900)]
[RAMEN9610-9298][9609] defconfig: enable USB_AUDIO and increase CMA memory

Change-Id: I9d5c4a24dfb379924e404064c23f8476c476011c
Signed-off-by: Kisang Lee <kisang80.lee@samsung.com>