Commit graph

2,170 commits

Author SHA1 Message Date
liyiying
b04c4e14c3 add charger ic - sc89890h config
motorola/kernel/modules
config sc89890 charger ic param for rhodec

Change-Id: I04813d73feae4844dfb37aaaf63fd6c70c07765f
Signed-off-by: liyiying <liyiying@wingtech.com>
Reviewed-on: https://gerrit.mot.com/2148046
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Reviewed-by: Yuecai Liu <liuyc20@motorola.com>
Submit-Approved: Jira Key
2021-12-21 01:52:56 -06:00
liyiying
646dd1871c modules:add sm5602 patch to fix the soc jump problem
1.what circumstances does this problem occur.
RD found sometimes the soc will jump as normal use
2. the rootcause of this issue.
the soc return value is not conform to the calculation method
3. how to fix this issue.
change the soc report way

Change-Id: I27032c5252d5ebe5ea005deac9e2e8403245e37f
Signed-off-by: liyiying <liyiying@wingtech.com>
Reviewed-on: https://gerrit.mot.com/2149683
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Yuecai Liu <liuyc20@motorola.com>
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
2021-12-21 01:50:49 -06:00
liuyc20
ca98480525 FG: Modify SM5602 FG first update battery data time to 50ms
start driver then update battery data was delayed 8s.
that is too late, it will cause UI can't get correct battery capacity.
so from 8s change to 50ms.

Change-Id: I3cfb510e222c1c937e02bc5bd8cd1d7a88c958f7
Signed-off-by: liuyc20 <liuyc20@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2149410
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
2021-12-20 20:18:00 -06:00
huaqin86
cbdab92e7e add force_chg_auto_enable interface
add sys/class/power_supply/cp-standalone/force_chg_auto_enable
self tcmd test step:
enable Cap SWITCH:tcmd_send 00850702
disable Cap SWITCH:tcmd_send 00850703

Change-Id: I4ae5c9e9088bd16da7c33b6bbd62a22a1d76b617
Reviewed-on: https://gerrit.mot.com/2149651
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
2021-12-20 20:15:51 -06:00
huaqin86
8f7de27de6 add firmware interface
charging qc3+ wt6670
add sys/class/power_supply/QC3P/firmware_num

Change-Id: I57f1d32846a6211ca8f7e33c4e6f7e1853d5fab0
Reviewed-on: https://gerrit.mot.com/2149692
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
2021-12-20 20:15:23 -06:00
litong20
0c96a30306 Disable irq before entering gesture mode and IC resetting.
TP:
Disable interrupt before entering gesture mode and IC resetting.


Change-Id: I056458b7b405c1ba46f27eda9754c9d64eeeaef0
Reviewed-on: https://gerrit.mot.com/2149576
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Jichao Zou <zoujc@motorola.com>
Submit-Approved: Jira Key
2021-12-20 19:45:37 -06:00
wangyq13
28a097c665 input: goodix_v1510: enable single tap function
goodix_v1510:
Enable single tap function.

Change-Id: I783f8ca04efd73354f0b10c2e4e13add6721cc96
Signed-off-by: wangyq13 <wangyq13@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2146428
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Wei Deng <dengwei1@motorola.com>
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
2021-12-20 03:17:46 -06:00
litong20
4710e99d3f Support resend stylus cmd after abnormal resetting.
TP:
Support resend stylus command after abnormal resetting.

Change-Id: I9cd2885988f92ca8d50b96f2b5c7569439e277b2
Reviewed-on: https://gerrit.mot.com/2147994
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Jichao Zou <zoujc@motorola.com>
Submit-Approved: Jira Key
2021-12-20 02:36:43 -06:00
litong20
95429c472f Record and restore the value of the mode
TP:
Record the value of the received mode from system and the value
successfully set to the touch IC.

