psy: add DPDM operation ignore option

For special factory test, USB DP/DM may should not be
operated when VBUS status changed. So we will add
DP/DM operation ignore options in power supply property.

Change-Id: I226c02cf126ecae9308804334c1bdbfb933d7bac
Reviewed-on: https://gerrit.mot.com/2263246
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
This commit is contained in:
weiweij 2022-05-09 11:27:20 +08:00 • committed by Wei Wei
commit 58ea6b5c86

View file

@ -47,6 +47,8 @@ enum {
MMI_POWER_SUPPLY_DP_DM_UNKNOWN = 0,
MMI_POWER_SUPPLY_DP_DM_DP_PULSE = 1,
MMI_POWER_SUPPLY_DP_DM_DM_PULSE = 2,
MMI_POWER_SUPPLY_IGNORE_REQUEST_DPDM = 3,
MMI_POWER_SUPPLY_DONOT_IGNORE_REQUEST_DPDM = 4,
};
enum mmi_qc3p_power {