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

Commit ad674dc8 authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "platform: qpnp-revid: Add REVID support for PM8008, SMB1355 and SMB1390"

parents 962f8aa3 c10c60d9
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -60,6 +60,9 @@ static const char *const pmic_names[] = {
	[PM6150_SUBTYPE] = "PM6150",
	[PM7250B_SUBTYPE] = "PM7250B",
	[PM6125_SUBTYPE] = "PM6125",
	[PM8008_SUBTYPE] = "PM8008",
	[SMB1355_SUBTYPE] = "SMB1355",
	[SMB1390_SUBTYPE] = "SMB1390",
};

struct revid_chip {
+6 −0
Original line number Diff line number Diff line
@@ -190,6 +190,9 @@
/* PMI632 */
#define PMI632_SUBTYPE	0x25

/* PM8008 SUBTYPE */
#define PM8008_SUBTYPE	0x2C

/* PMI8998 REV_ID */
#define PMI8998_V1P0_REV1	0x00
#define PMI8998_V1P0_REV2	0x00
@@ -306,6 +309,9 @@
/* PMI8937 */
#define PMI8937_SUBTYPE		0x37

/* SMB1390 */
#define SMB1390_SUBTYPE		0x23

/* SMB1381 */
#define SMB1381_SUBTYPE		0x17