Commit graph

1,405 commits

Author SHA1 Message Date
xizx
c55f0b7ef4 touchscreen_mmi: import correct Modules.symvers in GKI build mode
When importing the Modules.symvers in fix path, the GKI module will import an
incorrect one and cause module load fail in boot-gki kernel mode.

Change-Id: Ie17e494821dafcc1fad147202dae445b9250875b
Reviewed-on: https://gerrit.mot.com/1743517
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Jichao Zou <zoujc@motorola.com>
Submit-Approved: Jira Key
2020-09-15 23:06:42 -05:00
xizx
a11e15b275 tzlog_dump: use ioremap to map ram from kernel 5.4
1.dma_remap is not supported from kernel 5.4, so use ioremap to map
the memory address.

2.solve build error:
ERROR: "mmi_annotate" [../../motorola/kernel/modules/drivers/tzlog_dump/tzlog_dump.ko] undefined!
ERROR: "bi_powerup_reason" [../../motorola/kernel/modules/drivers/tzlog_dump/tzlog_dump.ko] undefined!

Change-Id: Ib5d45f0b21d7afb1debba0d591b51da0c828f596
Signed-off-by: xiaoy3 <xiaoy3@motorola.com>
Reviewed-on: https://gerrit.mot.com/1696955
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Guobin Zhang <zhanggb@motorola.com>
Submit-Approved: Jira Key
2020-09-15 23:05:56 -05:00
xizx
72d8c8b9cb tzlog_dump: workaround msm_dump_data_register undefine issue in GKI 5.4
workaround the compile error during GKI kernel 5.4:
ERROR: "msm_dump_data_register" [../../motorola/kernel/modules/drivers/tzlog_dump/tzlog_dump.ko] undefined!

Change-Id: I86d0ee261f5bbfe064165df7614ecf408Montana8697
Reviewed-on: https://gerrit.mot.com/1707351
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Guobin Zhang <zhanggb@motorola.com>
Submit-Approved: Jira Key
2020-09-15 23:05:53 -05:00
Drew Abbott
c3c086fb78 Add battery number to logging
Adding the battery number in log messages allows for determining which
charger produced the log output.

Change-Id: Ie3394185626fdc2181e2c2e3d734fd6c1725ce30
Reviewed-on: https://gerrit.mot.com/1731690
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Ling Jin <lingjin@motorola.com>
Submit-Approved: Jira Key
2020-09-15 14:45:24 -05:00
Drew Abbott
7ee9f8bcff fix ITPOR and CFGUPMODE logging
Values were not being set properly after initializatoin, this change
will update them for proper logging

Change-Id: I09675258e2c7acf6d5724a5211dc0d593d27ef53
Reviewed-on: https://gerrit.mot.com/1731689
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Ling Jin <lingjin@motorola.com>
Submit-Approved: Jira Key
2020-09-15 14:45:16 -05:00
xizx
b2bceb7a6d sec_mmi: import ANDROID_GKI_VFS_EXPORT_ONLY namespace for kernel_read
kernel_read and kernel_write are exported with specific ANDROID_GKI_VFS_EXPORT_ONLY
namespace, so the DLKM should import the namespace.

error log:
[   35.634756] sec_mmi: module uses symbol (kernel_read) from namespace VFS_internal_I_am_really_a_filesystem_and_am_NOT_a_driver, but does not import it.
[   35.648698] sec_mmi: Unknown symbol kernel_read (err -22)

Change-Id: Ic333a4c66115c15aa0994c1d2210eea62db88d32
Reviewed-on: https://gerrit.mot.com/1749485
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Jichao Zou <zoujc@motorola.com>
Reviewed-by: Jianqi Yang <yangj@motorola.com>
Submit-Approved: Jira Key
2020-09-15 04:29:42 -05:00
xizx
ca04a28583 utags: import ANDROID_GKI_VFS_EXPORT_ONLY namespace for kernel_read
kernel_read and kernel_write are exported with specific ANDROID_GKI_VFS_EXPORT_ONLY
namespace, so the DLKM should import the namespace.

error log:
[   12.547678] utags: module uses symbol (kernel_read) from namespace VFS_internal_I_am_really_a_filesystem_and_am_NOT_a_driver, but does not import it.
[   12.561432] utags: Unknown symbol kernel_read (err -22)