Change-Id: Ie10f25be6d0d9fe9d21cf385a626496cc9aedfa5
Reviewed-on: https://gerrit.mot.com/2144916
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Jichao Zou <zoujc@motorola.com>
Submit-Approved: Jira Key
2021-12-20 02:36:31 -06:00
wutao
119a19f18e QC3P:use qc3p config distinguish other not qc3p project
Add QC3P config
use qc3p config distinguish other not qc3p project

Change-Id: I32571a4d3d407867eab6da1ec1f9b5b30b8b4b87
Reviewed-on: https://gerrit.mot.com/2149237
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
2021-12-20 01:15:53 -06:00
wutao
453ca3dcbd QC3P:detection and iio sys support
Add QC3P detection and iio
sys support.

Change-Id: I7459889d1c7fc35b0913ba908b3ef9cf00c5729e
Signed-off-by: wutao <huaqin89@motorola.com>
Reviewed-on: https://gerrit.mot.com/2148672
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
2021-12-20 01:15:41 -06:00
wutao
f2d6f6fa98 z350: add 2nd z350 qc logic
add 2nd z350 code
copy code from mtk platform:
https://gerrit.mot.com/#/c/2075447/
https://gerrit.mot.com/#/c/2078505/

Change-Id: Ide23c12c0ab1d5dfba5854f9ee76847b25255b4d
Signed-off-by: wutao <huaqin89@motorola.com>
Reviewed-on: https://gerrit.mot.com/2148665
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Wei Xu <xuwei9@lenovo.com>
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
2021-12-20 01:15:36 -06:00
xuwei9
149f0a2f9c sgm:add enable termination function
Add main charger enable termination function
at sgm4154x charger ic.

Change-Id: Id907405ec331c01b76736771f7c0ea73590864dc
Signed-off-by: xuwei9 <xuwei9@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2148139
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
2021-12-19 20:47:27 -06:00
xuwei9
247b2c7d64 discrete:add enable termination iio definition
Add main charger enable termination
iio definition.

Change-Id: I80ba57a4c669c44561bab152a2f7d3f1a887b325
Signed-off-by: xuwei9 <xuwei9@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2148136
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
2021-12-19 20:47:22 -06:00
xuwei9
833103f052 qc3p:add main charger termination ctl algorithm
Discrete main charger have limitaion of terminating before
charging full really. disable termination when cp enabled.
enabled after dp disable.

Change-Id: Ibc9154c5b71b0a30ff15c61480d3d5cf179c626b
Signed-off-by: xuwei9 <xuwei9@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2148129
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
2021-12-19 20:47:15 -06:00
huaqin85
1b7224c595 QC3P:turbo charger module return value error
mmi chrg manager load fail,reason:
[    7.800978] mmi_chrg_manager: mmi_chrg_manager_probe: Could not get battery power_supply
[    7.809099] ------------[ cut here ]------------
[    7.813721] WARNING: CPU: 6 PID: 1 at drivers/base/devres.c:953 devm_kfree+0xe8/0x108
[    7.821549] Modules linked in: mmi_discrete_turbo_charger(O+).

probe return value error, it will be loaded success when battery is not existed.

Change-Id: Ia51a176181fae332b5322ff15fc8934f1cdf5f45
Signed-off-by: huaqin85 <huaqin85@motorola.com>
Reviewed-on: https://gerrit.mot.com/2148539
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Tested-by: Jira Key
Submit-Approved: Jira Key
2021-12-18 06:28:39 -06:00
dengwei1
ac8f1a04f1 dubai: vibrator add haptic rtp
haptic
rtp

Change-Id: Iaa5434190a002978566d0d13aMontanafad8aae59ba0
Signed-off-by: dengwei1 <dengwei1@motorola.com>
Reviewed-on: https://gerrit.mot.com/2147763
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Wang Wang <wangwang1@lenovo.com>
Submit-Approved: Jira Key
2021-12-17 02:14:04 -06:00
xuwei9
5c2cbc381f qc3p:optimize turbo charging current
Optimize turbo charging current
which can not reach 6A.

