Commit graph

3,170 commits

Author SHA1 Message Date
Xiaojun Lv
954d140ff3 boston: support touch sensitivity in game mode
Support touch sensitivity in game mode for boston,
default touch report rate is 240Hz and high report rate is 360Hz.

Change-Id: If80cbc5a16062d3743ae44925259c1d48fe624ae
Reviewed-on: https://gerrit.mot.com/2799603
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Yeqing Wang <wangyq13@motorola.com>
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
2023-11-20 21:14:23 -06:00
Xiaojun Lv
be6449a242 focaltech: support stowed detection when gesture mode for focal
Support for touch stowed detection when gesture mode. Under gesture mode,
when entering Stowed, touch will enter deep standby mode, and detection
will resume when unstowed.
Refer: (CR)

Change-Id: I1c6591d83ccc17894c03246599903d0680ab2941
Reviewed-on: https://gerrit.mot.com/2797264
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Yeqing Wang <wangyq13@motorola.com>
Reviewed-by: Jun Weng <wengjun1@motorola.com>
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
2023-11-20 21:12:49 -06:00
zhuangnk1
d5f6f9388c insmod qorvo uwb driver according to mmi_info
add driver probe according to mmi_info. Only probe
uwb driver when mmi info is qorvo

Change-Id: I92a9e01dca1c40a484de5845dd9137f834fa3a1f
Signed-off-by: zhuangnk1 <zhuangnk1@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2794347
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Tao Sun <suntao2@motorola.com>
Submit-Approved: Jira Key
2023-11-16 04:06:03 -06:00
Zhiye Li
ee730f8640 arm64/dts: update the wlan_antenna driver code for boston
add the code to support get the gpio status.
adb shell "cat /sys/devices/platform/soc/soc:wlan_antenna/wlan_antenna_en"
low

adb shell "cat /sys/devices/platform/soc/soc:wlan_antenna/wlan_antenna_en"
high

Change-Id: If1e1826e5afa9779bae44a8339eb74f4bbc11e6f
Signed-off-by: Zhiye Li <lizy90@motorola.com>
Reviewed-on: https://gerrit.mot.com/2795396
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Yeqing Wang <wangyq13@motorola.com>
Reviewed-by: Bin Liu <liubin7@motorola.com>
Reviewed-by: Tao Sun <suntao2@motorola.com>
Submit-Approved: Jira Key
2023-11-16 02:05:05 -06:00
Xunjie Xu
49a7695c91 usbnet: fix incorrect dev_addr
kernel warning for incorrect netdev->dev_addr
use eth_hw_addr_random to fix it

Change-Id: I26bce842fc531b455cfcb2fbfc471667620a1669
Signed-off-by: Xunjie Xu <xuxj12@motorola.com>
Reviewed-on: https://gerrit.mot.com/2796101
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Yonghua Yan <yanyh2@motorola.com>
Reviewed-by: Guobin Zhang <zhanggb@motorola.com>
Submit-Approved: Jira Key
2023-11-16 01:19:06 -06:00
huangzq2
7f11bf99c4 add page fault pages to list head to avoid be swapped out soon
Change-Id: I6efd6ac17432771baee600d6af8191917104ac27
Signed-off-by: huangzq2 <huangzq2@motorola.com>
Reviewed-on: https://gerrit.mot.com/2793884
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
2023-11-14 22:55:47 -06:00
wangyq13
1ae6e1402d input: goodix_berlin: set default touch state to finger mode
goodix_berlin:
Set default touch state to finger mode, otherwise may cause enter pen
mode abnormally.

Change-Id: I603e3952a36a36d98442ead1ed1ad55840458125
Signed-off-by: wangyq13 <wangyq13@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2794038
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: <zhuwg1@motorola.com>
Reviewed-by: Wei Deng <dengwei1@motorola.com>
Reviewed-by: <lvxj4@motorola.com>
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
2023-11-14 03:22:18 -06:00
Wenge Zhu
92a9e9ca3b Report tapping coordinate when report gesture event
TP:
Report tapping coordinate when report gesture event.