Change-Id: I14607da4198c41ddb989d63cc02e560ffc50be11
Reviewed-on: https://gerrit.mot.com/1749451
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Guobin Zhang <zhanggb@motorola.com>
Submit-Approved: Jira Key
2020-09-15 04:29:25 -05:00
Eduardo Ferreira
f5e8a94c75 Refactoring code to use new wake API
There was a build error due to wake API changes, so we took the
oportunity to refactor it to use the new API from linux/mmi_wake_lock.h

Change-Id: I19854604e339d1e986f434be4afd78fac584adda
Signed-off-by: Eduardo Ferreira <edufb@motorola.com>
Reviewed-on: https://gerrit.mot.com/1737197
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Ling Jin <lingjin@motorola.com>
Submit-Approved: Jira Key
2020-09-10 08:23:18 -05:00
Rafael Ortolan
60afa605f4 himax_0flash: fix driver resume issue
Driver was not resuming from suspend as it was using a panel event
that is not reliable. Use PANEL_EVENT_DISPLAY_ON instead.

NO_PROP_NEEDED: <only applies to bo>

Change-Id: I435686b53453e18fbcfd864ab355c8817779f27a
Reviewed-on: https://gerrit.mot.com/1737310
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Eduardo Ferreira Barbosa <edufb@motorola.com>
Reviewed-by: Ling Jin <lingjin@motorola.com>
Submit-Approved: Jira Key
2020-09-10 08:22:04 -05:00
hujing3
41db0f7754 focaltech_0flash_mmi: add reg log when tp not in normal mode
GIN: focaltech touch driver update
add reg log when tp not in normal mode, for better issue analysis

Change-Id: I3a9f6d0ca1c469ebf432d1552a5949e5bbfdb145
Signed-off-by: hujing3 <hujing3@lenovo.com>
Reviewed-on: https://gerrit.mot.com/1745700
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
2020-09-10 00:47:03 -05:00
dengwei1
1b1a75d0d4 guam: input touch ilitek set deep sleep mode
input touch ilitek set deep sleep mode
chipone enable esd
NO_PROP_NEEDED

Change-Id: Iebfdd06a6b88b2691309e9b23b0de152a88bd3c3
Signed-off-by: dengwei1 <dengwei1@motorola.com>
Reviewed-on: https://gerrit.mot.com/1745616
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Hua Tan <tanhua1@motorola.com>
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
2020-09-09 22:28:48 -05:00
Jefferson Capovilla
a23c1813fc Add Trustonic TEE driver module
Cherry-picked from: (CR)
Updated mcp.c, mcp.h and platform.h to make driver
compatible to kernel 4.19.
Add the Trustonic TEE driver module to the kernel.  This is needed
to run trusted applications in the Trustonic TEE.
Updated Kbuild with current files.

Kinibi version t-base-QC8996-Android-410a-V106.

Change-Id: Id237e0acb2b0e6fe37045796106e3d1e5cb4b1b0
Reviewed-on: https://gerrit.mot.com/1685214
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Joel Voss <jvoss@motorola.com>
Reviewed-by: Konstantin Makariev <kmakariev@motorola.com>
Reviewed-by: Igor Kovalenko <igork@motorola.com>
Submit-Approved: Jira Key
2020-09-09 18:21:28 -05:00
wangyq13
98284045a9 input: ilitek_0flash_mmi: add ic_ver sys node for MotoCare
input/ilitek_0flash_mmi:
Add ic_ver sys node for MotoCare.
NO_PROP_NEEDED: <New IC for NPI>

Change-Id: I7b8a63349fec7f51f02a64bd323ab00ebc5b8bbe
Signed-off-by: wangyq13 <wangyq13@lenovo.com>
Reviewed-on: https://gerrit.mot.com/1744827
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Jun Weng <wengjun1@motorola.com>
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
2020-09-09 04:55:30 -05:00
xizx
e95c166a73 mmi_info: import correct Modules.symvers in GKI build mode
When importing the Modules.symvers in fix path, the GKI module will import an
incorrect one and cause module load fail in boot-gki kernel mode.

Change-Id: I758afd9f427d0fee6201f23903465f21120ff1b2
Reviewed-on: https://gerrit.mot.com/1743520
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Jianqi Yang <yangj@motorola.com>
Submit-Approved: Jira Key
2020-09-08 03:33:08 -05:00
dengwei1
8b818ca909 guam: input touch ilitek enable gesture
input touch ilitek
enable gesture
NO_PROP_NEEDED