Change-Id: I443e9bb6ba5f051e7407fde26f611dd462de57e4
Signed-off-by: xuwei9 <xuwei9@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2146708
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Wang Wang <wangwang1@lenovo.com>
Submit-Approved: Jira Key
2021-12-16 04:07:03 -06:00
mahj8
d8253a9ab8 charging: add ibat monitor work
As bq25890H HW limit, some otg devices have high current pulse
when inserted. bq25890H trigger OTG OCP, so otg devices can't work.
So we config max boost current limit for bq25890H. For avoiding ibat
more than battery max discharging current, we add ibat monitor work.

Change-Id: If1d11fb47e26577055a181ea846c473f2cf73ec2
Signed-off-by: mahj8 <mahj8@motorola.com>
Reviewed-on: https://gerrit.mot.com/2145129
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Lu Chai <chailu1@motorola.com>
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
2021-12-16 03:38:47 -06:00
mahj8
c18b814d11 fg: get current in real time
some feature need to get current in real time
for rt9426a.

Change-Id: I28afc6471c771748db0edb7b8a433cfd9dc6c55a
Signed-off-by: mahj8 <mahj8@motorola.com>
Reviewed-on: https://gerrit.mot.com/2146513
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Lu Chai <chailu1@motorola.com>
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
2021-12-16 03:38:35 -06:00
wutao
8d9ed582bd sm5602: fix kernel panic when the device resume
fgauge/sm5602
it should return negative value when sm5602 not probe,
otherwise the mobile phone will crash when it is dormant
[ 46.987266] Call trace:
[ 46.987271] __mod_timer.llvm.510399912499890970+0x6dc/0x6e0
[ 46.987274] add_timer+0x20/0x30
[ 46.987279] queue_delayed_work_on+0x9c/0xf4
[ 46.987285] sm_bat_resume+0x24/0x34 [sm5602_fg_mmi]
[ 46.987289] device_resume+0x29c/0x41c
[ 46.987292] dpm_resume+0x1fc/0x500
[ 46.987296] suspend_devices_and_enter+0x180/0x4ac
[ 46.987300] enter_state+0x3e8/0x4c8
[ 46.987303] pm_suspend+0xd0/0x190
[ 46.987307] state_store+0x124/0x15

Change-Id: Ie267de68fd62a930df7846dac273ef70a948bd3b
Signed-off-by: wutao <huaqin89@motorola.com>
Reviewed-on: https://gerrit.mot.com/2146582
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
2021-12-16 03:06:40 -06:00
qiurp1
48af563ae0 PEN_HALL:disable wakeup source
if the disable wakeup source is not avalible,
result the sleep state is not enter

Change-Id: Iaffb9bf70c574ce5dad5d1379be91159ef0e500b
Signed-off-by: qiurp1 <qiurp1@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2145095
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Jiyue Cui <cuijy2@lenovo.com>
Reviewed-by: Tao Sun <suntao2@motorola.com>
Submit-Approved: Jira Key
2021-12-16 01:02:21 -06:00
a17671
b736076b7f fs:exfat-linux:Integrate exfat-linux open source driver
Opensource exfat-linux driver provide better performance
Comparing with the existing Moto exfat-nofuse
It could support various kernel versions l(CR) 5.4/4.19/4.14/4.9
Original source :https://github.com/arter97/exfat-linux.git
version 5.8-2arter97
This commit also integrates almost all the exfat upstream
changes from kernel 5.8-5.16 listed in:
https://git.kernel.org/pub/scm/linux/kernel/git/linkinjeon/exfat.git/log/fs/exfat?h=exfat-for-5.16-rc1

