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

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

Merge "platform: qpnp-revid: Add REVID support for PM6125"

parents 0b298fa6 db9d9a9f
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -67,6 +67,7 @@ static const char *const pmic_names[] = {
	[PM6150_SUBTYPE] = "PM6150",
	[PM8150A_SUBTYPE] = "PM8150A",
	[PME9205_SUBTYPE] = "PME9205",
	[PM6125_SUBTYPE] = "PM6125",
};

struct revid_chip {
+9 −0
Original line number Diff line number Diff line
@@ -194,6 +194,9 @@
/* PME9205 SUBTYPE */
#define PME9205_SUBTYPE		0x24

/* PM6125 SUBTYPE */
#define PM6125_SUBTYPE		0x2D

/* PMI632 */
#define PMI632_SUBTYPE	0x25

@@ -306,6 +309,12 @@
#define PM6150_V2P0_REV3	0x00
#define PM6150_V2P0_REV4	0x02

/* PM6125_REV_ID */
#define PM6125_V1P0_REV1	0x00
#define PM6125_V1P0_REV2	0x00
#define PM6125_V1P0_REV3	0x00
#define PM6125_V1P0_REV4	0x01

/* PMI8998 FAB_ID */
#define PMI8998_FAB_ID_SMIC	0x11
#define PMI8998_FAB_ID_GF	0x30