Change-Id: Ifc3fc819850e72f77655c79621ade7e1f1dfdea7
Signed-off-by: Wenge Zhu <zhuwg1@motorola.com>
Reviewed-on: https://gerrit.mot.com/2794123
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Wei Deng <dengwei1@motorola.com>
Reviewed-by: Jichao Zou <zoujc@motorola.com>
Reviewed-by: Yeqing Wang <wangyq13@motorola.com>
Submit-Approved: Jira Key
2023-11-14 03:16:19 -06:00
Yuchang Guo
0769523d6e awinic sar:add KBUILD_OPTIONS
awinic sar:
Add KBUILD_OPTIONS for recent kernel versions.

Change-Id: If3fa414716a1b741ab2362a0f76d7a73c58444aa
Reviewed-on: https://gerrit.mot.com/2790604
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Yuchang Guo <guoyc1@lenovo.com>
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
Reviewed-by: Jiyue Cui <cuijy2@lenovo.com>
2023-11-14 00:07:58 -06:00
chenlj2
13867d6908 dlkm/fps:optimse driver for jiiov
modification:
---anc_gpio_init
---anc_gpio_deinit
---anc_platform_init
---anc_platform_free

Change-Id: I18611f9c3e475f7c9665999febed4c3a0f2270fa
Signed-off-by: chenlj2 <chenlj2@motorola.com>
Reviewed-on: https://gerrit.mot.com/2793290
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Yan Zhang <zhangy26@motorola.com>
Reviewed-by: Tao Sun <suntao2@motorola.com>
Submit-Approved: Jira Key
2023-11-13 03:56:27 -06:00
zhangshaohu
b27b9348e9 fogos: TP: open 1st icnl9916c force up config
1. to resolve long time no up event,
if timeout 100ms, make an up event.

Change-Id: Ie41a07d0281d8a6ce1824a068efdec218403fdf8
Signed-off-by: zhangshaohu <ontim52@motorola.com>
Reviewed-on: https://gerrit.mot.com/2788111
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
2023-11-12 21:39:01 -06:00
huangzq2
266fc07dff workaround fix long page fault issue
- change version to 2
- exit page fault with EIO if waited long time
- reduce log and enlarge page fault warning timeout to 500ms

Change-Id: I87858443d639c43cc804931063fe71daf0eccc96
Signed-off-by: huangzq2 <huangzq2@motorola.com>
Reviewed-on: https://gerrit.mot.com/2792701
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
2023-11-11 22:50:36 -06:00
zhongfeihong
47cbbdadeb kernel/fogo:fix The device automatically restarts during use
fogo:
fix spi read write driver

Change-Id: I5a74bee3eb109f898529f1459303c18544ca2ba1
Reviewed-on: https://gerrit.mot.com/2790440
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
2023-11-10 00:39:44 -06:00
longc
908b9dec72 cusco: WL2866d bringup [1/4]
details:
  same Makefile used with WL2864c;
  to fix compile error.

Change-Id: I881d7bc4ede642a9a7f2a2e5d2969609ca11735b
Signed-off-by: longc <longc156@motorola.com>
Reviewed-on: https://gerrit.mot.com/2786426
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: <huqian4@motorola.com>
Reviewed-by: Long Cheng <chengl1@motorola.com>
Reviewed-by: <yanglp10@motorola.com>
Reviewed-by: Simon C <chenzm8@motorola.com>
Reviewed-by: <huangfx5@motorola.com>
Reviewed-by: <liuzy55@motorola.com>
Reviewed-by: Zhichao Chen <chenzc2@motorola.com>
Reviewed-by: Lu Lu <lulu2@lenovo.com>
Submit-Approved: Lu Lu <lulu2@lenovo.com>
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
2023-11-09 22:12:25 -06:00
Wenge Zhu
efe1db2739 Support touch mmi class for GT9615
TP:
Support touch mmi class for GT9615.

