Commit graph

2,900 commits

Author SHA1 Message Date
tinno61
fde9bdffea bangkok focaltech tp modify for system crash
bangkok:remove focaltech fod log,because too many logs in
interrupts can cause system crash

Change-Id: Ia7444d41a1e60398b5524938299e457b8f96527d
Reviewed-on: https://gerrit.mot.com/2574799
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Wei Deng <dengwei1@motorola.com>
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
2023-04-13 01:00:24 -05:00
xuwt2
8cc8dc29b0 sc760x_charger_mmi: Support THERMAL_RATIO_CONTROL
Dual battery thermal mitigation, Add equal ratio thermal level control
Define THERMAL_RATIO_CONTRO to enable this feature.
It will ignore thermal-mitigation-level and force to rewite new thermal
level through calculating the (batt_fcc_ma/thermal-ratio) of parnter
battery

Change-Id: Ib44eccfe540b6d8d705bb53fb5001207288a7b85
Signed-off-by: xuwt2 <xuwt2@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2567981
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: litong <litong20@motorola.com>
Reviewed-by: Guobin Zhang <zhanggb@motorola.com>
Submit-Approved: Jira Key
2023-04-12 01:34:26 -05:00
litong20
e831fbc96e cw2217b: add some logs for soc jumping debug.
In order to debug the problem of fuel gauge soc jumping,
add some debug logs,

Change-Id: I5b6adf50d496126059366a0c322915a0f533acd4
Reviewed-on: https://gerrit.mot.com/2567828
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Wentao Xu <xuwt2@motorola.com>
Reviewed-by: Tao Sun <suntao2@motorola.com>
Submit-Approved: Jira Key
2023-04-06 21:24:52 -05:00
Wenge Zhu
6f245b1a79 Check if i2c device available before add driver
TP:
Check if i2c device available before add driver.

Change-Id: Ia53cf3f952c5742632c0e105db95e19e4d02ce31
Signed-off-by: Wenge Zhu <zhuwg1@motorola.com>
Reviewed-on: https://gerrit.mot.com/2565327
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Tao Sun <suntao2@motorola.com>
Submit-Approved: Jira Key
2023-04-04 08:26:48 -05:00
litong20
c1f9c09b52 Support the input charge current limit for wireless charger
sgm4154x:
Support the input charge current limit setting for wireless charger.

Change-Id: Iaaadbf4936099c7614471d72d288c26969862095
Reviewed-on: https://gerrit.mot.com/2557864
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Wentao Xu <xuwt2@motorola.com>
Reviewed-by: Guobin Zhang <zhanggb@motorola.com>
Submit-Approved: Jira Key
2023-04-03 04:47:00 -05:00
dengwei1
e1f4334059 bangkk: input touch add config for bangkk only
add config
for bangkk only

Change-Id: Icca83595a7adfffc426062020fec96b1870de824
Signed-off-by: dengwei1 <dengwei1@motorola.com>
Reviewed-on: https://gerrit.mot.com/2561448
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: <zhuwg1@motorola.com>
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
2023-03-31 02:20:29 -05:00
Wenge Zhu
6dc1866214 Add Wait pm for zinitix touch gesture feature
Before communicate with touch IC after receive gesture irq,need wait pm
resume success or read gesture data will fail.

Change-Id: I55cfdc41244e1b9f159770046be64bed337f0d18
Signed-off-by: Wenge Zhu <zhuwg1@motorola.com>
Reviewed-on: https://gerrit.mot.com/2558492
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Jichao Zou <zoujc@motorola.com>
Submit-Approved: Jira Key
2023-03-29 04:33:24 -05:00
LiZidong
785924f871 Bangkok add focal tp vdd gpio low
add foocatech touch 3.3v control low
when suspend

Change-Id: If29a6bfd757c22bebcc043332f5085030c1c40ba
Reviewed-on: https://gerrit.mot.com/2558318
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
2023-03-29 02:55:57 -05:00
LiZidong
1db593bdaf Bangkok modify for focaltech touch fod
focal touch : add touch fod and double tap
driver

