Commit graph

2,928 commits

Author SHA1 Message Date
dengwei1
1c0ddee9b1 bangkk: input touch add game feature edge/rate
add game feature
edge/rate

Change-Id: I2173f12bcfb0e05aa91c275e3532babf81c15c3f
Signed-off-by: dengwei1 <dengwei1@motorola.com>
Reviewed-on: https://gerrit.mot.com/2603761
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Reviewed-by: <zhuwg1@motorola.com>
Submit-Approved: Jira Key
2023-05-14 21:01:36 -05:00
litong20
b7c07a15f7 sgm4154x: support 8w wireless charging
sgm4154x:
Setting ichg to 360mA for 8w wireless charging in Juno. 

Change-Id: Icc2fb0bde8cd766fb1354b9bdad68514387a879d
Reviewed-on: https://gerrit.mot.com/2604889
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Wentao Xu <xuwt2@motorola.com>
Reviewed-by: Guobin Zhang <zhanggb@motorola.com>
Submit-Approved: Jira Key
2023-05-11 22:19:56 -05:00
Wenge Zhu
e12191b812 Optimize zinitix touch firmware upgrade flow
Found that zinitix touch firmware upgrade failed due to checksum
error,but now firmware version check right and touch works well.
It's not sram broken or burst upgrade problem, suspect "0x55aa"
check sum not stable.
Change the firmware check to a more stable way after burst upgrade.

Change-Id: I1edb0dc608179e3d64c8ac931603aae9e28cd78d
Signed-off-by: Wenge Zhu <zhuwg1@motorola.com>
Reviewed-on: https://gerrit.mot.com/2604234
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Jichao Zou <zoujc@motorola.com>
Submit-Approved: Jira Key
2023-05-11 20:55:53 -05:00
litong20
7f6626a7ca Set the thermal_ratio_nums.
sc760x:
The step of thermal radio is 0.5, so the thermal_ratio is
(thermal_ratio_nums * 0.5).

Change-Id: I87238d652c90be53c7bd2901c63fcf2c84Montana467
Reviewed-on: https://gerrit.mot.com/2601346
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-05-10 03:04:49 -05:00
litong20
7ecda6d0df Add SUPPORT_DYNAMIC_UPDATE_UI_FULL control
cw2217B:
Add SUPPORT_DYNAMIC_UPDATE_UI_FULL macro definition to support
dynamic selection of ui_full logic.

Change-Id: I75d6070f0de3359dd74d8c4ef220e692b8edf90e
Reviewed-on: https://gerrit.mot.com/2601342
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-05-10 03:04:03 -05:00
litong20
89cb6ae120 need to clear jiffies in non-charging state.
The jiffies value is only recorded in the charging state,
and it needs to be cleared in other states.

Change-Id: I9beb3465a24784d35399c10733416f3104269678
Reviewed-on: https://gerrit.mot.com/2601217
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-05-10 03:03:57 -05:00
Robert Cabral
d73cc9a3e8 input: ili9882_mmi: remove unused netlink codes
Ported from (CR)

ili9882_mmi:
Removed unused netlink codes, fix vts test fail.

Change-Id: I9c35145f9f067e194ebc3c348ed46cd42d95614d
Signed-off-by: Robert Cabral <robertc@motorola.com>
Reviewed-on: https://gerrit.mot.com/2593044
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Levy Gabriel <levy@motorola.com>
Reviewed-by: Yeqing Wang <wangyq13@motorola.com>
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
2023-05-09 08:01:09 -05:00
litong20
aca130a133 use the battery voltage of fuel guage in charging logic.
use the battery voltage estimated by the fuel gauge in charging logic,
not the adc value of the charge pump.

Change-Id: Ia001e41dc909ce3ec57ddbcfe888a7b566ad358a
Reviewed-on: https://gerrit.mot.com/2599627
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-05-08 21:20:41 -05:00
Konstantin Makariev
e2435909dc goodix_blr_mmi: wakeup gesture gt9966
This change formilizes gesture mode setup for GT9916 and GT9966
Goodix touch ICs. There are 2 major differnces between these two:

1) gesture mode command length
2) gesture enable mask

Command length is 6 bytes for GT9916 and 8 bytes for GT9966.
Gesture enable mask:

  9916 -> 0 is enabled and 1 disabled
  9966 -> 1 is enabled and 0 disabled

 double tap            single tap
     |                     |
    |V--------------|------V--------|
    | | | | | | | | | | | | | | | | |
    |---------------|---------------|
          Byte 5         Byte 6