Change-Id: I7c0db070ee33be8f7f24a42f987b4e825d957998
Signed-off-by: a17671 <a17671@motorola.com>
Reviewed-on: https://gerrit.mot.com/2137224
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Xinmin Fu <fuxm1@motorola.com>
Reviewed-by: Chuanchun Zhu <zhucc2@motorola.com>
Reviewed-by: Xiaojun Ji <jixj@motorola.com>
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
2021-12-15 23:10:34 -06:00
wutao
bc1f9b3b7d fg/sm5602: Early detection device chipID
it should add device id detect before parse dtsi,
otherwise it will effect other fgauge boot time

Change-Id: If5d6e2de0a8783c40b4b60097baff1ffe3fa97e5
Reviewed-on: https://gerrit.mot.com/2144787
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Submit-Approved: Jira Key
2021-12-14 23:59:03 -06:00
wutao
1963090b48 fg/sm5602: correct the unit of vbat and temp
vbat need  ua : *1000
temp need : *10

Change-Id: I32b66ce23829ab5f051b0e678adcf5bac6d53912
Signed-off-by: wutao <huaqin89@motorola.com>
Reviewed-on: https://gerrit.mot.com/2144165
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Submit-Approved: Jira Key
2021-12-14 23:58:54 -06:00
wutao
6d3ebfe5f3 sc89890h:device: add sc89890h device id
rhode second master charger
add device id 0x04 for sc89890h in bq2589x.c

Change-Id: I8295ffcc73443e68e73c8c0bfd6ded57cd7b1756
Signed-off-by: wutao <huaqin89@motorola.com>
Reviewed-on: https://gerrit.mot.com/2144127
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
2021-12-14 23:58:36 -06:00
hujing3
cb25448b24 focaltech_v3_mmi: rename .i file to fix potential build error
focaltech_v3_mmi:
rename .i file to fix potential user build error

Change-Id: Ic50f79e7561454f8b9ec0e3511478a3447afbbdf
Signed-off-by: hujing3 <hujing3@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2144655
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
2021-12-14 20:40:11 -06:00
hujing3
c91d07d34c focaltech_v3_mmi: enable firmware download
focaltech_v3_mmi:
enable firmware download

Change-Id: I579fdf98223ea1c11e437367a0d59505441a0111
Signed-off-by: hujing3 <hujing3@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2144086
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
2021-12-14 20:40:04 -06:00
hujing3
117ec43d7a focaltech_v3_mmi: add sys touch node & info
focaltech_v3_mmi:
- add sys touchscreen node
- add panel_supplier, ic_ver, buildid, etc.

Change-Id: Iea8b26dcdff548bbcea72e383cf9a27ad4e695ff
Signed-off-by: hujing3 <hujing3@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2144085
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
2021-12-14 20:39:55 -06:00
hujing3
5e9d5773e9 module/input:hawao: add focaltech_v3_mmi for i2c flash
hawao: touch driver bringup support
add focaltech_v3_mmi for i2c flash tp

Change-Id: I727109a2ed4d433448cf56097d20ace1d4bc1658
Signed-off-by: hujing3 <hujing3@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2142878
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
2021-12-14 20:39:40 -06:00
huaqin87
8e5cd3b904 Rhode 5GP: add wt6670 get firmware num node
charging qc3+ wt6670
add wt6670 get firmware num node for factory test

Change-Id: I8289e6a139384e382833d28744c520d2ad5453c5
Signed-off-by: huaqin87 <huaqin87@motorola.com>
Reviewed-on: https://gerrit.mot.com/2143688
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
2021-12-14 04:00:21 -06:00
dengwei1
63106fe288 dubai: input touch update fw 21120803
update
fw

Change-Id: Ifaa66f935f469c024f023a35ec4df80ddf75a7a8
Signed-off-by: dengwei1 <dengwei1@motorola.com>
Reviewed-on: https://gerrit.mot.com/2143664
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Wang Wang <wangwang1@lenovo.com>
Submit-Approved: Jira Key
2021-12-14 00:58:47 -06:00
chenlj2
9ee6062664 DLKM/fps:add power ctrl for ets kernel driver
Control gpio switch and regulator of fingerprint according to
the configuration of device node.