Change-Id: Ie44df42c7ad3aa361c54e351ec2d2bfc67c3a96f
Signed-off-by: LiZidong <tnlizd@motorola.com>
Reviewed-on: https://gerrit.mot.com/2556803
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Wei Deng <dengwei1@motorola.com>
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
2023-03-29 02:26:03 -05:00
tin_bingtai.zou_tmp
4b93d45e50 sar sensor bring up 1/2
1.sar sensor bring up
2.modify sx937x driver for secondary sar

Change-Id: I3eef88077a14e7e1dab92c860406d0b1ee35a02c
Signed-off-by: tin_bingtai.zou_tmp <tinno60@motorola.com>
Reviewed-on: https://gerrit.mot.com/2552802
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: <yangyi31@motorola.com>
Reviewed-by: Yuchang Guo <guoyc1@lenovo.com>
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
2023-03-27 05:32:41 -05:00
tnyangc
5540075a2b sar sensor bring up -aw
1.sar sensor bring up
2.add aw driver

Change-Id: I42564cc4393fdbe30a63722d544b7e84c578a177
Signed-off-by: tnyangc <ramiel.yang@tinno.com>
Reviewed-on: https://gerrit.mot.com/2554436
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: <yangyi31@motorola.com>
Reviewed-by: Yuchang Guo <guoyc1@lenovo.com>
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
2023-03-27 04:40:20 -05:00
tinno61
f6c3a009e1 Bangkok modify for focal to no touch
some focaltech tp no touch : modify timing of iovcc and

vdd,first vdd,the second is iovcc.and issue is already fixed.

Change-Id: I8170cb474d84c50ab068fecfda88679419710f5e
Reviewed-on: https://gerrit.mot.com/2554227
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Wei Deng <dengwei1@motorola.com>
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
2023-03-27 02:36:10 -05:00
liuzhen
b115dc9ae5 add some param for bq25980 driver
1.enable ADC_EN for sc8541
2.add cp_switch for bq25980 driver
3.add STATU5 BIT(6) for cp_switch status

Change-Id: I0d754115b67161327f62b79cf023794c255cd5bb
Reviewed-on: https://gerrit.mot.com/2553725
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-03-27 01:05:12 -05:00
LiZidong
5bacf09647 Bangkok TP bring up
add bangkok focaltech tp driver,add the focaltech driver
vdd 3.3v and x16 resolution.

Change-Id: Ib253920a10718b34fd934e51a11156fdc8180b03
Signed-off-by: LiZidong <tnlizd@motorola.com>
Reviewed-on: https://gerrit.mot.com/2551020
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Wei Deng <dengwei1@motorola.com>
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
2023-03-24 00:43:46 -05:00
Wenge Zhu
c2b0312f38 Add touch pocket mode feature
TP:
Add touch pocket mode feature for focaltech.

Change-Id: I7c6feaff5e8d5eee512d63f07a3586a85615d374
Signed-off-by: Wenge Zhu <zhuwg1@motorola.com>
Reviewed-on: https://gerrit.mot.com/2518204
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: litong <litong20@motorola.com>
Reviewed-by: Jichao Zou <zoujc@motorola.com>
Submit-Approved: Jira Key
2023-03-23 20:47:30 -05:00
xuwt2
aa344af5ee sc760x_charger_mmi: fix build error of irq_enabled
sc760x_charger_mmi:
fix build error of irq_enabled

Change-Id: If62e67c8938bb43145aa087244967bc022a6a0d8
Signed-off-by: xuwt2 <xuwt2@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2548792
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: litong <litong20@motorola.com>
Reviewed-by: Guobin Zhang <zhanggb@motorola.com>
Submit-Approved: Jira Key
2023-03-21 21:10:46 -05:00
xuwt2
e144cc561d sc760x: Do not enable IRQ until sc760x gpio enable
sc760x_mmi_charger:
Do not enable IRQ until SC760x gpio enable

Change-Id: If74f94c55be02e02b5318d198928a65577483c9d
Signed-off-by: xuwt2 <xuwt2@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2547822
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Yonghua Yan <yanyh2@motorola.com>
Reviewed-by: Tao Sun <suntao2@motorola.com>
Submit-Approved: Jira Key
2023-03-21 08:38:25 -05:00
Xiaojun Lv
0a57ba56dc backlight: aw99703 use exponential curve for genevn
backlight:
aw99703 use exponential curve from kp to avoid flickering when changing light environment.