Change-Id: I76f9735addc45ed2b94a50569a3929b1b73084d0
Signed-off-by: Konstantin Makariev <hcv867@motorola.com>
Reviewed-on: https://gerrit.mot.com/2549731
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: Qing Chang <qing@motorola.com>
Submit-Approved: Jira Key
2023-05-08 11:09:57 -05:00
Yonghua Yan
f68d0640c1 Add sysfs node for cid status read
Add sysfs node for cid status read to support CQA
test.

Change-Id: I933133e54a575aab2b009b8d69d79e467561374a
Signed-off-by: Yonghua Yan <yanyh2@motorola.com>
Reviewed-on: https://gerrit.mot.com/2599136
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Guobin Zhang <zhanggb@motorola.com>
Submit-Approved: Jira Key
2023-05-08 06:38:59 -05:00
tinno61
d52da72ed7 bangkok modify focal tp power on off
bangkok:modify for focal tp 
power off and on

Change-Id: I23791c139fa095611fdb3989d3fb318222144533
Reviewed-on: https://gerrit.mot.com/2597827
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-05-08 04:57:47 -05:00
litong20
eda20302a8 Need to initialize full charger capacity of 100%.
cw2217b:
Need to initialize ui_full
Change-Id: I4ae00866e93a56625cd4ec529c441f943f70060b
Reviewed-on: https://gerrit.mot.com/2591425
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Wentao Xu <xuwt2@motorola.com>
Reviewed-by: Guobin Zhang <zhanggb@motorola.com>
Submit-Approved: Jira Key
2023-05-06 05:40:07 -05:00
Wenge Zhu
529e12857d Support goodix ghost touch log capture
TP:
Support goodix ghost touch log capture

Change-Id: I49946e6eb8adcec4387915a8d80572be9e008789
Signed-off-by: Wenge Zhu <zhuwg1@motorola.com>
Reviewed-on: https://gerrit.mot.com/2583262
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Wei Deng <dengwei1@motorola.com>
Reviewed-by: Guobin Zhang <zhanggb@motorola.com>
Submit-Approved: Jira Key
2023-05-06 05:10:58 -05:00
tinno61
b1ba34da62 bangkok add tp charger mode
bangkok:add focal tp 
charger mode

Change-Id: Idc0a8235fef180fdc681c5b025cc005829567a47
Reviewed-on: https://gerrit.mot.com/2596224
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Wei Deng <dengwei1@motorola.com>
Reviewed-by: <zhuwg1@motorola.com>
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
2023-05-05 01:56:40 -05:00
Lei Chen
77db14c6c2 charger:seperate the FFC and none FFC parameter
SDP and DCP charger should not use FFC parameter. Seperate
the FFC and none FFC parameter.

Change-Id: I1a95d632d5cbccc9803d1fcbc81e8a62fe3a0a64
Signed-off-by: Lei Chen <chenlei18@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2592241
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Wei Xu <xuwei9@lenovo.com>
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
2023-05-05 01:15:01 -05:00
Wenge Zhu
ec7d16daad Support touch assit p-sensor dectection
Support TP assist p-sensor detection due to ultrasonic
p-sensor limitation.

Change-Id: I71c7ee1ddbd800dae4e8188ed6ca5c8260262f7d
Signed-off-by: Wenge Zhu <zhuwg1@motorola.com>
Reviewed-on: https://gerrit.mot.com/2579809
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>
Submit-Approved: Jira Key
2023-05-03 22:37:54 -05:00
xuwt2
549988a6b9 mmi_charger: power_changed when charger register susccess
Throw out BATT_PSY power_supply_changed
when mmi_register_charger_driver success.
It order to update the battery status more timely.

Change-Id: I7ea63a9340c44a2393ac86ab2b6cb94c62cb5905
Signed-off-by: xuwt2 <xuwt2@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2592493
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-04-28 06:21:37 -05:00
tin_bingtai.zou_tmp
acbd1b6d19 fix read Board level Capacitor Compensation Value
1.009b07 read Board level Capacitor Compensation Value is 0
2.modify aw96308 driver

