Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5e3ca378 authored by Nicholas Troast's avatar Nicholas Troast
Browse files

power: qpnp-smbcharger: add support for PMI8996



Recognize the new PMIC subtype 0x13 as PMI8996.

Change-Id: If629f73695c16b966dcbbfec7fb5a93bc0f42265
Signed-off-by: default avatarNicholas Troast <ntroast@codeaurora.org>
parent cbd32df3
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -259,6 +259,7 @@ static char *version_str[] = {
enum pmic_subtype {
	PMI8994		= 10,
	PMI8950		= 17,
	PMI8996		= 19,
};

enum smbchg_wa {
@@ -6650,6 +6651,8 @@ static int smbchg_wa_config(struct smbchg_chip *chip)
					| SMBCHG_USB100_WA;
		}
		break;
	case PMI8996:
		break;
	default:
		pr_err("PMIC subtype %d not supported, WA flags not set\n",
				pmic_rev_id->pmic_subtype);