Change-Id: If01d5ebda7c2a7bf276387f34ad48a00a9163057
Reviewed-on: https://gerrit.mot.com/2543541
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Yeqing Wang <wangyq13@motorola.com>
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
2023-03-18 07:21:45 -05:00
xuwt2
1913630153 sc760x: remove sc760x_dump_reg from irq_handler
sc760x_charger_mmi:
remove sc760x_dump_reg from irq_handler.

Change-Id: I125b093c911768ab1a249738b8a5fbaf26470221
Signed-off-by: xuwt2 <xuwt2@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2543575
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Guobin Zhang <zhanggb@motorola.com>
Submit-Approved: Jira Key
2023-03-17 06:06:06 -05:00
Wenge Zhu
ef0d746f8a Add gesture pm for goodix touch
TP:
Wait bus ready before read gesture data from IC.

Change-Id: I17caa70cadcb0a3ac9c4399481c11e43e8a8ef1c
Signed-off-by: Wenge Zhu <zhuwg1@motorola.com>
Reviewed-on: https://gerrit.mot.com/2543551
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: litong <litong20@motorola.com>
Reviewed-by: Guobin Zhang <zhanggb@motorola.com>
Submit-Approved: Jira Key
2023-03-17 05:29:42 -05:00
Wenge Zhu
8c5f51048d Reduce firmware upgrade time for zinitix touch
TP:
Reduce firmware upgrade time for zinitix touch.

Change-Id: I84dc7e9588fc02fc973eb3fd163f179e5105fea2
Signed-off-by: Wenge Zhu <zhuwg1@motorola.com>
Reviewed-on: https://gerrit.mot.com/2537396
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Jichao Zou <zoujc@motorola.com>
Submit-Approved: Jira Key
2023-03-14 04:08:46 -05:00
xuwt2
5f3b590c25 sc760x: Check gpio_en before access I2C bus
Check sc760x gpio_en before access I2C bus.
Improve system stability

Change-Id: Ifd0a2d811fa0e216570d15deb748c8ce6165743e
Signed-off-by: xuwt2 <xuwt2@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2538172
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: <xuxj12@motorola.com>
Reviewed-by: litong <litong20@motorola.com>
Reviewed-by: Guobin Zhang <zhanggb@motorola.com>
Submit-Approved: Jira Key
2023-03-14 01:45:28 -05:00
Srihari Sathyanarayana
dbdc900d3c Documentation:ledtrig-sol:Add led trig support
Added documentation for led trigger support with sol tri led
wrt battery status.
This will add trigger driver on top of QTI Tri-led driver

Change-Id: I050a9f42f9b2b3af156d8c86cca28a0151385b74

Signed-off-by: Srihari Sathyanarayana <sriharis@motorola.com>
Change-Id: I050a9f42f9b2b3af156d8c86cca28a0151385b74
Reviewed-on: https://gerrit.mot.com/2523300
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Perry White <awhite6@motorola.com>
Reviewed-by: Vijayakumar Gn <vijaygn@motorola.com>
Reviewed-by: Mahesh Med(CR) <maheshmk@motorola.com>
Reviewed-by: Guobin Zhang <zhanggb@motorola.com>
Submit-Approved: Jira Key
2023-03-14 01:00:07 -05:00
Gilberto Gambugge
b37868629d nova_0flash_mmi: fix build failure
Fix 'undefined symbol' build failure at kernel 5.4:

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
ERROR: "mmi_device_is_available" [../../motorola/kernel/modules/drivers/
       input/touchscreen/nova_0flash_mmi/nova_0flash_mmi.ko] undefined! 
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Change-Id: I4ab25a9b25e2a852951a72bd82a6f1531d1fa6a2
Reviewed-on: https://gerrit.mot.com/2517947
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Reviewed-by: Rafael Ortolan <rafones@motorola.com>
Tested-by: Jira Key
Reviewed-by: Marcelo Pincinato <mpcinato@motorola.com>
Submit-Approved: Marcelo Pincinato <mpcinato@motorola.com>
2023-03-13 16:06:00 -05:00
xuwt2
7d45d05c31 cw2217: Dynamic adjust UI_FULL
Discharge:
update UI_FULL to Real_SOC when real_soc > UI_FULL
Charing:
adjust UI_FULL to close to UI_FULL_SET step by step

