Ravikumar Vembu
bbabbcb7a0
usb: mass_storage: Add support for SC_REBOOT
...
Add support for a vendor specific SCSI pass through command to
trigger reboot.
SC_REBOOT (0xd7) - triggers reboot into fastboot mode
SC_REBOOT_1 (0xd8) - triggers reboot into normal mode.
Propagated from (CR)
Change-Id: I4fc4839968135a63c594dca69b1dc93699e4a9bc
Reviewed-on: https://gerrit.mot.com/1750946
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Zonghua Liu <a17671@motorola.com>
Reviewed-by: Yuecai Liu <liuyc20@motorola.com>
Reviewed-by: Jianqi Yang <yangj@motorola.com>
Submit-Approved: Jira Key
Reviewed-on: https://gerrit.mot.com/2053807
Reviewed-by: Xiaojun Ji <jixj@motorola.com>
2021-09-02 03:59:45 -05:00
chailu1
391d66619c
typec: define sgm7220 typec func
...
Define more sgm7220 typec func prevent to
kernel panic.
Change-Id: I4534a7467e6585f9deb2e93eef2c61191018cee3
Reviewed-on: https://gerrit.mot.com/2057764
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Reviewed-by: Yuecai Liu <liuyc20@motorola.com>
Reviewed-by: Hujun Liao <liaohj@motorola.com>
Tested-by: Jira Key
Submit-Approved: Jira Key
2021-09-02 03:55:58 -05:00
yanyh2
269b84091d
fix mass_storage module GKI build issue
...
Modify the mass storage driver to build as a Motorola module
following Android GKI rule.
Change-Id: I278ce964d1689fb8dbf0df7b7e098e210d664565
Signed-off-by: yanyh2 <yanyh2@motorola.com>
Reviewed-on: https://gerrit.mot.com/2053806
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Jianqi Yang <yangj@motorola.com>
Reviewed-by: Xiaojun Ji <jixj@motorola.com>
Submit-Approved: Jira Key
2021-09-02 03:52:54 -05:00
yanyh2
1ae623bb38
copy mass_storage driver from Kernel as initial version
...
Copy the mass_storage driver from Kernel source as initial version
of Motorola mass storage base.
Change-Id: I0d95b47de5c1463164843d9e8cebce06e9492e52
Signed-off-by: yanyh2 <yanyh2@motorola.com>
Reviewed-on: https://gerrit.mot.com/2053805
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Xiaojun Ji <jixj@motorola.com>
Reviewed-by: Jianqi Yang <yangj@motorola.com>
Reviewed-by: Yuecai Liu <liuyc20@motorola.com>
Submit-Approved: Jira Key
2021-09-02 03:48:01 -05:00
chailu1
b3de4df72d
typec: improve rt1715 code
...
/* Release Version
+ * 2.0.16_G
+ * (1) Check the return value of wait_event_interruptible()
+ * (2) Revise *_get_cc()
+ * (3) Revise role_def
+ * (4) Fix COMMON.CHECK.PD.10
this changes come from richtek patch05
Change-Id: Ic9bc97a980859003bb8a4417bc76b1ec52a2dc46
Reviewed-on: https://gerrit.mot.com/2057498
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Tested-by: Jira Key
Submit-Approved: Jira Key
2021-09-02 00:34:49 -05:00
chailu1
6678d3f37e
typec: remove qcom pmic code
...
Remove qcomp pmic code
this changes come from richtek patch06
Change-Id: Ia5a1dc44ecd5d2843f30951585144958f7de10da
Reviewed-on: https://gerrit.mot.com/2057499
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Tested-by: Jira Key
Submit-Approved: Jira Key
2021-09-02 00:34:20 -05:00
chailu1
bb11b88513
arm/dts: improve rt1715 typec and pd compatible
...
+ * 2.0.15_G
+ * (1) undef CONFIG_COMPATIBLE_APPLE_TA
+ * (2) Fix TEST.PD.PROT.ALL.5 Unrecognized Message (PD2)
+ * (3) Fix TEST.PD.PROT.ALL3.3 Invalid Manufacturer Info Target
+ * (4) Fix TEST.PD.PROT.ALL3.4 Invalid Manufacturer Info Ref
+ * (5) Fix TEST.PD.PROT.SRC.11 Unexpected Message Received in Ready State (PD2)
+ * (6) Fix TEST.PD.PROT.SRC.13 PR_Swap - GoodCRC not sent in Response to PS_RDY
+ * (7) Fix TEST.PD.VDM.SRC.2 Invalid Fields - Discover Identity (PD2)
+ * (8) Revise the usages of PD_TIMER_NO_RESPONSE
+ * (9) Retry to send Source_Capabilities after PR_Swap
+ * (10) Fix tcpm_get_remote_power_cap() and __tcpm_inquire_select_source_cap()
+ * (11) Increase the threshold to enter PE_ERROR_RECOVERY_ONCE from 2 to 4
+ * (12) Change wait_event() back to wait_event_interruptible() for not being
+ * detected as hung tasks
this changes come from richtek patch04
Change-Id: Ida06c5af3df73a42ba140a5b5d10b97b739fe3fc
Reviewed-on: https://gerrit.mot.com/2057497
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Tested-by: Jira Key
Submit-Approved: Jira Key
2021-09-02 00:34:16 -05:00
qiurp1
18114899c1
hall pen kernel bringup
...
hallpen_sensor bringup
Change-Id: Iec39f4515a6ae090e811a6d8332155ef1403267e
Signed-off-by: qiurp1 <qiurp1@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2055032
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-09-01 04:52:46 -05:00
chailu1
2065b62ede
typec: Add sgm7220 driver initial version
...
typec/sgm7220
Add sgm7220 driver initial version
Change-Id: I5b9582d369a574b16c5cf13a5016c0d51ddc9abf
Signed-off-by: chailu1 <chailu1@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2041140
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
2021-09-01 02:11:12 -05:00
mahj8
ca1e5cb306
charging: add bc1.2 feature
...
add bc1.2 feature for sgm41542
and do rerun apsd if required
Change-Id: I5b78941957a26187bad27f15714447b2031b1747
Signed-off-by: mahj8 <mahj8@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2055145
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
2021-08-31 04:12:24 -05:00
mahj8
85c89b9046
DLKM: force 5V/2A charging
...
in system bring up process, force 5V2A charging
firstly.
Change-Id: I8bf8119c5b907de0311449a0c969a87c01d69df8
Signed-off-by: mahj8 <mahj8@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2049664
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
2021-08-31 02:12:47 -05:00
mahj8
00d6b1a57f
charging: fixed build error for sgm41542 default code
...
fixed build error for
sgm41542 default code got from vendor
Change-Id: If10d7e458f04af77282373a818b281e2b4a21859
Signed-off-by: mahj8 <mahj8@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2042154
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
2021-08-31 02:11:36 -05:00
mahj8
237792c95f
charging: add SGM4154x charger basic driver
...
add SGM4154x charger IC basic driver
get from vendor
Change-Id: Ief05dfc4c7fac5a2c25b346449558b91555caf8f
Signed-off-by: mahj8 <mahj8@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2041011
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
2021-08-31 02:11:29 -05:00
Konstantin Makariev
1bb8ed47e5
pct1812_mmi: self-test and sysfs interfaces
...
Added self-test capabilities: full raw data, SNR and draw line.
Added sysfs interfaces to support IC version and firmware update
Change-Id: I93359b60354e728853a7e43a3ca2fb71c1953987
Signed-off-by: Konstantin Makariev <hcv867@motorola.com>
Reviewed-on: https://gerrit.mot.com/2041728
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Ling Jin <lingjin@motorola.com>
Submit-Approved: Jira Key
2021-08-30 18:06:13 -05:00
liuyc20
5b16a0eba0
power: add detect sd77624 ic hw
...
if detect sd77426 hw fail then exit this driver.
To Compatible with other FG drivers.
Change-Id: I7a27a403965f9df9a350481a2107bf93cfa7f91c
Signed-off-by: liuyc20 <liuyc20@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2054354
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-08-30 07:01:33 -05:00
litong20
50d5a673b2
goodix_brl_mmi: Add mmi status check.
...
TP:
1. Add "mmi,status" check to goodix driver's probe.
2. Add touch pinctrl settings.
Change-Id: I34581d199a80c4e03cd0e94332ca5cd8ad6d87e4
Reviewed-on: https://gerrit.mot.com/2053118
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Jichao Zou <zoujc@motorola.com>
Submit-Approved: Jira Key
2021-08-30 02:41:46 -05:00
litong20
9432419679
Modify the goodix driver code format
...
TP:
Delete the symbol ^M at the end of each line of the driver code.
Change-Id: Icf5b64b01ae3c27c1d942e0d0d02056f32cb41c8
Reviewed-on: https://gerrit.mot.com/2038562
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Jichao Zou <zoujc@motorola.com>
Submit-Approved: Jira Key
2021-08-30 02:41:38 -05:00
Yan Zhang
14e37d1dc7
Update the poll mask when polling is aborted by hal
...
Egis:
Update the poll mask when polling is aborted by hal to support polling
wait forever. do not impact previous 30ms polling mechanism.
Change-Id: I1f6a2adb38f0282e944dde60539cd51179f5c733
Signed-off-by: Yan Zhang <zhangy26@motorola.com>
Reviewed-on: https://gerrit.mot.com/2053956
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
2021-08-30 02:09:58 -05:00
Jichao Zou
ac31279ac7
mmi_sys_temp:fix compilation error.
...
motorola/kernel/modules/drivers/misc/mmi_sys_temp/mmi_sys_temp.c:118:23: error: implicit declaration of function 'compat_ptr' [-Werror,-Wimplicit-function-declaration]
arg = (unsigned long)compat_ptr(arg);
Change-Id: Ifba590fd36a743e7d62df81c82fcc4839b7c816a
Signed-off-by: Jichao Zou <zoujc@motorola.com>
Reviewed-on: https://gerrit.mot.com/2053149
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Jianqi Yang <yangj@motorola.com>
Submit-Approved: Jira Key
2021-08-30 00:37:58 -05:00
liuyc20
39f07e421e
power: update sd77624_fg driver
...
-Standard Code Writing Standard
-Remove unnecessary code
-Optimize driver loading time
Change-Id: I98ae5a17572cf1a12d9d20d85b671e056856a7da
Signed-off-by: liuyc20 <liuyc20@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2049092
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
2021-08-27 05:20:07 -05:00
xuwt2
6fc618d1a6
qti_glink_charger: Add sysfs node for factory wireless testing
...
1, USB_SUSPEND
2, WLS_EN
3, WLS_VOLT_MAX
4, WLS_CURR_MAX
Change-Id: I9d7f724657733cb158279cee175cf83af3813a70
Signed-off-by: xuwt2 <xuwt2@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2051640
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Yonghua Yan <yanyh2@motorola.com>
Reviewed-by: Jianqi Yang <yangj@motorola.com>
Submit-Approved: Jira Key
2021-08-27 02:41:51 -05:00
chailu1
aa2cd50868
charge:Enable aicl at factory boot mode
...
If disable pm7250b aicl will cause a issue: battery voltage
will reverse to vbus side after remove usb cable.
so add a flag to enalbe aicl for some products.
Change-Id: Ide22d43546ffe8ad97b8179aede243f71fe1d246
Reviewed-on: https://gerrit.mot.com/2052603
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
2021-08-26 22:13:03 -05:00
liaohj
aae469fe31
touchu:gc7372 tp modify for charger test and gesture
...
add charger test and gesture driver code.
charger test defaut set false .
Change-Id: If5f5776ea9add55ee768a4800f2a3413aa223262
Signed-off-by: liaohj <liaohj@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2051575
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
2021-08-26 03:45:46 -05:00
a17671
c9837700df
usbnet:USBLAN Super speed plus support
...
Set the ssp_descriptors as ss_descriptors
in Moto USBLAN driver, otherwise
panic will be triggered when connected
With super speed plus supported PC
panic trace:
configfs-gadget gadget: super-speed-plus config #1 : b
configfs-gadget gadget: usbnet_set_alt intf: 1 alt: 0
configfs-gadget gadget: do_set_config ep ep2in
configfs-gadget gadget: config_ep_by_speed ep ep2in
Unable to handle kernel NULL pointer dereference at virtual address 0000000000000000
pstate: 60c00085 (nZCv daIf +PAN +UAO)
pc : config_ep_by_speed_and_alt+0x90/0x308
lr : config_ep_by_speed+0x14/0x20
sp : ffffffc0131f3980
x29: ffffffc0131f3990 x28: 0000000000000001
x27: 0000000000007fff x26: ffffffe13d3f3254
x25: ffffff81c041Montana0 x24: ffffff81c0504f00
x23: 0000000000000001 x22: ffffff81c07bf480
x21: 0000000000000001 x20: ffffff81c0504f00
x19: ffffff81c166ca00 x18: ffffffc012931080
x17: 0000000000000041 x16: ffffffe13d3e4b0c
x15: ffffffe13e0a9197 x14: 0000000000000050
x13: 0000000000001e06 x12: 00000000341555ac
x11: 00000000fffd4775 x10: 0000000000000000
x9 : 0000000000000001 x8 : ffffff81c0504f28
x7 : 0000000000000000 x6 : ffffffe13eb2592b
x5 : 0000000000000054 x4 : 0000000000000008
x3 : 0000000000000000 x2 : ffffff81d11d9e00
x1 : ffffff81c0504f00 x0 : ffffff81d11a93c8
Call trace:
config_ep_by_speed_and_alt+0x90/0x308
config_ep_by_speed+0x14/0x20
do_set_config+0x70/0x2f8 [moto_f_usbnet]
usbnet_set_alt+0x30/0x60 [moto_f_usbnet]
set_config+0x29c/0x56c
composite_setup+0x40c/0x188c
android_setup+0x11c/0x180
dwc3_ep0_set_config+0x548/0x830
dwc3_ep0_inspect_setup+0x234/0x334
dwc3_ep0_interrupt+0x98/0x338
dwc3_process_event_entry+0x144/0x678
dwc3_process_event_buf+0x68/0x580
dwc3_bh_work+0x64/0xf8
process_one_work+0x2cc/0x568
worker_thread+0x28c/0x518
kthread+0x160/0x170
ret_from_fork+0x10/0x18
Change-Id: I68c8309ad81a36c4c40657e62c45a6902a17dde6
Signed-off-by: a17671 <a17671@motorola.com>
Reviewed-on: https://gerrit.mot.com/2048201
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Yonghua Yan <yanyh2@motorola.com>
Reviewed-by: Yuecai Liu <liuyc20@motorola.com>
Reviewed-by: Ling Jin <lingjin@motorola.com>
Submit-Approved: Jira Key
2021-08-24 09:50:48 -05:00
wangyq13
720f1980f5
dlkm/wl2866d: disable avdd1 when device shutdown
...
Disable avdd1 when device shutdown for peripherals stability and
current leak issue.
Change-Id: I596899cff45f7da15a5339a122b47c7ad4e6fd01
Signed-off-by: wangyq13 <wangyq13@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2045126
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
2021-08-20 04:03:32 -05:00
tanhua1
50da0f843a
backlight: add aw99703 led boost configuration
...
support lm3697 led boost configuration
1. boost ovp
2. boost ocp
3. default brightness
Change-Id: Ia6254adad216153fdcd1d7f1d40b9eb68d828acd
Signed-off-by: tanhua1 <tanhua1@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2045770
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
2021-08-19 03:54:13 -05:00
chailu1
910fe173b5
charge: define pps charge min out current
...
sometimes allow min pps charge dapter out current is not
same as typec_middle_current,so define a variable for
pps charge adapter allow min out current.
Change-Id: I2f303ec5040b0effd451917e16fffe75bc5932b3
Reviewed-on: https://gerrit.mot.com/2045078
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-08-19 02:19:57 -05:00
chailu1
f5fc959565
charge: add limit main charge flag
...
add limit main charge fcc flag
avoid limit main charge fcc confusion.
Change-Id: Ib024f3d995760df77c17f710c5938b9f3776c177
Signed-off-by: chailu1 <chailu1@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2044854
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
2021-08-19 00:32:06 -05:00
liuyc20
24f7e469fa
DLKM: Update SD77426 driver
...
fix the DUT crash when insmod sd77426_fg_mmi.ko
splite the calcuate from bmulib.c
the rsense modify to 10
Change-Id: Id6a13b510fa66ebf6d56169a76708f797ef6af7d
Signed-off-by: liuyc20 <liuyc20@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2044031
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
2021-08-18 21:17:17 -05:00
Yan Zhang
9dd045ad16
: Add panel notification for egis rbs driver
...
Egis rbs:
Add panel notification for egis rbs driver to reduce nav mode
power consumption.
Change-Id: I9a6b4c5eb14d7b55eb72714521e3a821ddd6304a
Signed-off-by: Yan Zhang <zhangy26@motorola.com>
Reviewed-on: https://gerrit.mot.com/2042170
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Weilong Wu <wuwl10@motorola.com>
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
2021-08-18 03:02:58 -05:00
tanhua1
039f998573
regulator: fix aw37501 gki build error
...
fix aw37501 gki build error for
xpeng
Change-Id: Ied9009373b6c8cdb33728c1bb41855ddef6cf9b2
Signed-off-by: tanhua1 <tanhua1@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2043617
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
2021-08-17 03:53:10 -05:00
tanhua1
5af825bc74
regulator: add aw37501 lcd bias power driver
...
add aw37501 lcd bias power driver
module
Change-Id: Ib9da8057bf0026096809e1f54835778c296c19c1
Signed-off-by: tanhua1 <tanhua1@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2042517
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
2021-08-16 22:34:25 -05:00
chailu1
94c57f4137
pd: Add rt1715 driver initial version
...
PD/rt1715 initial sample code from Richtek
Change-Id: Ide34829746b768c5ed8e7bdd5efd3567d7dd7886
Reviewed-on: https://gerrit.mot.com/2038928
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Submit-Approved: Jira Key
2021-08-13 03:55:17 -05:00
wengjun1
ac23a64f12
Cypfq: dlkm: Gc7372 add enable/disable wake irq for single tap
...
- If we do not set the irq to wakeable, single tap to wake may not wake up the AP,
so add the corresponding change for fix this issue.
Change-Id: Ic44a6339d21c64e2d1ca456bc4e4f021aa11e2e7
Signed-off-by: wengjun1 <wengjun1@motorola.com>
Reviewed-on: https://gerrit.mot.com/2038950
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
2021-08-12 00:58:15 -05:00
litong20
f7b5112616
Support sensitivity mode function
...
TP:
1. Sensitivity mode off
1st finger filter 01, 2nd finger filter 03
C0 17 01 03
2. Sensitivity mode on
C0 17 00 00
Change-Id: I69f01316a3354650026a37af69ef27f88a5716a6
Reviewed-on: https://gerrit.mot.com/2033528
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
2021-08-11 22:11:54 -05:00
liuyc20
8a5368ff08
power: introduce sd77426 fuel gauge driver
...
introduce SD77426 Fuel gauge driver.
add makefile to build it to sd77426_fg_mmi.ko
Change-Id: I12b0084b1b04a91e60ed7fb90e4985da71b98a9a
Signed-off-by: liuyc20 <liuyc20@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2038654
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
2021-08-11 04:20:10 -05:00
liuyc20
e7dde5a895
power: add rt9426a driver
...
add rt9426a driver from richtek.
add makefile building driver to rt9426a_fg_mmi.ko
Change-Id: Idca4e40121b4293fd5e12240dc6036a81362e0b0
Signed-off-by: liuyc20 <liuyc20@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2037886
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
2021-08-11 04:19:58 -05:00
yanyh2
0be96993e6
add glink oem command to get LPD info
...
Add glink oem command to get LPD info so as to show
the LPD information in AP log.
Change-Id: Ib9ce1fb89d626cde0465179a216028bd8abbdd5f
Signed-off-by: yanyh2 <yanyh2@motorola.com>
Reviewed-on: https://gerrit.mot.com/2037809
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Jianqi Yang <yangj@motorola.com>
Submit-Approved: Jira Key
2021-08-11 00:45:57 -05:00
wangyq13
d7f95e4ccd
focaltech_v2_mmi: keep rst high when config only for IDC
...
focaltech_v2_mmi:
Keep rst high when gpio config only for IDC, because non-IDC will
reset later, call fts_reset_proc.
Change-Id: If09a888df649f235f298e7fc9c20d40517414ca7
Signed-off-by: wangyq13 <wangyq13@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2037778
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
2021-08-10 21:45:00 -05:00
wangxs8
fe6a6213c0
mmi_info: Increase the MAX_BL_BUILD_SIG
...
8450 platform bl build sig num is 17.
xbl_config.git will be lost if MAX_BL_BUILD_SIG isn't increased.
Change-Id: I03f1830bf62d824d6618ef533aaa149aa5991c9b
Signed-off-by: wangxs8 <wangxs8@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2037542
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Zhenxin Xi <xizx@motorola.com>
Submit-Approved: Jira Key
2021-08-10 06:45:27 -05:00
wengjun1
96303e9db4
Cypfq: dlkm: Add power off process for ili9882a
...
- Since now we having display/touch current drain issue when suspend,
so need to set rst pin to low when suspend and add reset process to
change rst pin to high when resume.
- For compatibility with other projects, add macro ILITEK_SUSPEND_PWROFF
to control this function.
Change-Id: Iab7d65adf820ccfdb4c3e50d7a5bdff624097694
Signed-off-by: wengjun1 <wengjun1@motorola.com>
Reviewed-on: https://gerrit.mot.com/2035322
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
2021-08-09 05:05:52 -05:00
litong20
d7e576198b
Update goodix berlin code to V1.1.21
...
TP:
Update goodix berlin driver code to V1.1.21.
Change-Id: I56ac06c10f7c3ea9bb3bf936fe8e791f8753740a
Reviewed-on: https://gerrit.mot.com/2027427
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Jichao Zou <zoujc@motorola.com>
Submit-Approved: Jira Key
2021-08-09 00:48:29 -05:00
mahj8
05c923e833
charge: notify mmi-smbcharger-iio while charge pump start working
...
when charge pump start working, notify mmi-smbcharger-iio side to
not control PD module.
Change-Id: I54c819a24e5f9f10c1dd45f2a87f1233d10465b3
Signed-off-by: mahj8 <mahj8@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2029169
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
2021-08-05 21:33:03 -05:00
mahj8
73d3ecefa0
charging: Add PD charging in DLKM
...
Add PD charging(include PPS/Fixed) policy in DLKM for single
charge path(only pmic charging)
refer to https://gerrit.mot.com/#/c/1847093/
Change-Id: I490a0628372626e43ec3c30af259ab5a97269927
Signed-off-by: mahj8 <mahj8@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2029015
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-08-05 20:59:59 -05:00
Konstantin Makariev
bcc68f6a8a
pct1812_mmi: firmware upgrade
...
Added code to support FW upgrade. This code has not been tested yet
Change-Id: I677f0cc6f722515681608581afc9bff650e8a46d
Signed-off-by: Konstantin Makariev <hcv867@motorola.com>
Reviewed-on: https://gerrit.mot.com/2010238
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Igor Kovalenko <igork@motorola.com>
Submit-Approved: Jira Key
2021-08-05 13:37:37 -05:00
Konstantin Makariev
67a83c3bef
pct1812_mmi: pct1812ff kernel driver
...
Kernel driver to support PixArt PCT1812FF touch IC
Change-Id: I017e5b2c34b8c833d1350494a621bf1b20b2f05d
Signed-off-by: Konstantin Makariev <hcv867@motorola.com>
Reviewed-on: https://gerrit.mot.com/1994779
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Igor Kovalenko <igork@motorola.com>
Submit-Approved: Jira Key
2021-08-05 13:37:28 -05:00
wengjun1
13f2a29179
Cypfq: dlkm: Add charger detection feature for ili9882a
...
- Add ILITEK_CHARGER for control if the charger detection
feature will be used.
- Get the charger status when bootup.
Change-Id: Id4990f4e26051c5e551eb998f2eae8b213513681
Signed-off-by: wengjun1 <wengjun1@motorola.com>
Reviewed-on: https://gerrit.mot.com/2032569
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
2021-08-05 00:17:52 -05:00
qianlong
9b51ad3de8
mmi_annotate: support minidump store
...
Support minidump feature, store annotate mem
into md_ANNOTATE.BIN.
Change-Id: I70cf17c9a965182b7b56ca45c20f64609a81c1af
Signed-off-by: qianlong <qianl2@motorola.com>
Reviewed-on: https://gerrit.mot.com/2031194
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Zhenxin Xi <xizx@motorola.com>
Submit-Approved: Jira Key
2021-08-04 06:42:39 -05:00
litong20
6f79fdf2ff
Support touch corner/edge suppression function.
...
TP:
Command: C0 1F Byte[0] Byte[1]
Byte[0] Device posture:
0x00 portrait(Default)
0x01 90 degrees right rotation
0x02 90 degrees left rotation
Byte[1] Suppression area
0x00 normal (0 pixel)(Default)
0x01 Small area suppression (R-200 quadrant Pixel)
0x02 Larger area suppression (R-250 quadrant Pixel)
Change-Id: I30334a49740a5fb36c4ff2108c93c059300a7484
Reviewed-on: https://gerrit.mot.com/2030537
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
2021-08-04 01:13:51 -05:00
wengjun1
6c02ec99b1
Cypfq: dlkm: Support single tap feature for gc7372
...
- Add support single tap feature for gcore_mmi.
- Add sensor class support for gcore_mmi.
Change-Id: I4b1680ccbf12c41356a82fab7e35c245c3b1adc4
Signed-off-by: wengjun1 <wengjun1@motorola.com>
Reviewed-on: https://gerrit.mot.com/2030592
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
2021-08-04 00:38:29 -05:00