Change-Id: I9cf4d0f811ff48d7480778266a41b3bcd6ad4296
Signed-off-by: Wenge Zhu <zhuwg1@motorola.com>
Reviewed-on: https://gerrit.mot.com/2790500
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Jun Weng <wengjun1@motorola.com>
Reviewed-by: Jichao Zou <zoujc@motorola.com>
Submit-Approved: Jira Key
2023-11-09 03:24:07 -06:00
xuwt2
48c39ff2fc sc760x: Relax wakelock
In charger_detect_work_func,
Make sure that relax wakelock

Change-Id: I089247f8b94c73d76cdf442d79fa2eae7fa63de0
Signed-off-by: xuwt2 <xuwt2@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2789606
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Wentao Xu <xuwt2@motorola.com>
Reviewed-by: Jichao Zou <zoujc@motorola.com>
Submit-Approved: Jira Key
2023-11-08 05:18:06 -06:00
Wenge Zhu
6019745b7a Upgrade gt9615 touch driver version
TP:
Upgrade gt9615 touch driver version to v1.3.15

Change-Id: Iee4a5981771c4d740aa1cab2ee514c1ec36ec7e4
Signed-off-by: Wenge Zhu <zhuwg1@motorola.com>
Reviewed-on: https://gerrit.mot.com/2788656
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Jun Weng <wengjun1@motorola.com>
Reviewed-by: Jichao Zou <zoujc@motorola.com>
Submit-Approved: Jira Key
2023-11-08 02:43:41 -06:00
Wenge Zhu
3b174792ab Support factory test
1.Print factory test result log
2.Transfer test result to user

Change-Id: Iea37bebcf621d463c77f842613804f8c2f1afee4
Signed-off-by: Wenge Zhu <zhuwg1@motorola.com>
Reviewed-on: https://gerrit.mot.com/2789445
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Jun Weng <wengjun1@motorola.com>
Reviewed-by: Jichao Zou <zoujc@motorola.com>
Submit-Approved: Jira Key
2023-11-08 02:43:39 -06:00
xuwt2
17eeb3e0d8 mmi_charger: Add heartbeat-factory-interval
1, Change the default value of HEARTBEAT_FACTORY_MS to 5s
2, Add heartbeat-factory-interval settings in dts

Change-Id: Icfaa37c7993d09c8a60fa796f3005999eee08a9c
Signed-off-by: xuwt2 <xuwt2@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2787881
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Yonghua Yan <yanyh2@motorola.com>
Reviewed-by: Guobin Zhang <zhanggb@motorola.com>
Submit-Approved: Jira Key
2023-11-08 02:00:13 -06:00
149
b1fe86f558 add sc89890h vindpm_track
WHY:The CDP port of the computer will be repeatedly disconnected
when 97% of the power is plugged in,Add vindpm_track to adjust vindpm
when the voltage is high
Change-Id: I520c7778d644b5d14cea455dc2797395e228c0a9
Reviewed-on: https://gerrit.mot.com/2784390
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Wei Xu <xuwei9@lenovo.com>
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
2023-11-07 23:48:31 -06:00
Xiaojun Ji
53ebca371d Revert "(CR) moto_swap: Add SWP_SYNCHRONOUS_IO cmd for ioctl"
This reverts commit 0d5cadb6c01d50b3a543c5842487bd358248e66f.

Change-Id: Ic0cf12be9914cd115eb3ac1711ff8ae4c68c019e
Reviewed-on: https://gerrit.mot.com/2789152
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Tested-by: Jira Key
Submit-Approved: Jira Key
2023-11-07 23:07:39 -06:00
xuwt2
b72629e03c sc760x_charger: irq-dis-cfg
irq-dis-cfg:
Do not request IRQ when define irq-dis-cfg.

Change-Id: I8b563a0aa3cf42bc8eb1923afe6dcf14e1c5d8df
Signed-off-by: xuwt2 <xuwt2@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2787073
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: litong <litong20@motorola.com>
Reviewed-by: Guobin Zhang <zhanggb@motorola.com>
Submit-Approved: Jira Key
2023-11-07 02:40:55 -06:00
dengwei1
685e384ed0 eqe: input touch support game mode
support game
mode feature