Change-Id: I443cbacb29bfef9198855256e79e700753312fed
Signed-off-by: xuwt2 <xuwt2@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2536020
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-03-13 06:06:41 -05:00
litong20
aea77fa8f4 The current units should be consistent.
The unit of thermal_fcc_ua is ua, but the
unit of target_fcc is ma.

Change-Id: Ic7065344f417adbd840efe473005861a69428e70
Reviewed-on: https://gerrit.mot.com/2536876
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Wentao Xu <xuwt2@motorola.com>
Reviewed-by: Guobin Zhang <zhanggb@motorola.com>
Submit-Approved: Jira Key
2023-03-13 01:52:26 -05:00
Yonghua Yan
08c088e43b Optimize the charger control logic
1. Disable charger only when charger is offline and vbus is bad.
2. Get charger status from wireless charger if wireless charger present.
3. Get charger ibus limit from charger current_max property
indicating the AICL value for BC1.2 charger.

Change-Id: I0ff51a15d6faf4f545fcda200ae531240e531e04
Signed-off-by: Yonghua Yan <yanyh2@motorola.com>
Reviewed-on: https://gerrit.mot.com/2536492
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Guobin Zhang <zhanggb@motorola.com>
Submit-Approved: Jira Key
2023-03-12 22:56:40 -05:00
xuxj12
6591ba0f33 sc760x:ensure that user configuration takes precedence
user ibat set failed in factory test

Change-Id: I395103e82dd60b5ed5f55a7953222d809fb1b700
Signed-off-by: xuxj12 <xuxj12@motorola.com>
Reviewed-on: https://gerrit.mot.com/2534444
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Wentao Xu <xuwt2@motorola.com>
Reviewed-by: Tao Sun <suntao2@motorola.com>
Submit-Approved: Jira Key
2023-03-09 05:53:53 -06:00
litong20
e9e36e9fca ensure that user configuration takes precedence.
sc760x:
If there is no user configuration, set the value of thermal limit.

Change-Id: I0866031ab7f33445846d868d2fa4202c51812185
Reviewed-on: https://gerrit.mot.com/2532545
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Wentao Xu <xuwt2@motorola.com>
Reviewed-by: Tao Sun <suntao2@motorola.com>
Submit-Approved: Jira Key
2023-03-08 03:38:23 -06:00
liujian24
9f6038ec4a Pnangn:Upgrade Egis SDK to v1.0.10
Upgrade Egis SDK to v1.0.10 on Pnangn
Add necessary feature in driver to support v1.0.10

Change-Id: Ifcbbb5a3c845f65e1fb2449527d678c564bbdbca
Reviewed-on: https://gerrit.mot.com/2530517
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: liujian <liujian24@lenovo.com>
Reviewed-by: Wang Wang <wangwang1@lenovo.com>
Submit-Approved: Jira Key
2023-03-06 21:14:13 -06:00
Srihari Sathyanarayana
9381d10c95 SOL Led: Sync set brightness call before blink set
On closed Oberon unit we saw SOL led not blinking due to sync issue of
led_set_brightness with blink set.
Add led_set_brightness_sync which is a blocking call till blink set.
This will enable setting blink smoothly without conflict with brigtness.

The patch will also use flush_work before setting brightness so no more
delay required before new brigtness setting.

Change-Id: I840cb3398b40725bd928816f4871cbdcba6759a1
Signed-off-by: Srihari Sathyanarayana <sriharis@motorola.com>
Reviewed-on: https://gerrit.mot.com/2526344
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Vijayakumar Gn <vijaygn@motorola.com>
Reviewed-by: Qing Chang <qing@motorola.com>
Submit-Approved: Jira Key
2023-03-06 14:13:21 -06:00
Wenge Zhu
80770b4416 Increase CLI touch raw data level for lynkco
Increase CLI zinitix touch raw data level
for lynkco.