Change-Id: I73c23faa613293b962b85d2deba57a94d1486e0b
Signed-off-by: dengwei1 <dengwei1@motorola.com>
Reviewed-on: https://gerrit.mot.com/1742157
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
2020-09-07 21:59:38 -05:00
liujg6
2114772e38 ili9882_mmi: fix build breakage on R
Fix below forbidden warnings:
motorola/kernel/modules/drivers/input/touchscreen/ili9882_mmi/ili9882_qcom.c:443:4: warning: misleading indentation; statement is not part of the previous 'if' [-Wmisleading-indentation]
motorola/kernel/modules/drivers/input/touchscreen/ili9882_mmi/ili9882.c:569:6: warning: comparison of array 'cmd' equal to a null pointer is always false [-Wtautological-pointer-compare]
motorola/kernel/modules/drivers/input/touchscreen/ili9882_mmi/ili9882_node.c:201:12: warning: comparison of array 'file->fname' equal to a null pointer is always false [-Wtautological-pointer-compare]
motorola/kernel/modules/drivers/input/touchscreen/chipone_tddi_mmi/cts_sysfs.c:2056:15: warning: overlapping comparisons always evaluate to true [-Wtautological-overlap-compare]

Change-Id: I46b24a8078b9e7e28c5fbfa6a7d32731368c96a1
Reviewed-on: https://gerrit.mot.com/1740710
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Wang Wang <wangwang1@lenovo.com>
Submit-Approved: Jira Key
2020-09-03 04:04:00 -05:00
dengwei1
f264d66fc2 guam: input touch add ic_ver support
input touch add ilitek
ic_ver support
NO_PROP_NEEDED

Change-Id: I5611b9a3e404d82ffe307b46772a7b3589b750a6
Signed-off-by: dengwei1 <dengwei1@motorola.com>
Reviewed-on: https://gerrit.mot.com/1740345
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
2020-09-02 21:04:01 -05:00
wuwl10
3b8344ecee ets_fps: filter unexpected double-click event
Some of the user's sliding may be mistaken for double-clicking event.
filtering out the min double-click interval tim to reducing the
probability of unexpected double-click.

Change-Id: I0b1a43d3ed7aac601865127076f5b2c51f6eb3d4
Signed-off-by: wuwl10 <wuwl10@motorola.com>
Reviewed-on: https://gerrit.mot.com/1735804
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
(cherry picked from commit 60cdf2a116c3e7cc321eab8038065efc98e3a3fc)
Reviewed-on: https://gerrit.mot.com/1737936
2020-09-01 01:25:12 -05:00
xizx
a4cac1b469 mmi_info: add dependency of mmi_annotate module
mmi_info will depended on mmi_annotate module symbol,so it must
define the dependeny in makefile.

Here is the build error:
ERROR: "mmi_annotate" [../../motorola/kernel/modules/drivers/mmi_info/mmi_info.ko] undefined!
ERROR: "mmi_annotate_persist" [../../motorola/kernel/modules/drivers/mmi_info/mmi_info.ko] undefined!

Change-Id: Ie3e929a1cffa543876c7a34447f8d659ecea0d9f
Reviewed-on: https://gerrit.mot.com/1723102
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Guobin Zhang <zhanggb@motorola.com>
Submit-Approved: Jira Key
2020-08-31 22:07:21 -05:00
Bernie Moreno-BERNIEM
41e9ea798b qpnp-smbcharger-mmi: Charger Temp change adjust
Add fast heartbeat adj to state changes in addition to initial
charge det. This will prevent prolonged over current when temp
zones change.

NO_PROP_NEEDED: Applies to Smith and Olson dual batt only.

Change-Id: Icb94a3da1ac4f70abf1f06d6d90ede7eea36da85
Signed-off-by: Bernie Moreno-BERNIEM <berniem@motorola.com>
Reviewed-on: https://gerrit.mot.com/1725464
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Ling Jin <lingjin@motorola.com>
Submit-Approved: Jira Key
2020-08-28 08:21:33 -05:00
jixj
b6e534ecf9 utag: free the buffer when failed to open utag
When fail to open utag, the alloc buffer will not be free to cause
memory leak