Change-Id: I2a868b132b36ec814ab4f7065fd082dbafd863bb
Signed-off-by: dengwei1 <dengwei1@motorola.com>
Reviewed-on: https://gerrit.mot.com/2787733
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
2023-11-07 00:18:23 -06:00
Wenge Zhu
995f6b0433 Distinguish log print with main touch
TP:
Distinguish log print with main touch.

Change-Id: If341859f4beeb8f3e701f8817fc6279bec2c1b47
Signed-off-by: Wenge Zhu <zhuwg1@motorola.com>
Reviewed-on: https://gerrit.mot.com/2786237
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Jun Weng <wengjun1@motorola.com>
Reviewed-by: Jichao Zou <zoujc@motorola.com>
Submit-Approved: Jira Key
2023-11-06 21:31:17 -06:00
Wenge Zhu
08a0bce0e5 Add IC type of GT9615
TP:
Add IC type of GT9615(Marseille).

Change-Id: If78eb28e317424b37b86c7677b38b01c35035465
Signed-off-by: Wenge Zhu <zhuwg1@motorola.com>
Reviewed-on: https://gerrit.mot.com/2786221
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Jun Weng <wengjun1@motorola.com>
Reviewed-by: Jichao Zou <zoujc@motorola.com>
Submit-Approved: Jira Key
2023-11-06 21:31:05 -06:00
Xiaojun Lv
75e9ee177b avatrn: add parrot build config for fts
tp:
add parrot build config for fts

Change-Id: Ie2791b8a53a4a186d356d98d933bb2468abd9d0d
Reviewed-on: https://gerrit.mot.com/2785841
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Yeqing Wang <wangyq13@motorola.com>
Reviewed-by: Hujun Liao <liaohj@motorola.com>
Submit-Approved: Jira Key
2023-11-06 19:54:49 -06:00
xuxj
5dd18fd47d charger: add factory charge limit enable voltage
Charger limit enable when soc to high, but if soc wrong and voltage too
low may caused low voltage battery can't charge, add enable voltage to
avoid it.

Change-Id: I7273351f237c2dd0262bf6f6c3bc18fb41e0860b
Signed-off-by: xuxj <xuxj12@motorola.com>
Reviewed-on: https://gerrit.mot.com/2786869
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Reviewed-by: Wentao Xu <xuwt2@motorola.com>
Reviewed-by: Guobin Zhang <zhanggb@motorola.com>
Tested-by: Jira Key
Submit-Approved: Jira Key
2023-11-06 19:26:06 -06:00
Bruno Oliveira
c78b8b8fbf Chipone: Fix compatibility with 5.4.0 api
This commit is a port from https://gerrit.mot.com/#/c/1795715/
       to focaltech_0flash_v2_mmi

At GKI 1.0 the VTS tests should use GKI and GKI does not allow the use of
        input_get_new_minor, so VTS tests does not have working touchscreen
        Fix it definitely using the correct alloc api

Change-Id: Iacca8ddca0ac53e374eb18b6779b29f6467745ad
Reviewed-on: https://gerrit.mot.com/2780951
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Rafael Ortolan <rafones@motorola.com>
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
Reviewed-by: Claudio Junior <claudioj@motorola.com>
2023-11-06 06:49:29 -06:00
huangzq2
e005252d13 fix null pointer at quota_day_store
Change-Id: I660fbdb63fe9b005472c6ac61dc5cffdbd1972a1
Signed-off-by: huangzq2 <huangzq2@motorola.com>
Reviewed-on: https://gerrit.mot.com/2786068
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Tested-by: Jira Key
Submit-Approved: Jira Key
2023-11-06 02:27:55 -06:00
Xiaojun Ji
8bc20dada0 moto_swap: Add SWP_SYNCHRONOUS_IO cmd for ioctl
Currently, swap_slot_has_sync_io() will always return true to
skip readahead since ramboost2.0 is SWP_SYNCHRONOUS_IO