Change-Id: I8344c047bec30caa8c9baef0c6dd77c4eaf8bb19
Signed-off-by: Wenge Zhu <zhuwg1@motorola.com>
Reviewed-on: https://gerrit.mot.com/2529230
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Jichao Zou <zoujc@motorola.com>
Submit-Approved: Jira Key
2023-03-05 21:41:20 -06:00
xuwt2
378a5409af sc760x_charger_mmi: limited ibatt step by step
-1, select ibatt limited by voting
MIN_VAL(thermal-limit-curr, step-chrg-fcc)
-2, set ibatt limited step by step
the step curr is 50mA
-3, dump sc760x regs at sc760x_get_state

Change-Id: I232c6bfbce4c01090c6a3a536fcea855b4d5b8ff
Signed-off-by: xuwt2 <xuwt2@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2526372
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Yonghua Yan <yanyh2@motorola.com>
Reviewed-by: Tao Sun <suntao2@motorola.com>
Submit-Approved: Jira Key
2023-03-03 07:21:52 -06:00
Wenge Zhu
aacfd4eda7 Fix multi-finger touch error logic
Fix multi-finger touch error logic,previous change will cause
not released down event.

Change-Id: I69509221ef9fa15119bbb072ce3a4a493d7bc8c0
Signed-off-by: Wenge Zhu <zhuwg1@motorola.com>
Reviewed-on: https://gerrit.mot.com/2526281
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Jichao Zou <zoujc@motorola.com>
Submit-Approved: Jira Key
2023-03-02 06:15:37 -06:00
xuwt2
495fcf0d67 sc760x: fixed build err
sc760x_charger_mmi:
fixed build error

Change-Id: I78d66d43a75780612ed9a338f3c70c669bcd364b
Signed-off-by: xuwt2 <xuwt2@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2526086
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Guobin Zhang <zhanggb@motorola.com>
Submit-Approved: Jira Key
2023-03-02 03:31:56 -06:00
xuwt2
ebbca485d2 sc760x: Dynamic check sc760x power on
Checking dual battery voltage.
Then decide whether to turn on sc760x.

(Discharge && main_vbatt - flip_vbatt > 200mv)
Does not turn on sc760x

Change-Id: I31180f6404f901e618751fc18e7713bf1351a865
Signed-off-by: xuwt2 <xuwt2@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2523788
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: litong <litong20@motorola.com>
Reviewed-by: Guobin Zhang <zhanggb@motorola.com>
Submit-Approved: Jira Key
2023-03-02 01:10:52 -06:00
Wenge Zhu
e1c9b20d74 Add gesture support for zinitix touch IC
Add single and double tap gesture support for
zinitix touch IC.

Change-Id: I23530196d21c8800845f2b5b81096006a7da2421
Signed-off-by: Wenge Zhu <zhuwg1@motorola.com>
Reviewed-on: https://gerrit.mot.com/2521947
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Jichao Zou <zoujc@motorola.com>
Submit-Approved: Jira Key
2023-02-28 03:57:39 -06:00
maheshmk
5a1c5d012f Oberon : SOL LED: Added module_params
Added module_param support to led-trig.ko module to set during 
init. This can be set to enable tri-led path in driver.

multi_led_enable = 0 : This is default setting only one led module will
be controlled.

multi_led_enable = 1 : Enable tri-led calls so individual brightness or
blink can be set for all (R,G,B) leds.

Change-Id: I552fa0cd707f0a9de45d9f3392cb3fb32ea33a17

Signed-off-by: maheshmk <maheshmk@motorola.com>
Change-Id: I552fa0cd707f0a9de45d9f3392cb3fb32ea33a17
Reviewed-on: https://gerrit.mot.com/2505770
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Qing Chang <qing@motorola.com>
Reviewed-by: Vijayakumar Gn <vijaygn@motorola.com>
Reviewed-by: Perry White <awhite6@motorola.com>
Submit-Approved: Jira Key
2023-02-28 01:32:40 -06:00
Srihari Sathyanarayana
2d2ff4b594 Sol led: Handle power supply states
Handle power-supply states for Charging/Discharging
Set blink/solid Led settings as below

