mahj8
110cccb3ac
charging: optimize code for discrete charging
...
all mmi power supply defined in mmi_discrete_power_supply.h
to remove discrete defined in many files.
Change-Id: I41c978961072f7aedf398df0984467d3d7d089b1
Signed-off-by: mahj8 <mahj8@motorola.com >
Reviewed-on: https://gerrit.mot.com/2261274
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Wei Wei <weiweij@motorola.com >
Reviewed-by: Lu Chai <chailu1@motorola.com >
Reviewed-by: Huosheng Liao <liaohs@motorola.com >
Submit-Approved: Jira Key
2022-05-08 20:40:01 -05:00
zhouwl
e08f4d31c1
changing: add sysfs PSY_IIO_TYPEC_ACCESSORY_MODE
...
Product without 3.5mm wired headset connector, uses USB type-c
analog audio switch chip FSA4480 to complete headset detction,
switch analog audio and usbc signals.
add PSY_IIO_TYPEC_ACCESSORY_MODE iio interface to inform USB PD
accessory detection reuslt to FSA4480.
Change-Id: Ibcf9d3f877f5fccb0d9e470b0757f79435080b5b
Signed-off-by: zhouwl <zhouwl@lenovo.com >
Reviewed-on: https://gerrit.mot.com/2234602
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Lu Chai <chailu1@motorola.com >
Reviewed-by: Haijian Ma <mahj8@motorola.com >
Reviewed-by: Hujun Liao <liaohj@motorola.com >
Submit-Approved: Jira Key
2022-04-06 01:49:07 -05:00
chailu1
bf8776fd3d
PD: Extend PD adapter class charge function
...
Extend PD adaper charge function for future PD IC
1. add pd idx select interface for config PDO
2. add MMI_PD_ALL for got all PDO info
Change-Id: Ic60270c3c4cf071044a50fdd56f546120ce7369c
Signed-off-by: chailu1 <chailu1@lenovo.com >
Reviewed-on: https://gerrit.mot.com/2115616
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Huosheng Liao <liaohs@motorola.com >
Submit-Approved: Jira Key
2021-11-23 04:55:32 -06:00
chailu1
28d310006b
charge: add chage&PD policy
...
charge/PD
add charge and PD policy
Change-Id: Id2c5c2347a57f33fd2ac95a298bf0c5544a8a037
Signed-off-by: chailu1 <chailu1@lenovo.com >
Reviewed-on: https://gerrit.mot.com/2110938
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Reviewed-by: Huosheng Liao <liaohs@motorola.com >
Tested-by: Jira Key
Submit-Approved: Jira Key
2021-11-23 04:55:15 -06:00
huaqin86
19c6a8b733
mmi_discrete_charger: modify enum redefined
...
change mmi_charger enum redefined
It has been redefined in kernel:
kernel/msm-4.19/include/linux/power_supply.h
Change-Id: I8c5c31f8e1b8e3c63df611f54361508fcb4e4e96
Reviewed-on: https://gerrit.mot.com/2110591
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Huosheng Liao <liaohs@motorola.com >
Submit-Approved: Jira Key
2021-11-09 08:37:18 -06:00
chailu1
0222c9e9e7
typeC: add iio interface for typeC mode
...
typec mode
add typeC mode iio interface to charge module
Change-Id: I73ed231e93588606c9dd34755759ae6e31e5af57
Signed-off-by: chailu1 <chailu1@lenovo.com >
Reviewed-on: https://gerrit.mot.com/2107389
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-11-08 20:08:42 -06:00
chailu1
0c1475fe19
pd: create pd adapter class
...
typec/pd
create pd adapter class
Change-Id: I9cda62e369a3de31e133ad433f2e7991de44b650
Signed-off-by: chailu1 <chailu1@lenovo.com >
Reviewed-on: https://gerrit.mot.com/2086813
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Huosheng Liao <liaohs@motorola.com >
Submit-Approved: Jira Key
2021-10-13 01:53:31 -05:00