Change-Id: I84a495f3de464e8c68ccd3d43de2c0b44f3e3fb2
Reviewed-on: https://gerrit.mot.com/2784761
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Yonghui Jia <jiayh2@motorola.com>
Reviewed-by: Zhangqing Huang <huangzq2@motorola.com>
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
2023-11-06 01:34:14 -06:00
litong20
82e2314b17 Add charger type uevent
Support charger type uevent to notify BatteryService
the charger real tyep.

Filter uevent by uevent message POWER_SUPPLY_CHARGE_REAL_TYPE
to parse the real charger type.

Change-Id: Ibfab5f3a12565b8bcb30d093f3f27e9d5c1f4b11
Reviewed-on: https://gerrit.mot.com/2783912
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Yonghua Yan <yanyh2@motorola.com>
Reviewed-by: Guobin Zhang <zhanggb@motorola.com>
Submit-Approved: Jira Key
2023-11-05 23:55:20 -06:00
dengwei1
0a7ebaa8eb eqe: vibrator add haptic rtp support
add new file
to indicate rtp interface

Change-Id: I2269d68d01d09174eeff07642b14c404ede77354
Signed-off-by: dengwei1 <dengwei1@motorola.com>
Reviewed-on: https://gerrit.mot.com/2784337
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
2023-11-05 21:54:47 -06:00
Haijian Ma
25f8a99be0 charge: config qg iterm small than FCC
Sometimes thermal limit FCC small than qg iterm when soc >90%.
Qcom gauge will track to 100% but now battery is not full.
So qg iterm should setted small than FCC and large than chg_iterm.

Change-Id: I0dbeee2bfe79d0ddeaf5681ce7b77f0bb7eb7424
Signed-off-by: Haijian Ma <mahj8@motorola.com>
Reviewed-on: https://gerrit.mot.com/2784309
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
2023-11-03 02:46:01 -05:00
Chunyu Fan
2a79a93c1b Take FPS driver compile error
Add check mechanism with kernel version, due to deleting gpio free api
with prefix 'devm_' on latest kernel version.

Change-Id: Idac00094e9e3d40ed806e95d37881399000a372b
Signed-off-by: Chunyu Fan <fancy3@motorola.com>
Reviewed-on: https://gerrit.mot.com/2781626
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Jichao Zou <zoujc@motorola.com>
Submit-Approved: Jira Key
2023-11-02 10:25:39 -05:00
wangdp11
7da14327f3 ctwov: Solve iic_driver .remove compatibility issue
Details:
New IIC_driver .remove will not return value.

Change-Id: I13b4366ded871c5e9b8b9244eea181114dc672dc
Signed-off-by: wangdp11 <wangdp11@motorola.com>
Reviewed-on: https://gerrit.mot.com/2781822
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: <liuzy55@motorola.com>
Reviewed-by: Shuo Wang <wangsh18@motorola.com>
Reviewed-by: Zhichao Chen <chenzc2@motorola.com>
Reviewed-by: Zhenxin Xi <xizx@motorola.com>
Submit-Approved: Jira Key
2023-11-01 22:30:37 -05:00
wangwang
16c65f5da8 moto_swap:fix kernel panic on memcg conf
the app_score in default oemdata(hybridswap) is initialized as 300
however, the userspace only configures 100, 200, 400, 600 groups,
there is no room fit for initial value, while go through all the
memcgroups, it is not possible to find a slot to fit in the default
value, the outbond index causes the panic

Change-Id: I45e59a2629c17ae9eaa326c749d6ed4b51e3b2e7
Signed-off-by: wangwang <wangwang@motorola.com>
Reviewed-on: https://gerrit.mot.com/2782610
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Tested-by: Jira Key
Submit-Approved: Jira Key
2023-11-01 05:26:32 -05:00
Maxwell Bland
c17975b674 Moto kernel protection module
Provides a kernel module to support the initialization of motorola's
hypervisor level protections for kernel code and read-only data.