Change-Id: I9f77a4528513ddfb512f3183f067988ffa9870a9
Reviewed-on: https://gerrit.mot.com/1733773
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
2020-08-27 23:34:25 -05:00
jixj
ef8a1cb701 utag: report the return value of store_utags() to userspace
If store worker failed to store utag, report the failure to userspace so
that userspace can deal with it accordingly

Change-Id: I1ba9635b776fca1b27ab672a06df4a823e926684
Reviewed-on: https://gerrit.mot.com/1733628
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Konstantin Makariev <kmakariev@motorola.com>
Submit-Approved: Jira Key
2020-08-27 22:59:53 -05:00
dengwei1
d66e25e68c guam: input update touch ilitek fw 02
input update touch
ilitek fw 02 and enable esd
NO_PROP_NEEDED

Change-Id: I7f6a1f0cf74e6304436da25ea18d0f51a781c9cb
Signed-off-by: dengwei1 <dengwei1@motorola.com>
Reviewed-on: https://gerrit.mot.com/1735679
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Wang Wang <wangwang1@lenovo.com>
Submit-Approved: Jira Key
2020-08-27 21:54:40 -05:00
litong
fc347dd140 Turn off the output log of the LSI touch FW raw data.
TP:
Turn off the output log of the LSI touch FW raw data to prevent
overwriting the boot log.

Change-Id: Ia1e1ae06b51c9bf1f54855632658b3af04f77248
Reviewed-on: https://gerrit.mot.com/1734547
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Jichao Zou <zoujc@motorola.com>
Reviewed-by: Konstantin Makariev <kmakariev@motorola.com>
Submit-Approved: Jira Key
2020-08-27 20:48:45 -05:00
litong
b1529438d9 modify the compilation errors of goodix_berlin
(1) TOP -> ANDROID_BUILD_TOP to solve the error that the header file
cannot be found.
(2) Put the dependent modules into separate files and specify the
dependencies.

Change-Id: Ifb02dde4782ffad1e65d8ee8220fb39f1f203392
Reviewed-on: https://gerrit.mot.com/1713698
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Jichao Zou <zoujc@motorola.com>
Submit-Approved: Jira Key
2020-08-27 04:52:42 -05:00
Ashwin Pathmudi
0b5a5fda16 sec_mmi: Don't USE_STUBS
Disabling stubs to get touchscreen_class pointers from synaptics_mmi
on olson
NO_PROP_NEEDED: This is the common branch

Change-Id: If1f68d851036bbe8e804404f0dcb6e6bbbce8154
Signed-off-by: Ashwin Pathmudi <jfxr63@motorola.com>
Reviewed-on: https://gerrit.mot.com/1720047
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Moon Do Seo <moon@motorola.com>
Reviewed-by: Mahesh Med(CR) <maheshmk@motorola.com>
Reviewed-by: Konstantin Makariev <kmakariev@motorola.com>
Submit-Approved: Jira Key
2020-08-26 19:40:25 -05:00
Monica Mabuchi
3305c03ba4 restrict compilation for snd_soc_tfa9874
Restrict compilation of snd_soc_tfa9874 only for products
that uses this driver: surf and Ocean

Change-Id: Ia742617777ef1478627b5c4441199e043455974e
Reviewed-on: https://gerrit.mot.com/1731673
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Nelson Guedes Paulo Junior <npaulo@motorola.com>
Reviewed-by: Wanlong Zhou <zhouwl@motorola.com>
Reviewed-by: Rav(CR) Vembu <raviv@motorola.com>
Submit-Approved: Jira Key
2020-08-25 13:13:14 -05:00
xiaoy3
3a5c8ed67c fixup! (CR): Instead of vfs_write with kernel_write
Change-Id: I4f2fe321106ee4f588b21d308f78676feca338cb
Reviewed-on: https://gerrit.mot.com/1732833
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Zhenxin Xi <xizx@motorola.com>
Submit-Approved: Jira Key
2020-08-25 08:32:41 -05:00
litong
984e2d89fa Instead of vfs_read with kernel_read
TP:
Instead of vfs_read with kernel_read
8350 rebase Lahaina.LA.1.0.r1-00375-STD.PROD-1
kernel msm5.14 remove vfs_write EXPORT.