Change-Id: I2c581df3a88cf02089f0e8edd9f45ea09715c2e5
Signed-off-by: chenlj2 <chenlj2@motorola.com>
Reviewed-on: https://gerrit.mot.com/2132820
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Shanshan Dai <daiss1@motorola.com>
Reviewed-by: Weilong Wu <wuwl10@motorola.com>
Reviewed-by: Yan Zhang <zhangy26@motorola.com>
Reviewed-by: Tao Sun <suntao2@motorola.com>
Submit-Approved: Jira Key
2021-12-14 00:40:17 -06:00
chailu1
0f3e28cdb1 pd: bring up sc2150a
pd/sc2150a
add sc2150a driver

Change-Id: I81ae4c312571ca19fa92ae7dcc842e3a67551a6a
Reviewed-on: https://gerrit.mot.com/2138697
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
2021-12-13 20:15:42 -06:00
Bernie Moreno-BERNIEM
804ffe4f5c power:fet_control Balance ckt Fet Close Batt2 over 200mV
Initial driver implementation considered main batt would always be
higher potential than secondary neck batt, either through balance R
or flex resistive paths. To be complete, be sure to take absolute
deltaV between the two batteries. This will ensure proper batt switch
control for either battery being higher potential.

Change-Id: Ia6f64dcb5da4dcff6e8207570e1972ad43b99f5b
Signed-off-by: Bernie Moreno-BERNIEM <berniem@motorola.com>
Reviewed-on: https://gerrit.mot.com/2141538
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Konstantin Makariev <kmakariev@motorola.com>
Submit-Approved: Jira Key
2021-12-13 10:03:34 -06:00
huaqin87
cfa8855110 wt6670: wake up wt6670 when get version num
pull up and pull down intb pin when read version num
and update new firmware

Change-Id: I3e2cd65e96993e26206ea46301c133a8febc3771
Signed-off-by: huaqin87 <huaqin87@motorola.com>
Reviewed-on: https://gerrit.mot.com/2138669
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
2021-12-13 01:23:25 -06:00
wutao
f3aa85d1e0 sm5602: Add new fgauge sm5602
rhodep have second fgauge sm5602,so add it
the code from fae
sm5602 i2c address is 0x71

Change-Id: Iadb053862c559002cc31b945a5306211833befac
Signed-off-by: wutao <huaqin89@motorola.com>
Reviewed-on: https://gerrit.mot.com/2138848
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Yuecai Liu <liuyc20@motorola.com>
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
2021-12-13 00:38:05 -06:00
huaqin85
741f799b8a QC3P:iio sys channel add kernel version
iio sys channel add kernel version
for QC3P turbo charger.

Change-Id: If362841220296404f9be4afecfcb026cebb264f9
Signed-off-by: huaqin85 <huaqin85@motorola.com>
Reviewed-on: https://gerrit.mot.com/2140848
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
2021-12-11 04:47:33 -06:00
xuwei9
e03a8014a0 QC3P:module name change to mmi_discrete_turbo_charger
Change module name to moto
mmi_discrete_turbo_charger

Change-Id: I778e8878b2bfd26ee1aae24aebc3c2e247187b2e
Signed-off-by: xuwei9 <xuwei9@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2142107
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Wang Wang <wangwang1@lenovo.com>
Submit-Approved: Jira Key
2021-12-11 02:50:24 -06:00
xuwei9
ed7f50a77c QC3P:discrete turbo charger
QC3P turbo charger changes
for discrete arch.

Change-Id: I0beaa0a9e01133d0d2d13930ded5fc64b0d4f3d1
Signed-off-by: xuwei9 <xuwei9@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2139304
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
2021-12-10 21:08:50 -06:00
xuwei9
2c0fe1760e FG:dynamic config sns resistance
Dynamic config sns resistance
and update current every reading.