Change-Id: I232230Montana61914246b6438b684edcf3ddd848fae
Signed-off-by: tin_bingtai.zou_tmp <tinno60@motorola.com>
Reviewed-on: https://gerrit.mot.com/2592259
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: <yangyi31@motorola.com>
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
2023-04-28 03:29:13 -05:00
xuxj
8a73a52922 sc760x_charger_mmi: no need to return failed
sc->thermal_ratio assign to default value, so no need retrun failed if
not define thermal-ratio in dts, or sc760x may register failed

Change-Id: I8f0494c85bf36caad9aa8d5340d8bcc70e779b5a
Signed-off-by: xuxj <xuxj12@motorola.com>
Reviewed-on: https://gerrit.mot.com/2592059
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Reviewed-by: Wentao Xu <xuwt2@motorola.com>
Tested-by: Jira Key
Reviewed-by: Guobin Zhang <zhanggb@motorola.com>
Submit-Approved: Jira Key
2023-04-28 01:22:11 -05:00
tin_bingtai.zou_tmp
be0aa66192 The probability of sarsensor not being mounted
1.modify the problem of null pointer
2.PMIC supply
3.test result:pass the test results of 50 verifications of primary and
secondary sar

Change-Id: I94d4855ddcdb90ce9f8d2660f7d07f44b96aa14e
Signed-off-by: tin_bingtai.zou_tmp <tinno60@motorola.com>
Reviewed-on: https://gerrit.mot.com/2586600
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-04-25 02:42:12 -05:00
Yonghua Yan
2a71b6e13c Add more sku types and typec cid support
Add more sku types definition and add typec connector insertion
detection support in lpd_info structure.

Change-Id: I41b856c853c2e8ce6df024d1a1577ad56c97e72a
Signed-off-by: Yonghua Yan <yanyh2@motorola.com>
Reviewed-on: https://gerrit.mot.com/2569869
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Guobin Zhang <zhanggb@motorola.com>
Submit-Approved: Jira Key
2023-04-24 08:18:01 -05:00
litong20
1e1506a5e5 fg_cw2217b: Ensuring monotonic variation of soc
fg_cw2217b:
Ensuring monotonic variation of soc

Change-Id: If13fbfcbd32e8e8897388b236c5355838c7e114c
Reviewed-on: https://gerrit.mot.com/2586781
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-24 03:57:16 -05:00
litong
a8cb200aab Revert "(CR): Ensuring monotonic variation of soc"
Revert:
This reverts commit daaaf64b38c53308fba2615213bacc64bcdb8bd0.

Change-Id: I8e75ac6d8753f68c0fb542df3b307f9ad77fed82
Reviewed-on: https://gerrit.mot.com/2586578
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-24 03:57:09 -05:00
tinno61
450bdaa547 modify focal tp
bangkok:add macro and remove unnecessary 
for focal tp dirver

Change-Id: Ic4c1cb53cc5b2f1d69c84b804f44c7a4c6a5dfe7
Reviewed-on: https://gerrit.mot.com/2585802
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-23 03:12:39 -05:00
tin_bingtai.zou_tmp
3fa32c60ae optimize aw963xx driver
1.optimization of secondary interrupt triggering logic for sar
2.modify driver aw963xx

Change-Id: I81782749f4cc8c62be421316e9d367f0d9d92156
Signed-off-by: tin_bingtai.zou_tmp <tinno60@motorola.com>
Reviewed-on: https://gerrit.mot.com/2585232
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-04-23 01:21:54 -05:00
xuwt2
bf8f9b9fd0 sc760x_charger_mmi: Update sc760x_en to psy_property
1, fixed kernel warning for irq balance
2, update sc760x_en to psy_property

Change-Id: I4ffbd0dd17891b0f623c7f922f687888d9c3ac2b
Signed-off-by: xuwt2 <xuwt2@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2580762
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-04-19 01:18:23 -05:00
litong20
9eb7fe65ac Ensuring monotonic variation of soc
Ensure that the power monotonically increases during charging
and monotonically decreases during discharging.

Change-Id: I4ef202daf4b65e0640e4794d7f74a17241051c25
Reviewed-on: https://gerrit.mot.com/2575379
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-17 05:06:25 -05:00
tin_bingtai.zou_tmp
99381ee852 optimize aw963xx driver && insert usb calibration
1.optimize driver about multiple mode
2.insert usb calibration(aw config flag in dts)

Change-Id: I392f5cf266647abf3b6eb0aa649f8061d944871b
Signed-off-by: tin_bingtai.zou_tmp <tinno60@motorola.com>
Reviewed-on: https://gerrit.mot.com/2575217
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-04-14 02:48:10 -05:00
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