Change-Id: Ia6f45a744373eaf1a6facab0870a082e6d72b617
Reviewed-on: https://gerrit.mot.com/1732831
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Zhenxin Xi <xizx@motorola.com>
Submit-Approved: Jira Key
2020-08-25 08:21:26 -05:00
litong20
93f8947d68 Revert "(CR): Instead of vfs_read with kernel_read"
This reverts commit e69d3b7ae79a67dc60a317e9d6dc82fab62b9ba2.

Change-Id: Ia52ae8759dd72b628864317e736414b82f40f033
Reviewed-on: https://gerrit.mot.com/1732808
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Zhenxin Xi <xizx@motorola.com>
Submit-Approved: Jira Key
2020-08-25 08:18:09 -05:00
litong
241924cf77 Instead of vfs_read with kernel_read
TP:
Instead of vfs_read with kernel_read
8350 rebase Lahaina.LA.1.0.r1-00375-STD.PROD-1
kernel msm5.14 remove vfs_write EXPORT.

Change-Id: I93141a140c7c17eb68dc817f2fcf0f34e53fdf7b
Reviewed-on: https://gerrit.mot.com/1732677
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Jichao Zou <zoujc@motorola.com>
Submit-Approved: Jira Key
2020-08-25 05:06:56 -05:00
xiaoy3
920a5487a5 Instead of vfs_write with kernel_write
8350 rebase Lahaina.LA.1.0.r1-00375-STD.PROD-1
kernel msm5.14 remove vfs_write EXPORT.

Change-Id: I006fcf995f5340cc051eb571ad21d415b253a31b
Signed-off-by: xiaoy3 <xiaoy3@motorola.com>
Reviewed-on: https://gerrit.mot.com/1728095
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Submit-Approved: Jira Key
Tested-by: Jira Key
Reviewed-by: Qiang Nie <nieqiang@motorola.com>
(cherry picked from commit cd88701c9041cf40767db9f9f9cb72f9f4e710fb)
Reviewed-on: https://gerrit.mot.com/1732539
Reviewed-by: Zhenxin Xi <xizx@motorola.com>
Submit-Approved: Qiang Nie <nieqiang@motorola.com>
2020-08-25 02:34:31 -05:00
litong
3ba65e9bfc synaptics prob if it matches the value of "mmi,panel_name"
TP:
Determine whether to probe the synaptics driver according to
the "mmi,panel_name".

Change-Id: Ia2552339b5351774107c59befe01505f57b9b5a9
Reviewed-on: https://gerrit.mot.com/1730440
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Jichao Zou <zoujc@motorola.com>
Submit-Approved: Jira Key
2020-08-24 04:09:56 -05:00
litong
610b9f510c Specify the dependency of the synaptics touchscreen modules.
(1) When all the modules are in a Kbuild file, there will be some errors
that the exported symbols are undefined. Therefore the files with
dependencies are split into independent Kbuilds, and the dependencies
between the modules and the location of Module.symvers are clearly
specified.
(2) The synaptics_i2c and syanptics_spi modules have the same symbol
table, so we should use BOARD_VENDOR_KERNEL_MODULES to determine
which module to compile.

Change-Id: I0e02d23562d0b52a20fdfd53d3db085cfffb811b
Reviewed-on: https://gerrit.mot.com/1718101
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Jichao Zou <zoujc@motorola.com>
Submit-Approved: Jira Key
2020-08-24 03:34:24 -05:00
litong
1ff9cf183b Modify synaptics compile error on V(CR).
TP:
1. Modify synaptics compile error on V(CR).
2. get_pid_task is more safer than pid_task, and get_pis_task
in the whitelist of google Andorid 11.

Change-Id: I7e6836db375bb8e80b6753afd400bb7db179cc18
Reviewed-on: https://gerrit.mot.com/1718097
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Jichao Zou <zoujc@motorola.com>
Submit-Approved: Jira Key
2020-08-24 03:34:11 -05:00
litong
3c538d907e Add CONFIG_DRM_PANEL_PANEL_NOTIFICATIONS on V(CR)
TP:
The panel notification is not used on v(CR),
so CONFIG_PANEL_NOTIFICATIONS should not be defined,
add CONFIG_DRM_PANEL_NOTIFICATIONS.