LED Brighness depend on Device Charging State
----------------------------------------------
-- Full while Device Charging
-- Half Brighness while not Charging

Led Functional Mode Depend on the Battery capacity
--------------------------------------------------
Battery Level < LOW_CAP_THRESHOLD_DEFAULT
-- Fast Blink "charging_low" led node(s)

LOW_CAP_THRESHOLD_DEFAULT < Battery Level < BATT_CAP_THRESHOLD_HIGH
-- Slow Blink "charging" led node(s) (If device charging)
-- Enable Solid 50% brightness for "charging" led node(s) (If device not charging)

BATT_CAP_THRESHOLD_HIGH < Battery Level < BATT_CAP_THRESHOLD_FULL
-- Slow Blink "charging_full" led node(s) (If device charging)
-- Enable Solid 50% brightness for "charging_full" led node(s) (If device not charging)

Battery Level ==  BATT_CAP_THRESHOLD_FULL
-- Enable Solid 100% brightness for "charging_full" led node(s)

Change-Id: I0abf35ea5ee51ade808ac196d8e56d7dcac33d9c
Signed-off-by: Srihari Sathyanarayana <sriharis@motorola.com>
Signed-off-by: Vijayakumar Gn <vijaygn@motorola.com>
Reviewed-on: https://gerrit.mot.com/2516362
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Perry White <awhite6@motorola.com>
Reviewed-by: Qing Chang <qing@motorola.com>
Submit-Approved: Jira Key
2023-02-28 01:30:57 -06:00
litong20
d18cb2d891 support transfer the flip target fcc to main battery.
Transfer the target fcc value of the flip battery to the main battery
through glink for power dynamic configuration.

Change-Id: I3b8b2029e5f5cdf1b7ccc49fd7ce32a63b94c957
Reviewed-on: https://gerrit.mot.com/2520452
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-02-27 23:44:54 -06:00
hujing3
e6e27dc858 focaltech_0flash_v2_mmi: update log level for input report log
focaltech_0flash_v2_mmi:
there were plenty of input report logs in normal userdebug version.
add debug log level config node for input report logs,
also enable debug log level when common log_level > 1.

Change-Id: I2881db93974a426395b5af7563b2fae5067e6f96
Reviewed-on: https://gerrit.mot.com/2519358
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Wei Deng <dengwei1@motorola.com>
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
2023-02-23 19:11:46 -06:00
liuzy55
4a38966a6c lynkco: add 32-bit ioctl for tcmd
details:
add 32-bit ioctl for tcmd

Change-Id: If5c5df1432a44916989a1b2e93aa774a8f36a66b
Signed-off-by: liuzy55 <liuzy55@motorola.com>
Reviewed-on: https://gerrit.mot.com/2517655
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Pengfei Qiao <qiaopf1@motorola.com>
Reviewed-by: Wang Liu <liuwang2@lenovo.com>
Reviewed-by: <wangdp11@motorola.com>
Reviewed-by: LiuZhuo <liuzhuo3@motorola.com>
Reviewed-by: Zhichao Chen <chenzc2@motorola.com>
Reviewed-by: Zhenxin Xi <xizx@motorola.com>
Submit-Approved: Jira Key
2023-02-22 01:56:31 -06:00
wangdp11
d4d13c7043 lynkco: update TOF kernel version
Details:
Update kernel version to 14.1.2 bare 6.6.11

Change-Id: Ic65d6e8b6848feaf1cf2b0449442ae99386b6b04
Signed-off-by: wangdp11 <wangdp11@motorola.com>
Reviewed-on: https://gerrit.mot.com/2514456
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Wang Liu <liuwang2@lenovo.com>
Reviewed-by: <liuzy55@motorola.com>
Reviewed-by: Zhichao Chen <chenzc2@motorola.com>
Reviewed-by: Zhenxin Xi <xizx@motorola.com>
Submit-Approved: Jira Key
2023-02-22 01:53:04 -06:00
hq_caoqunhui_tmp
740dcf283c discharge with software pd pps charger
Details:
discharge with software pd pps charger
because of pd hardreset

