Commit graph

3,180 commits

Author SHA1 Message Date
liuyc20
f7d009ddcb mmi-smbcharger: the battery age value switch to qcom gauge soh
PROPAGATED_from (CR)

- the qcom gauge soh is more accurate.
- if cycle_count < 50, then age=100.

Change-Id: I11d67d5c5336295f0c08b4071754714489291522
Signed-off-by: liuyc20 <liuyc20@lenovo.com>
Reviewed-on: https://gerrit.mot.com/3134495
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Haijian Ma <mahj8@motorola.com>
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
Signed-off-by: Robert Cabral <robertc@motorola.com>
Reviewed-on: https://gerrit.mot.com/3157744
Reviewed-by: Hugo Cuffa <hcuffa@motorola.com>
Reviewed-by: Yuecai Liu <liuyc20@motorola.com>
2024-11-29 06:39:58 -06:00
liuyc20
830d539363 mmi_smbcharger_iio: allow to set fuelgauge cycle_count
PROPAGATED_from (CR)

"echo 0 > sys/class/power_supply/battery/cycle_count" to
reset qcom gauge cycle_count value.

Change-Id: I83433fc51a1863985f31a356c7201f37ad89e7ff
Signed-off-by: liuyc20 <liuyc20@lenovo.com>
Reviewed-on: https://gerrit.mot.com/3101113
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Haijian Ma <mahj8@motorola.com>
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
Signed-off-by: Robert Cabral <robertc@motorola.com>
Reviewed-on: https://gerrit.mot.com/3157743
Reviewed-by: Hugo Cuffa <hcuffa@motorola.com>
Reviewed-by: Yuecai Liu <liuyc20@motorola.com>
2024-11-29 06:39:05 -06:00
liuyc20
986fcfea9d mmi_smbcharger_iio: Get batt cycyle_count from qcom_fg
PROPAGATED_from (CR)

For only use a fuelgauge product, Getting the battery cycle_count value
via gauge_phy.

Change-Id: I31563e3a18a4154d94b8bf7da9f6a85a8e98c7ab
Signed-off-by: liuyc20 <liuyc20@lenovo.com>
Reviewed-on: https://gerrit.mot.com/3099247
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Haijian Ma <mahj8@motorola.com>
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
Signed-off-by: Robert Cabral <robertc@motorola.com>
Reviewed-on: https://gerrit.mot.com/3157742
Reviewed-by: Hugo Cuffa <hcuffa@motorola.com>
Reviewed-by: Yuecai Liu <liuyc20@motorola.com>
2024-11-29 06:37:35 -06:00
xuyf4
76615754e9 mmi_smbcharger_iio: recharge <=95%
PROPAGATED_from (CR)

For LOT-x battery requirement
recharge <=95%

Change-Id: I7ebfcff53bf20da2884795b5ab2f64b8fc0afef5
Reviewed-on: https://gerrit.mot.com/2923293
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: liujian <liujian24@lenovo.com>
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
Signed-off-by: Robert Cabral <robertc@motorola.com>
Reviewed-on: https://gerrit.mot.com/3157741
Reviewed-by: Hugo Cuffa <hcuffa@motorola.com>
Reviewed-by: Andrea dos Santos <andreads@motorola.com>
Submit-Approved: Andrea dos Santos <andreads@motorola.com>
2024-11-29 06:36:08 -06:00
liuyc20
2ef1dc560d mmi_charger: Add state_of_health/first_usage_date/manufacturing_date
PROPAGATED_from (CR)

For LOT-X battery requirement
Add battery info
state_of_health, first_usage_data, manufacturing_date

Change-Id: I93376517bb96050798ac95aeb5d1f0c186b27270
Signed-off-by: liuyc20 <liuyc20@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2854414
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Haijian Ma <mahj8@motorola.com>
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
Signed-off-by: Robert Cabral <robertc@motorola.com>
Reviewed-on: https://gerrit.mot.com/3157739
Reviewed-by: Hugo Cuffa <hcuffa@motorola.com>
Reviewed-by: Yuecai Liu <liuyc20@motorola.com>
2024-11-29 06:34:11 -06:00
Xiaojun Ji
51340e3125 moto_swap: Reduce force eswap out size of half
Change-Id: I0a109b34a0535a48082fca2d815e6f3f246c9652
Reviewed-on: https://gerrit.mot.com/3137861
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Reviewed-by: Zhangqing Huang <huangzq2@motorola.com>
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
2024-11-22 14:57:06 -06:00
wuwl10
7714892225 dlkm: goodix_fod_mmi: fix KE issue
When there is not panel connect to board , the active_panel is NULL
we need to protect it to avoid KE.

Change-Id: Idbb91740f5c5c043d80cf527113abf1e6f0337e3
Signed-off-by: wuwl10 <wuwl10@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2926504
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Submit-Approved: Jira Key
2024-04-04 00:11:43 -05:00
wuwl10
39d2778cb5 dlkm: goodix_fod: support drm panel notification
Add DRM panel notification to support screen state to hal.
It can make sensor broken detecte work well

Change-Id: If43fda2cd8c38faba552718d14958281f82688e3
Signed-off-by: wuwl10 <wuwl10@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2796187
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Ling Zhong <zhongl1@motorola.com>
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
2023-12-25 21:48:24 -06:00
Xiaojun Ji
29e3449737 moto_swap: Add reset_bdev to close backing dev for ramboost2.0
reboot process will write 1 to /sys/block/zram0/reset to close backing 
device fd

Change-Id: Id11caf26c3edff89a0bf64fc706799c1d54901ee
Reviewed-on: https://gerrit.mot.com/2816017
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Wang Wang <wangwang1@lenovo.com>
Submit-Approved: Jira Key
(cherry picked from commit 056c46364adf0b5bacb64554c55f88a56c977f45)
Reviewed-on: https://gerrit.mot.com/2817430
Reviewed-by: Lianlu Chen <chenll4@lenovo.com>
2023-12-06 21:33:45 -06:00
Xiaojun Lv
7c2975f8e0 avatrn: support touch sensitivity in game mode
Support touch sensitivity in game mode for avatrn,
default touch report rate is 240Hz and high report rate is 360Hz
.

Change-Id: I9f5c8a414e3a8698393687527ed1a42a61808a07
Reviewed-on: https://gerrit.mot.com/2799919
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
2023-11-20 21:16:51 -06:00
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