- This protection requires exceptions for jump_label patch addresses,
  which are stored in a bitwise trie. Tests for this data structure are
  included under tests/jump_table_lookup.h
- Handles proper translation of virtual into physical address
  translation for enforcing kernel protections in the hypervisor
- Handles the splitting of hugepages and interprocessor synchronization
  for fine-grained memory region protections

Change-Id: I2e994d3b4eb55a3d7c4d4acaf4b23232679276f6
Reviewed-on: https://gerrit.mot.com/2755343
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Reviewed-by: Qing Chang <qing@motorola.com>
Reviewed-by: Binsheng Que <quebs2@motorola.com>
Tested-by: Jira Key
Submit-Approved: Jira Key
2023-11-01 01:17:59 -05:00
zhuangnk1
e6bb2a2018 Add macro to close debug function in user build
Add macro to close debug function in user build
And fix GKI build issue in user build

Change-Id: I741cabc03e50d454f005025fd14e08764cdc5949
Signed-off-by: zhuangnk1 <zhuangnk1@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2782369
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Tao Sun <suntao2@motorola.com>
Submit-Approved: Jira Key
2023-11-01 00:17:43 -05:00
lixuehan
0fa0bc5060 fogo/motorola:Fogo 5g na optimize stowed mode
fogo:
Fogo 5g na optimize stowed mode

Change-Id: I6bc4c92d337361e2568a21f8b2d1d81da14eab19
Signed-off-by: lixuehan <hq126@motorola.com>
Reviewed-on: https://gerrit.mot.com/2782475
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Jun Weng <wengjun1@motorola.com>
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
2023-10-31 23:03:14 -05:00
wangyq13
fe31062b8c input: goodix_berlin: enable palm cancel for report id
goodix_berlin:
Enable palm cancel for every report id,
compensate the global palm cancel.

Change-Id: I622dbf25a600d3c511f2618a8869e36c7659aa53
Signed-off-by: wangyq13 <wangyq13@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2781325
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: <zhuwg1@motorola.com>
Reviewed-by: <lvxj4@motorola.com>
Reviewed-by: Jun Weng <wengjun1@motorola.com>
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
2023-10-31 22:32:08 -05:00
zhuangnk1
a584e3c44b Update UWB driver to version 7.4
Update UWB driver to version 7.4 to support 1.2v
platform

Change-Id: Iace483f72aeba6deaacd9cd91cb844aabbaa279f
Signed-off-by: zhuangnk1 <zhuangnk1@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2778728
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Tao Sun <suntao2@motorola.com>
Submit-Approved: Jira Key
2023-10-30 03:58:19 -05:00
xuwei9
d3c84c683b add reset charger pump cmd during power down
Some pump ic's register do not reset to defaul value after shutdown
for example cps2023, if acdrv mos set to manual mode and
Usb mos at off status. phone can not boot up by cable.
Reset register after power down for this case.

Change-Id: I2749c185f6504ccf7352238d686d7b77688b725c
Signed-off-by: xuwei9 <xuwei9@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2779131
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
2023-10-29 21:10:27 -05:00
Wenge Zhu
3582d300e2 Build goodix gt9615 driver module
TP:
Build goodix gt9616 driver module.

Change-Id: I0b5c1ed550bcf28c195600e06b4b97513284d248
Signed-off-by: Wenge Zhu <zhuwg1@motorola.com>
Reviewed-on: https://gerrit.mot.com/2778811
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Jichao Zou <zoujc@motorola.com>
Reviewed-by: Jun Weng <wengjun1@motorola.com>
Submit-Approved: Jira Key
2023-10-29 20:57:59 -05:00
Wenge Zhu
6de617e9b3 Add initial source code for GT9615
Add initial source code for GT9615 touch IC,driver code
version: v1.3.13.