Change-Id: I76c6535480d92b8740e8f60c86f2506fbac9d3c1
Reviewed-on: https://gerrit.mot.com/1729503
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Jichao Zou <zoujc@motorola.com>
Submit-Approved: Jira Key
2020-08-24 03:33:27 -05:00
litong
4b881a0efd Determine whether to load by "mmi,panel_name"
Because there is no contains function on kernel 5.4, and we have no way
to modify the kernel code. So "mmi,panel_name" is used to determine
whether to probe this driver.

Change-Id: I956b6ce1d463cbe472b80599c954dd06bd633082
Reviewed-on: https://gerrit.mot.com/1728590
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Konstantin Makariev <kmakariev@motorola.com>
Submit-Approved: Jira Key
2020-08-24 03:33:03 -05:00
kalathik
7e40fbb8e0 touch: nt36xxx: Resolve include build error
Use common mmi_wake_lock macros instead directly using kernel API,
which is version specific. include the appropriate .h file.

Change-Id: I86f689d5ebc7a7128a3040d610a69caab99aad86
Signed-off-by: Kanagarathina Kalathi <kalath(CR)@motorola.com>
Reviewed-on: https://gerrit.mot.com/1729494
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Zhenxin Xi <xizx@motorola.com>
Submit-Approved: Jira Key
2020-08-21 04:53:02 -05:00
kalathik
d2caa8bdc6 Awinic: aw8624: Replace wakeup_source API with macro
Use common mmi_wake_lock macros instead directly using kernel API,
which is version specific.

Change-Id: Ia4030824e83c0c2562150c1306803501fa80e1d9
Signed-off-by: Kanagarathina Kalathi <kalath(CR)@motorola.com>
Reviewed-on: https://gerrit.mot.com/1727596
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Vijayakumar Gn <vijaygn@motorola.com>
Reviewed-by: Zhenxin Xi <xizx@motorola.com>
Submit-Approved: Jira Key
2020-08-21 03:29:45 -05:00
kalathik
afe21a3a69 touch: nt36xxx: Replace wakeup_source API with macro
Use common mmi_wake_lock macros instead directly using kernel API,
which is version specific.

Change-Id: I69d8bcd784e7a55815e2b4857c6826a15b0967fb
Signed-off-by: Kanagarathina Kalathi <kalath(CR)@motorola.com>
Reviewed-on: https://gerrit.mot.com/1727559
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Vijayakumar Gn <vijaygn@motorola.com>
Reviewed-by: Zhenxin Xi <xizx@motorola.com>
Submit-Approved: Jira Key
2020-08-21 03:29:42 -05:00
kalathik
62c1d3a314 pmic: Replace wakeup_source API with macro
Use common mmi_wake_lock macros instead directly using kernel API,
which is version specific.

Change-Id: Icc1c1b25825a4b80c473c0be0f7630aa3e3da895
Signed-off-by: Kanagarathina Kalathi <kalath(CR)@motorola.com>
Reviewed-on: https://gerrit.mot.com/1727668
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Vijayakumar Gn <vijaygn@motorola.com>
Reviewed-by: Zhenxin Xi <xizx@motorola.com>
Submit-Approved: Jira Key
2020-08-21 03:29:39 -05:00
kalathik
0c7b6ca774 mmi_wake_lock: Resolve malloc build error
Use common mmi_wake_lock macros instead directly using kernel API,
which is version specific. kmalloc parameter missed.

Change-Id: Ieb49c659e8612cd81ca1333e6a6a8c57bf7b7476
Signed-off-by: Kanagarathina Kalathi <kalath(CR)@motorola.com>
Reviewed-on: https://gerrit.mot.com/1729315
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Vijayakumar Gn <vijaygn@motorola.com>
Reviewed-by: Zhenxin Xi <xizx@motorola.com>
Submit-Approved: Jira Key
2020-08-21 00:03:54 -05:00
kalathik
e56d9dfe53 Awinic: aw8695: Replace wakeup_source API with macro
Use common mmi_wake_lock macros instead directly using kernel API,
which is version specific.