Change-Id: If89865e2a3149b74620229f56ec7fbd104db5a3d
Signed-off-by: xuwei9 <xuwei9@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2140931
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
2021-12-10 21:07:18 -06:00
xuwei9
aca7920ceb QC3P:detection and iio sys support
Add QC3P detection and iio
sys support.

Change-Id: I05abcfea2cc49bfa318c8affb4b86b37eb3b2788
Signed-off-by: xuwei9 <xuwei9@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2139318
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
2021-12-10 21:07:07 -06:00
xuwei9
9a733a80d6 QC3P:iio sys channel
Add iio sys channel support
for QC3P turbo charger.

Change-Id: I7683e0f02ef3b8339d51d94e6f6bd4d9586c6e7c
Signed-off-by: xuwei9 <xuwei9@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2139314
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
2021-12-10 21:07:02 -06:00
xuwei9
4ac109835c QC3P:add iio sys support
Add iio sys support for
QC3P turbo charger.

Change-Id: Ib8c626e912becd75d751fda7e6050a39fcc0785c
Signed-off-by: xuwei9 <xuwei9@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2139278
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
2021-12-10 21:05:16 -06:00
xuwei9
dc46dba653 QC3P:ADC algorithm compatible
ADC algorithm compatible design
for bq and sc chip.

Change-Id: I055e965d5d4d6eaa640f801a89c8ad891d2f2eb2
Signed-off-by: xuwei9 <xuwei9@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2139264
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
2021-12-10 21:05:12 -06:00
xuwei9
3f6de0b277 QC3P:copy of module mmi_parallel_charger_iio for mmi_discrete_turbo_charger
Code copy from mmi_parallel_charger_iio for the
initial code repo of mmi_discrete_turbo_charger
which used for discrete arch qc3p feature.

Change-Id: Ic0d302f084ee6f192c76ce3c6eaaa7276639c8ef
Signed-off-by: xuwei9 <xuwei9@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2137095
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
2021-12-10 21:04:50 -06:00
litong20
b75bcbf8cf goodix: support film sensitivity function.
TP:
Support film sensitivity function in RoguePRC project.

Change-Id: I830adb55e9b9b93aef6dc90d757ef9eaf206a2cb
Reviewed-on: https://gerrit.mot.com/2134201
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Jichao Zou <zoujc@motorola.com>
Submit-Approved: Jira Key
2021-12-10 09:00:15 -06:00
litong20
dae8b800e2 Support report rate switch in RoguePRC
1. If the interpolation mode is disabled, the report rate is the
default 240Hz(Hiphic) or 360Hz(Hiphi)
2. If the interpolation is enabled and the refresh
rate is 144Hz, the reporting rate is 576Hz(Hiphic) 720Hz(Hiphi)
3. At other refresh rate, if the interpolation mode is enabled, the
report rate is 480Hz(Hiphic) 720Hz(Hiphi).

Change-Id: Ibcd6ba61457e5e5f6fd32a6583f5bdcada531fc5
Reviewed-on: https://gerrit.mot.com/2134669
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Jichao Zou <zoujc@motorola.com>
Submit-Approved: Jira Key
2021-12-10 08:59:57 -06:00
dengwei1
845fbe13a9 dubai: vibrator add long brk
add
brk

Change-Id: Ib9ddd71b1c6e80c62b583a27c3ac53ed87ac610f
Signed-off-by: dengwei1 <dengwei1@motorola.com>
Reviewed-on: https://gerrit.mot.com/2140965
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Wang Wang <wangwang1@lenovo.com>
Submit-Approved: Jira Key
2021-12-10 03:16:27 -06:00
chailu1
4a72bb6b5a PD: Pick Richtek patch13 to improve irq response speed
Revise from irq handler & queue worker to irq thread handler

/**** Release Note ****
 * 2.0.6_G
 * (1) Revise IRQ handling

Change-Id: I5072850f6645fc7f9bda0b985cc6555f81b51c12
Signed-off-by: chailu1 <chailu1@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2137060
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
2021-12-09 21:10:18 -06:00