Change-Id: I453f30b5667cdefa4fb391bb9818351a4b02c703
Signed-off-by: Wenge Zhu <zhuwg1@motorola.com>
Reviewed-on: https://gerrit.mot.com/2777321
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Jun Weng <wengjun1@motorola.com>
Reviewed-by: Jichao Zou <zoujc@motorola.com>
Submit-Approved: Jira Key
2023-10-29 20:57:12 -05:00
wangxiaofeng
ca226dcb12 modify wl2868c driver to adapt new return value
-The '.remove' function return void on new kernel version
-modify wl2868c driver to adapt this.

Change-Id: I9c37607f4c0588b890c489e5f95054d559ce5233
Signed-off-by: wangxiaofeng <wangxf32@motorola.com>
Reviewed-on: https://gerrit.mot.com/2772224
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: <liuyy62@motorola.com>
Reviewed-by: Zhichao Chen <chenzc2@motorola.com>
Reviewed-by: wangdp11 <wangdp11@motorola.com>
Reviewed-by: Pengfei Qiao <qiaopf1@motorola.com>
Reviewed-by: Zhenxin Xi <xizx@motorola.com>
Submit-Approved: Jira Key
2023-10-27 00:00:40 -05:00
qiurp1
ca67639019 ctwov:change sar sensor driver
----compaly with the lastest compliation rules

Change-Id: Iad1434de6121f6cb3779b15e7ea039ac78215431
Signed-off-by: qiurp1 <qiurp1@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2777235
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Reviewed-by: Jiyue Cui <cuijy2@lenovo.com>
Reviewed-by: Tao Sun <suntao2@motorola.com>
Tested-by: Jira Key
Submit-Approved: Jira Key
2023-10-26 05:34:15 -05:00
Yonghua Yan
c12e5182ad Fix compile issue on Kernel version 6.1.25
Fix compile issue on Kernel version 6.1.25 to use new remove
function protype of i2c device driver.

Change-Id: I9ba5254fd65da48be78a0bbd7362fcf2c92f2250
Signed-off-by: Yonghua Yan <yanyh2@motorola.com>
Reviewed-on: https://gerrit.mot.com/2777335
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Reviewed-by: Guobin Zhang <zhanggb@motorola.com>
Tested-by: Jira Key
Submit-Approved: Jira Key
2023-10-25 23:51:17 -05:00
Yonghua Yan
509659c124 Fix compile issue on Kernel version 6.1.25
Fix compile issue on Kernel version 6.1.25 to use new remove
function protype of i2c device driver.

Change-Id: I629bccb4b9c3fb0c11e972cbe823987e9ab8cac5
Signed-off-by: Yonghua Yan <yanyh2@motorola.com>
Reviewed-on: https://gerrit.mot.com/2777334
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Reviewed-by: Guobin Zhang <zhanggb@motorola.com>
Tested-by: Jira Key
Submit-Approved: Jira Key
2023-10-25 23:51:02 -05:00
Yonghua Yan
953f4cc46e Fix compile issue on Kernel version 6.1.25
Fix compile issue on Kernel version 6.1.25 for removed function
call.

Change-Id: I5ca11de17ec47951e13a0f7ffec4c847f39136ce
Signed-off-by: Yonghua Yan <yanyh2@motorola.com>
Reviewed-on: https://gerrit.mot.com/2777333
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Reviewed-by: Guobin Zhang <zhanggb@motorola.com>
Tested-by: Jira Key
Submit-Approved: Jira Key
2023-10-25 23:50:49 -05:00
149
ad0692ef7e fogona Usb connection to PC,plug in the phone to charge,the phone restarts
The second supply cc is not compatible with the dual pull-up Huawei
line,resulting in rd_PD_Manager is unable to obatin the correct RP level

Change-Id: I939020e45f1ef5160646bfec2d3bb3b4d49ac019
Reviewed-on: https://gerrit.mot.com/2775856
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Zonghua Liu <a17671@motorola.com>
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Reviewed-by: Lei Chen <chenl18@motorola.com>
Submit-Approved: Jira Key
2023-10-25 05:12:12 -05:00