power: qpnp-smbcharger-mmi: Disable PM660 JEITA

JEITA Hard Limit is getting in the way of MOTO Charging
Algorithm so disable it l(CR) other products do.  Should be safe
since it is the same changem as other products.

Change-Id: I63c7a2897ab5dbe498fad30def258a9b1d3d6a9f
Signed-off-by: Kenny Kessler <kenny.kessler@motorola.com>
Reviewed-on: https://gerrit.mot.com/1379724
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Ryan Lattrel <ryanl@motorola.com>
Reviewed-by: Cesar Augusto Marcelino dos Santos <cmsantos@motorola.com>
Reviewed-by: Kenneth Kessler <kennykessler@motorola.com>
Submit-Approved: Jira Key
This commit is contained in:
Kenny Kessler 2019-07-01 15:10:30 -05:00 • committed by Kenneth Kessler
commit 2a00b5a4da

View file

@ -3587,7 +3587,9 @@ static int smb_mmi_probe(struct platform_device *pdev)
}
if (chip->smb_version == PM8150B_SUBTYPE ||
chip->smb_version == PMI632_SUBTYPE) {
chip->smb_version == PMI632_SUBTYPE ||
chip->smb_version == PM660_SUBTYPE) {
mmi_err(chip, "DISABLE all QCOM JEITA\n");
/* Ensure SW JEITA is DISABLED */
pval.intval = 0;
power_supply_set_property(chip->qcom_psy,