Change-Id: I02c75ae9d3290460a5ca8b1bb8165e67c14d2240
Signed-off-by: Kanagarathina Kalathi <kalath(CR)@motorola.com>
Reviewed-on: https://gerrit.mot.com/1727617
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Konstantin Makariev <kmakariev@motorola.com>
Submit-Approved: Jira Key
2020-08-20 22:36:12 -05:00
kalathik
f3db1e404a Awinic: aw8697x: Replace wakeup_source API with macro
Use common mmi_wake_lock macros instead directly using kernel API,
which is version specific.

Change-Id: Ifcb053e4b28060c15ae24bff4474e9a05a273464
Signed-off-by: Kanagarathina Kalathi <kalath(CR)@motorola.com>
Reviewed-on: https://gerrit.mot.com/1727658
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Konstantin Makariev <kmakariev@motorola.com>
Submit-Approved: Jira Key
2020-08-20 22:36:09 -05:00
kalathik
69efe597f5 Awinic: aw8697: Replace wakeup_source API with macro
Use common mmi_wake_lock macros instead directly using kernel API,
which is version specific.

Change-Id: Ic38a36a012c586873d53d8c491cdfd3df1cc85bd
Signed-off-by: Kanagarathina Kalathi <kalath(CR)@motorola.com>
Reviewed-on: https://gerrit.mot.com/1727643
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Konstantin Makariev <kmakariev@motorola.com>
Submit-Approved: Jira Key
2020-08-20 22:36:06 -05:00
kalathik
cf3151c1c4 touch: synaptics: Replace wakeup_source API with macro
Use common mmi_wake_lock macros instead directly using kernel API,
which is version specific.

Change-Id: I1c69ec3f55a824b3d9b00ef2e37bf0d303facfe0
Signed-off-by: Kanagarathina Kalathi <kalath(CR)@motorola.com>
Reviewed-on: https://gerrit.mot.com/1727448
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Konstantin Makariev <kmakariev@motorola.com>
Submit-Approved: Jira Key
2020-08-20 22:36:03 -05:00
kalathik
778d8abfb9 touch: focaltech: Replace wakeup_source API with macro
Use common mmi_wake_lock macros instead directly using kernel API,
which is version specific.

Change-Id: I9242d38e97e4eec5b8ac66a18b42c8fbf9d80e62
Signed-off-by: Kanagarathina Kalathi <kalath(CR)@motorola.com>
Reviewed-on: https://gerrit.mot.com/1727525
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Vijayakumar Gn <vijaygn@motorola.com>
Reviewed-by: Konstantin Makariev <kmakariev@motorola.com>
Submit-Approved: Jira Key
2020-08-20 22:35:34 -05:00
kalathik
00960bf64d touch: sec_ts: Replace wakeup_source API with macro
Use common mmi_wake_lock macros instead directly using kernel API,
which is version specific.

Change-Id: Ie2876d102f7f9dd333e226b5319d66e7af998f51
Signed-off-by: Kanagarathina Kalathi <kalath(CR)@motorola.com>
Reviewed-on: https://gerrit.mot.com/1727444
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Vijayakumar Gn <vijaygn@motorola.com>
Reviewed-by: Konstantin Makariev <kmakariev@motorola.com>
Submit-Approved: Jira Key
2020-08-20 22:35:17 -05:00
kalathik
e411bffd23 touch: ilitek: Replace wakeup_source API with macro
Use common mmi_wake_lock macros instead directly using kernel API,
which is version specific.

Change-Id: I0f8263d8a4b9bd7e32b6821550ec6a7731fec7ac
Signed-off-by: Kanagarathina Kalathi <kalath(CR)@motorola.com>
Reviewed-on: https://gerrit.mot.com/1727578
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Vijayakumar Gn <vijaygn@motorola.com>
Reviewed-by: Konstantin Makariev <kmakariev@motorola.com>
Submit-Approved: Jira Key
2020-08-20 22:34:10 -05:00
kalathik
428e028101 touch: fts: Replace wakeup_source API with macro
Use common mmi_wake_lock macros instead directly using kernel API,
which is version specific.

Change-Id: Ib6c8d7bbe4ac9cf264dd0eb16da9a25471772308
Signed-off-by: Kanagarathina Kalathi <kalath(CR)@motorola.com>
Reviewed-on: https://gerrit.mot.com/1727568
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Vijayakumar Gn <vijaygn@motorola.com>
Reviewed-by: Konstantin Makariev <kmakariev@motorola.com>
Submit-Approved: Jira Key
2020-08-20 22:33:45 -05:00