Change-Id: I0f2aa3ed68171fc6d1fa40c921a204bb8741f863
Reviewed-on: https://gerrit.mot.com/2505494
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Wei Xu <xuwei9@lenovo.com>
Reviewed-by: Hua Tan <tanhua1@motorola.com>
Reviewed-by: Wang Wang <wangwang1@lenovo.com>
Submit-Approved: Jira Key
2023-02-22 01:07:14 -06:00
xuxj12
f1cd82577b fg: optimization fg batt status
current between -10~10mA read from fg when charger present is invalid,
change batt status to not chargering

Change-Id: Idc1f1e5ed148ea49aa9a539e4014ff4146519460
Signed-off-by: xuxj12 <xuxj12@motorola.com>
Reviewed-on: https://gerrit.mot.com/2516321
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Reviewed-by: Yonghua Yan <yanyh2@motorola.com>
Reviewed-by: Jianqi Yang <yangj@motorola.com>
Tested-by: Jira Key
Submit-Approved: Jira Key
2023-02-21 21:21:44 -06:00
xuxj12
7720276df2 flip_batt: optimization flip batt charger status
flip battery charge not disabled in factory mode

Change-Id: Iab876cae0d36ac38f9a524cb3f8c22325307867b
Signed-off-by: xuxj12 <xuxj12@motorola.com>
Reviewed-on: https://gerrit.mot.com/2515025
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Reviewed-by: Yonghua Yan <yanyh2@motorola.com>
Tested-by: Jira Key
Reviewed-by: Jianqi Yang <yangj@motorola.com>
Submit-Approved: Jira Key
2023-02-21 21:21:10 -06:00
Yonghua Yan
555d409161 Support input voltage limit for wireless charger
Support input voltage limit for wireless charger separately so
as to load different input voltage limit for wired and wireless
charger input.

Change-Id: Ifab8e2ee36c0f549be4fb348396e4fadb6e650d6
Signed-off-by: Yonghua Yan <yanyh2@motorola.com>
Reviewed-on: https://gerrit.mot.com/2516665
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: litong <litong20@motorola.com>
Reviewed-by: Jianqi Yang <yangj@motorola.com>
Submit-Approved: Jira Key
2023-02-21 06:37:07 -06:00
miaoyi
2d74d85400 Modify Zinitix firmware version name
Modify Zinitix firmware version name,
and modify firmware update process.

Change-Id: I24aac107a73d8151d5ee20c90f2ce9b55cb44cd2
Signed-off-by: miaoyi <miaoyi2@motorola.com>
Reviewed-on: https://gerrit.mot.com/2513766
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: <zhuwg1@motorola.com>
Reviewed-by: Jichao Zou <zoujc@motorola.com>
Submit-Approved: Jira Key
2023-02-19 23:55:11 -06:00
miaoyi
cf4cb96215 CLI screen support 3points
Change finger numbers
from 2 to 3.

Change-Id: I958af55ff48fc157f2d7b83384b8aacc64dafdd6
Signed-off-by: miaoyi <miaoyi2@motorola.com>
Reviewed-on: https://gerrit.mot.com/2513673
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: <zhuwg1@motorola.com>
Reviewed-by: Jichao Zou <zoujc@motorola.com>
Submit-Approved: Jira Key
2023-02-19 23:53:10 -06:00
Xiaojun Lv
e4066563c5 input: fix ili7807s touch dislocation when aging test
Problem: aging test, touch dislocation.

Cause: during the boot process, when the rst pin is pulled, the int pin will also be pulled down, and the system respond
to the interrupt in advance, but at this time there is no firmware in the IC, which will trigger esd recovery to reload
the firmware. The resolution information is stored in the firmware, but the firmware path has not been assigned at this time,
and the firmware cannot be applied, resulting in the upgrade failure. If the resolution cannot be obtained, the default
resolution will be used, which will lead to incorrect resolution setting.

Solution: during the boot process, only after the firmware upgrade successfully, system can response to interrupts.

Change-Id: I0ad032de0b96ed86177a9aa4a16f9aa87613042d
Reviewed-on: https://gerrit.mot.com/2514709
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Jun Weng <wengjun1@motorola.com>
Reviewed-by: Yeqing Wang <wangyq13@motorola.com>
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
2023-02-17 03:25:38 -06:00